1. ctrl+a : go to the beginning of a line
ctrl+e: go to the end of a line
ctrl+p: downward of a line
ctrl+n: upward of a line
ctrl+b:backward of a character
ctrl+f: forward of a character
alt+b: backward of a word
alt+f: forward of a word
2. ctrl+y: yank back last thing killed
ctrl+k: kill the forward line
powerful use
3. select another buffer : ctrl-x b
list all buffers : ctrl-x ctrl-b
kill a buffer: ctrl-x, k
4. Ctrl-x ctrl-w: write buffer to a specified file : like save as
ctrl-x ctrl-v: replace this file with the file you really want
ctrl-x, ctrl-f : read a file into emacs
ctrl-x, ctrl-s: save a file back to disk
No comments:
Post a Comment