User Tools

Site Tools


emacs

Emacs

Emacs is a text editor in title. But really, it's a Lisp-powered virtual machine you can do cool stuff with, including (but not limited to) editing text! After learning the key motions, you will never go back, if you're like me at least. Run C-h t in GNU Emacs for its tutorial, it's better.

Built-in features

Keybinds

Motions

IMPORTANT: These work in Bash too

  • C-a Move to beginning of a line.
  • C-e Move to the end of a line.
  • M-f Move 1 word forwards.
  • M-b Move 1 word backwards.

Opening a file

C-x f and then enter the path to the file

Cancel a command/function

C-x g

Tramp

To edit a file over SSH, FTP, or others: /ssh:user@host:/path/to/file

Discussion

Enter your comment. Wiki syntax is allowed:
 
emacs.txt ยท Last modified: by xmpub