XEmacs Short Cuts

Send comments to Tomás Aragón (aragon@medepi.net).

Buffer

C-x k

kill current buffer

C-x 0

delete current window

C-x 1

delete all windows except current window

C-x 2

split window vertically

C-x 3

split window horizontally

Copy/Paste region

C-space bar

Marks set for highlighting a region

M-w, C-Ins

copy highlighted region

C-y, Shift-Ins

pastes previously cut or copied region

Cut (Copied)/Paste

C-k

cut to end of line

M-d, M-Del

cut forward to end of word

M-k

cut forward to end of "sentence"

C-w

cut highlighted region

C-y, Shift-Ins

pastes previously cut or copied region

Delete

C-Del

cut highlighted region

C-d

delete character

Directory

C-x d

open directory

Exiting

C-z

suspend (shrink window)

C-x C-c

save and exit

M-F4

exit

File

C-x f

open file

C-x C-v

kill current buffer and open alternate file

C-x i

insert file into buffer

Macro

C-x (

start recording macro - do edit, then ...

C-x )

stop recording macro, then

C-x e

execute macro

C-u <n> C-x e

executes macro <n> times

C-<n> C- C-x e

executes macro times

Moving around

C-p

previous line

C-n

next line

C-a

beginning of line

C-e

end of line

M-a

beginning of "sentence"

M-e

end of "sentence"

M-f, C-[Right arrow]

forward one word

M-b, C-[Left arrow]

backward one word

C-[Up arrow]

move up 6 lines

C-[Down arrow]

move down 6 lines

M-<

top of buffer

M->

bottom of buffer

M-x goto-char RET <n> RET

go to nth character

M-x goto-line RET <n> RET

go to nth line

M-x what-line RET

indicate current line

C-u <n> <cmd> RET

repeats <cmd> <n> times

Rectangle

C-x r k

cut rectangle region

C-x r y

paste rectangle region

C-x r c

clear rectangle region

C-x r o

open rectangle region

C-x r t

prefix rectangle region

Replace

M-%, Esc-%, Esc %

Query replace

C-M-%

Query replace regexp

Search

C-s

Search forward

C-r

Search backward

C-s C-s ...

Repeat last forward search

C-s C-r ...

Repeat last backward search

Return

End search

Undo changes

C-x u

undo changes


This web page created using the freely available, M$-free, OpenOffice.org (http://www.openoffice.org)