I read emacs build-in tutorial. It's basic but enough to start. There is a comprehensive manual from GNU emacs official website.
For starting, it's just different commands to vi or other editors. Just remember it.
^g reset emacs commands in case of hanging
^a / ^e move to the beginning or end of the line
ESC-< / ESC-> move to the beginning or end of the file
^k kill from cursor position to end of line
^
^w cut
ESC w copy
^y yank it back or paste
^s search or search again
^r reverse search or reverse search again
ESC % replace (type 'y' to confirm replacement)
No [RET]
^x ^f open a file
^x ^s save current buffer
^x ^c exit
^x ^b list all buffers
^x u or ^_ undo
^u 8
^x 1 / 2 / o get rid of all other windows / split current window into two /switch to another window
All these commands work for both windows and Linux.
No comments:
Post a Comment