2010-11-13

EMACS

HELP:
C-h mcurent mode info
C-h kkey bind info
C-h asearch function
MAIN:
C-x C-cexit
C-/undo
[space] C-/redo
C-x C-bbuffer list
C-g | Esc Esc Esckeyboard quit
C-x bswitch between buffers
C-x C-wsave buffer as
C-x C-fopen file
C-u [nr] [arg]repeat argument [nr] times, default 4 times
SEARCH:
C-ssearch forward
C-rsearch backward
M-%find and repleace
BUFFERS:
C-x C-ssave all buffers
C-x ssave current buffer
C-x kkill buffer
C-x C-bshow buffer menu
BUFFER MENU:
dkill buffer
ssave buffer
xperform previously requested deletions and saves
uundo save and kill
%read only flag
*modify flag
qquit buffer menu
oopen buffer in another window
WINDOWS:
C-x 2horizontal window
C-x 3vertical window
C-x 0remove current window
C-x 1remove all other windows
C-x ochange window
C-x ^taller window
C-x }wider window
EDIT:
C-[space]select
C-[space] [space]unselect
M-wcopy the previously selected
C-wcut the previously selected
C-ypaste
C-a C-kdelete line
C-kdelete from cursor to the end of line
C-h bhelp key bindings
M-;comment/uncomment
M-g ggo to line
C-x r t [string]insert vertical column
C-x kkill region
Alt ;insert comment
C-x r tinsert character at every match line
C-x r kdelete first rectangle at match line(match upto next line field to delete)
INDENT:
C-u [num | -num] C-x [tab]indent previous selected region [num] of lines, minus means indent left
OTHER MODE:
M-x diredfile manager mode
M-x python-modepython mode