Here are a few emacs and terminal tricks I picked up today.
C- means hold down control and press the next letter. Example C-x means hold down control and press x.
M- means press and release ESC and press the next letter. Example M-x means press ESC then press x. Also on some systems holding down ALT will work also.
For the mac users, ALT=OPTION.
Terminal:
Lock your command prompt: C-s
Unlock your command prompt: C-q
Minimize emacs: C-z (from within emacs)
Restore emacs: fg (type fg into command promt)
Emacs:
Split window horizontally: C-x 2
Split window vertically: C-x 3
Merge back to single window: C-x 1
Close current buffer: C-x 4 0
Open a file in a new window: C-x 4 f filename
More to come later.
No comments:
Post a Comment