문서 편집에 필요한 기본 명령어들을 정리
notepad++ 이나 free commander를 사용하지 않을 만큼 추가 정리 필요
c: ctrl key
m: alt key or esc key
------------------------------------------------------------------------------
move
c-f: right
c-b: left
c-n: down
c-p: up
c-a: first of the current line
c-e: last of the current line
m-f: forward by word
m-e: back by word
c-v: forward page
m-v: back page
m-<: buffer="" first="" of="" p="">m->: last of buffer
save: c-x c-s
save as: c-x c-w
replace text: m-% (condition: y, n, !(total))
regexp search: esc c-s (forward)
regexp search: esc c-r (back)
------------------------------------------------------------------------------
window
c-x 1: remain only current window
c-x 2: split window horizontal
c-x 3: split window vertical
------------------------------------------------------------------------------
edit
c-x tab: indent current region
c-o: insert blank line after the cursor
c-shift-@: set mark
m-w: copy
c-y: paste
c-w: cut
c-shift-_: undo
c-u nubmer: repeat number time
c-g: cancel current command
c-x k: kill current buffer
------------------------------------------------------------------------------
select rectangle region
1. m-x cua-mode
2. c-return
3. move (using arrow keys or emacs move keys )
4. copy, cut, paste( c-x, c-c, c-v or emacs command keys)
------------------------------------------------------------------------------
mode
m-x column-number-mode: show column number
m-x cua-mode
------------------------------------------------------------------------------
dired mode
c-x c-f: open file
c-x d: open directory
p: up
n: down
C: copy
D: delete
m: set mark
u: disable mark
U: disable all mark