Emacs在RHEL 5上的安装和使用

1. install latest emacs
xz -d emacs-24.3.tar.xz
tar xvf emacs-24.3.tar
./configure
make
make install #need root
2. install Steve Purcell's emacs config
git clone https://github.com/purcell/emacs.d.git
rm -rf .emacs.d/ emacs
mv emacs.d/ .emacs.d/
emacs # first time will download related module
3. increase/decrease font size
C-x C--
C-x C-+

4. hotkey

    C-v    Move forward one screenful
    M-v    Move backward one screenful
    C-l    Clear screen and redisplay all the text,
         moving the text around the cursor
         to the center of the screen.
    C-f    Move forward a character
    C-b    Move backward a character

    M-f    Move forward a word
    M-b    Move backward a word

    C-n    Move to next line
    C-p    Move to previous line

    C-a    Move to beginning of line
    C-e    Move to end of line

    M-a    Move back to beginning of sentence
    M-e    Move forward to end of sentence
    
    C-x C-b   List buffers
    C-x b TUTORIAL <Return> Swith buffer
    M-x kill-some-buffers
    C-x    Character eXtend.  Followed by one character.
    M-x    Named command eXtend.  Followed by a long name.

    C-x C-f        Find file
    C-x C-s        Save file
    C-x s        Save some buffers
    C-x C-b        List buffers
    C-x b        Switch buffer
    C-x C-c        Quit Emacs
    C-x 1        Delete all but one window
    C-x u        Undo

http://blog.csdn.net/redguardtoo/article/details/7222501


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值