debian/ubuntu 上安装和使用 Emacs

直接进行安装:

sudo apt update
sudo apt install emacs

在debian 9上安装的版本是emacs24,在ubuntu 18.04上安装的版本是emacs25,目前最新版是emacs26,如果想安装最新版,需要从源码编译安装:GNU Emacs download - GNU Project

安装完成后在命令行中输入emacs打开程序,界面如下:

File Edit Options Buffers Tools Help                                                                                                                                 
Welcome to GNU Emacs, one component of the GNU/Linux operating system.

Get help           C-h  (Hold down CTRL and press h)
Emacs manual       C-h r        Browse manuals     C-h i
Emacs tutorial     C-h t        Undo changes       C-x u
Buy manuals        C-h RET      Exit Emacs         C-x C-c
Activate menubar   M-`
(C-’ means use the CTRL key.M-’ means use the Meta (or Alt) key.
If you have no Meta key, you may instead type ESC followed by the character.)
Useful tasks:
Visit New File                  Open Home Directory
Customize Startup               Open *scratch* buffer

GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
 of 2017-09-22, modified by Debian
Copyright (C) 2017 Free Software Foundation, Inc.

GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details.
Emacs is Free Software--Free as in Freedom--so you can redistribute copies
of Emacs and modify it; type C-h C-c to see the conditions.
Type C-h C-o for information on getting the latest version.


-UUU:%%--F1  *GNU Emacs*    All L1     (Fundamental) ----------------------------------------------------------------------------------------------------------------
For information about GNU Emacs and the GNU system, type C-h C-a.

退出方法:先按ctrl+x然后按ctrl+c

F10打开File标签

后面的内容以后再写,暂时不想学了。

发布了543 篇原创文章 · 获赞 184 · 访问量 59万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览