emacs的一些资料

一个emacs的站点,请直接访问这里:Xah’s Emacs Tutorial 很有用的tips,比如 “How To Make Emacs Use Modern User Interface ”, 让你的emacs和常用编辑器更像一些,对于初学者很有用, 下面给出目录: General Tips Emacs Basics Emacs Intermediate How To Make Emacs Use Modern User Interface Emacs and MS Windows Tips Emacs Advanced Tips Emacs Less-known Tips New Features in Emacs 23 Fun Things To Do With Emacs General Tasks Emacs and Unicode Tips Emacs and HTML Tips Emacs and Unix Tips File Management with Emacs Specific Tasks Find and Replace with Emacs FIND → REPLACE Interactively Find and Replace String Patterns on Multiple Files Rename Files by a Text Pattern Emacs Regex Emacs Keyboarding Emacs’s Keyboard Shortcut Layout Defining Your Own Keyboard Shortcuts A Ergonomic Keyboard Shortcut Layout Why Emacs’s Keyboard Shortcuts Are Painful How To Avoid The Emacs Pinky Problem General Emacs Tips Where to get JavaScript, PHP, Visual Basic, … How To Install Emacs Packages Long Term Emacs Productivity Tips Emacs Modernization ...

November 19, 2009 · notsobad

emacs vs vi

emacs与vi的对比 我习惯用vi,但一直想尝试下emacs,屡次失败 vi下的常用的几个操作,然后找出emacs对应操作就会简单的多了 VI EMACS -- ----- Right one column k ^f Right one word w Esc,f Left one word b Esc,b Next sentence ) Esc,e Previous sentence ( Esc,a Save file :w ^x,^s Delete paragraph d} Esc,x,kill-p[TAB],[RET] Edit a new file :ename ^x,^f,name RegEx search for "foo" /foo Esc,^sfoo Repeat search n ^s,[RET] Exit :q or QQ ^x,^c Save and Exit :x ^x,^s,^x,k,[RET] Repeat last search n ^s,[RET] Paste from clipboard p ^y Delete 7 lines 7dd ^a,Esc,7,^k Undo u ^x,u or ^/ Change a letter to "x" rx ^d,x Go to line 6 :6[RET] Esc,<,Esc,5,^n ..or 6G Esc,x,goto-l[TAB][RET],6[RET] 另外和bash里面的几个快捷键一样: 到行首:^a 到行尾:^e 删除行: ^k 粘贴:^y undo: ^x u 参考: http://www.grok2.com/vi-emacs.html http://www.io.com/~dierdorf/emacsvi.html <http://www.cs.rutgers.edu/LCSR- Computing/some-docs/emacs-chart.html> http://www.wlindley.com/gnu/vi.htm ...

June 8, 2009 · notsobad