The tables below are a list of the Emacs default key bindings.
The default binding are provided by calling the function default-emacs-init from your emacsinit.ml file. The default emacsinit.ml shipped with emacs calls default-emacs-init.
This is the same information as displayed by the describe-bindings function.
Binding |
Function |
Binding |
Function |
---|---|---|---|
up | previous-line | ctrl-up | scroll-one-line-up |
down | next-line | ctrl-down | scroll-one-line-down |
right | forward-character | ctrl-right | forward-word |
left | backward-character | ctrl-left | backward-word |
home | PC-home-key | ctrl-home | beginning-of-file |
insert | Toggle replace-mode | shift-insert | UI-edit-paste |
ctrl-insert | UI-edit-copy | ||
delete | delete-next-character | shift-delete | PC-edit-cut |
ctrl-delete | delete-next-word | ||
end | end-of-line | ctrl-end | end-of-file |
page-up | previous-page | ctrl-page-up | beginning-of-window |
page-down | next-page | ctrl-page-down | end-of-window |
Binding |
Function |
Binding |
Function |
---|---|---|---|
f1 | help |
Binding |
Function |
Binding |
Function |
---|---|---|---|
mouse-wheel-pos | Scroll the buffer down 3 lines at a time | ctrl-mouse-wheel-pos | Scroll the buffer up 3 lines at a time |
mouse-wheel-neg | Scroll the buffer up 3 lines at a time | ctrl-mouse-wheel-neg | Scroll the buffer up 1 page at a time |
Binding |
Function |
Binding |
Function |
---|---|---|---|
^@ | set-mark | ^A | Select the whole buffer |
^B | switch-to-buffer | ^C | UI-edit-copy |
^D | delete-next-character | ^E | end-of-line |
^F | incremental-search | ^G | interrupt-key |
^H | delete-previous-character | ^I | tab-key |
^J | newline-and-indent | ^K | kill-to-end-of-line |
^L | see ctrl-l table | ^M | newline |
^N | next-line | ^O | visit-file |
^P | previous-line | ^Q | quote-character |
^R | reverse-incremental-search | ^S | write-current-file |
^T | transpose-characters | ^U | argument-prefix |
^V | UI-edit-paste | ^W | dabbrev |
^X | see ctrl-x table | ^Y | yank-from-killbuffer |
^Z | new-undo | ESC | See Esc table |
^_ | help-key | BKSP | delete-previous-character |
What happens when ^X is typed changes if text is highlighted. If text is highlighted ^X will cut the text into the paste buffer, using UI-edit-cut. Otherwise ^X acts as prefix for the commands in the following table.
Binding |
Function |
Binding |
Function |
---|---|---|---|
^X-^@ | unset-mark | ^X-^B | list-buffers |
^X-^C | exit-emacs | ^X-^D | describe-word-in-buffer |
^X-^E | compile-it | ^X-^F | write-file-exit |
^X-^I | insert-file | ^X-^M | write-modified-files |
^X-^N | next-error | ^X-^O | use-old-buffer |
^X-^R | read-file | ^X-^S | write-current-file |
^X-^U | new-undo | ^X-^V | visit-file |
^X-^W | write-named-file | ^X-^X | exchange-dot-and-mark |
^X-^Z | shrink-window | ^X-! | execute-monitor-command |
^X-( | start-remembering | ^X-) | stop-remembering |
^X-1 | delete-other-windows | ^X-2 | split-current-window |
^X-3 | split-current-window-vertically | ^X-= | what-cursor-position |
^X-? | apropos-variable | ^X-b | switch-to-buffer |
^X-d | delete-window | ^X-e | execute-keyboard-macro |
^X-n | next-window | ^X-p | previous-window |
^X-z | enlarge-window |
Binding |
Function |
Binding |
Function |
---|---|---|---|
^L-^B | buffer-dired | ^L-^D | list-databases |
^L-^L | redraw-display | ^L-^P | list-processes |
Binding |
Function |
Binding |
Function |
---|---|---|---|
ESC-^C | exit-emacs | ESC-^D | debug |
ESC-^I | tab-delete | ESC-^V | page-next-window |
ESC-^W | delete-region-to-buffer | ESC-^Y | yank-buffer |
ESC-ESC | minibuf | ESC-! | line-to-top-of-window |
ESC-( | backward-paragraph | ESC-) | forward-paragraph |
ESC-, | beginning-of-window | ESC-- | meta-minus |
ESC-. | end-of-window | ESC-0..ESC-9 | meta-digit |
ESC-< | beginning-of-file | ESC-> | end-of-file |
ESC-? | apropos | ESC-@ | column-to-left-of-window |
ESC-C | case-capitalize | ESC-^ | case-word-invert |
ESC-a | backward-sentence | ESC-b | backward-word |
ESC-d | delete-next-word | ESC-e | forward-sentence |
ESC-f | forward-word | ESC-g | goto-line |
ESC-h | delete-previous-word | ESC-i | case-invert |
ESC-j | indent-C-procedure | ESC-l | case-lower |
ESC-q | query-replace-string | ESC-r | replace-string |
ESC-u | case-upper | ESC-v | previous-page |
ESC-x | execute-extended-command | ESC-z | scroll-one-line-down |