码迷,mamicode.com
首页 > 系统相关 > 详细

emacs自己的总结问题笔记

时间:2015-09-19 06:11:18      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:

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

emacs自己的总结问题笔记

标签:

原文地址:http://www.cnblogs.com/htmlphp/p/4820802.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!