Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.32 KB

emacs.org

File metadata and controls

40 lines (33 loc) · 1.32 KB

daemon模式启动下的字体配置

echo "Emacs.font: Consolas-12" >> ~/.Xdefaults
xrdb -merge ~/.Xdefaults

ggtags mode

keymeaning
<M-*>go back(like C-t in Vim)
<M-.>go to definition(like C-] in Vim

shell打开zsh出现比较怪的字符解决方法:

添加如下至 .zshrc

if [[ $TERM = dumb ]]; then
   unset zle_bracketed_paste
fi

build emacs on centos 7

yum install gnutls-devel.x86_64 ncurses-devel.x86_64 info.x86_64 texinfo.x86_64 libX11-devel.x86_64 libXaw-devel.x86_64 openjpeg-devel.x86_64 libpng-devel.x86_64 giflib-devel.x86_64 libtiff-devel.x86_64 turbojpeg-devel.x86_64 libjpeg-turbo-devel.x86_64

recompile

#https://stackoverflow.com/questions/1217180/how-do-i-byte-compile-everything-in-my-emacs-d-directory
C-u 0 M-x byte-recompile-directory
# will compile all the .el files in the directory and in all subdirectories below.
# The C-u 0 part is to make it not ask about every .el file that does not have a .elc counterpart.

quote

Emacs is like a brain, at maximum you can only utilize about 10% of its real power :)

更多emacs介绍,请参考 https://github.com/rongyi/emacs-book