1.设置Ctrl与Caps键位映射
# vim ~/.xprofile
setxkbmap -option ctrl:swapcaps
2.emacs基本操作
打开emacs,使用C-h t组合键打开教程查看
3.emacs换源
# vim ~/.emacs.d/init.el
;;如果emacs版本大于26,则使用下面软件源
(when (>= emacs-major-version 26)
(require 'package)
(package-initialize)
(setq package-archives '(("gnu" . "http://elpa.emacs-china.org/gnu/")
("melpa" . "http://elpa.emacs-china.org/melpa/")
("org" . "http://elpa.emacs-china.org/org/")
("marmalade" . "http://elpa.emacs-china.org/marmalade/")
("user42" . "http://elpa.emacs-china.org/user42/"))))
4.emacs关闭创建文件显示以下字符
;;This buffer is for text that is not saved, and for Lisp evaluation.
;;To create a file, visit it with <open> and enter text in its buffer.
在init.el中添加
(setq initial-scratch-message "")