免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1258 | 回复: 0
打印 上一主题 下一主题

Emacs Beginner's Howto [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-27 10:32 |只看该作者 |倒序浏览

Emacs Beginers's Howto
笔记
Terminoloyg of Emacs
buffers: A copy of the file that is currently in memory, or the result of a command.
point: lives the space between characters on in the buffer.
cussor: the visual representation of the pointe.
windows: an area of the screen in which a buffer is displayed.
frames: a separate X window in which an Emacs buffer is displayed.
Keyboard Basics    Only need to master the basics to get a lot of work done.
   
    All "command keystrokes" in Emacs are actually just shortcuts to functions which are pare of Emacs.
    M-x function-name == keyboard shortcut.
    M-x save-buffer== C-x C-s.
Command keys(Meta Esc Control Alt)
   
    Emacs makes heavy use of multi-key combination. C--Ctrl, M--Meta(Esc or Atl)
    Find help for commands in Emacs:  M-x apropos or C-h a.
Moving Around in a Buffer
    C-p    up on line(up)               
    C-n    down one line(down)
    C-f     forward one character(left)
    C-b    backward one character(right)
    C-a    beginning of line
    C-e    end of line
    C-v    down one page
    M-v    up on page
    M-f      forward one word
    M-b    backward one word
    M-    end of buffer
    C-g      quit current operation
Essential Commands
   
    C-x C-s     save-buffer                Save the current buffer to disk
    C-x u        undo                          Undo the last operation
    C-x C-f     find-file                      Open a file from disk
    C-s           isearch-forward          Search forward for a string
    C-r           isearch-backward        Search backward for a string
                    replace-string             Search & replace for a string
                    replace-regexp           Search & replace using regexp
    C-h t         help-with-tutorial        Use the interactive tutorial
    C-h f         describe-function        Display help for a function
    C-h v        describe-variable        Display help for a variable
    C-h x        describe-key              Display what a key sequence does
    C-h a        apropos                     Search help for string/regexp
    C-h F        view-emacs-FAQ         Display the Emacs FAQ
    C-h i         info                           Read the Emacs documentation
    C-x r m     bookmark-set            Set a bookmark. Useful in searches
    C-x r b      bookmark-jump         Jump to a bookmark.
Tab Completion
    Command completions in bash was modeled after that in Emacs.
    So...


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12391/showart_63657.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP