标签:
1.By default, the prefix keys in Emacs are:
C-c, C-h, C-x, C-x RET, C-x @, C-x a, C-x n, C-x r, C-x v, C-x 4, C-x 5, C-x 6,
ESC, M-g, and M-o. (F1 and F2 are aliases for C-h and C-x 6).
C-x ^ Enlarge-window >> M-x shrink-window
C-M v >> C-M Shift v
C-v >> M-v
load-file (load >> list >> buffer >> bookmark >>
M-x speedbar Very useful
kill-buffer >> speedbar
2. Shortcut and commands
C-x:
C-f >> C-s >> C-w >> C-v >> i
b >> C-b >> k >> C-z >> C-c
find-file >> save-buffer >> write-file >> find-alternate-file >> insert-file >>
switch-buffer >> list-buffers >> kill-buffer >> suspend-emacs >> kill-emacs
M-u >> C-x C-u >> upcase-region
M-l >> C-x C-l >> downcase-region
M-c
C-t >> M-t >> C-x C-t >> transpose lines
C-s >> C-r >> C-g >> search-foreword >> search-backward >> replace-string
C-x C-h See the C-x help
3. Bookmark commands and how to use it.
C-x r m >> bookmark-set
C-x r b >> bookmark-jump
C-x r l >> list-bookmarks
3. Search and replace [reg?]
uppercase and downcase search both. Now I want to search downcase only.
C-s C-s >> C-s C-r
C-r
C-w
C-g
C-s M-p (M-n)
4. Select
C-x h
C-Shift+a/e f/b p/n
M-Shift+a/e
C-Space >> mark set >> C-x C-x
标签:
原文地址:http://www.cnblogs.com/htmlphp/p/4820802.html