菜单

基本命令,5上的安装和使用

2019年9月11日 - 4166m金沙
  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
    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

1。key

c-x 1 关闭其它窗口
c-u 8 其它命令 重复8次
c-d 删除一个字符
m-d 删除一个字
C-k Kill from the cursor position to end of line
M-k Kill to the end of the current sentence
c-h k 其它命令 查帮助
c-h m to see how Text mode differs from Fundamental mode
4166m金沙,c-k 剪切
c-y 粘贴
m-y 还原

    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

 C for CTRL, M for meta,(ESC for MAC, Alt for others ).

C-x C-b List buffers
C-x Character eXtend. Followed by one character.
M-x Named command eXtend. Followed by a long name

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

 C-A means that you press key CTRL ,and press key A at the same time..
M-x is the same.

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
c-s 搜索
c-r 反向搜索

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

2。 Cursor Moving.

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

C-f, Move forwad a character

    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-b, move backward a character

    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

M-f, move forward a word

. 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 Purcells emacs config git clone

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 to beginning of sentence

相关文章

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图