Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 2.52 KB

changed-keybindings.org

File metadata and controls

40 lines (35 loc) · 2.52 KB

Custom keybindings in my configuration

Global keybindings:

KeybindingFunctionDescription
C-hdelete-backward-charBash uses this key like that
M-hbackward-kill-wordThis is supposed to be similar to M-d
C-?help-commandmoved C-h
C-x C-hmark-paragraphmoved M-h

C-c keybindings:

KeybindingFunctionDescription
C-c TABmy-indent-bufferJust like in web-mode
C-c ffind-file-at-pointConvenience
C-c llhttpd
C-c yyas-expandExplicit command for yasnippet
C-c wmy-delete-trailing-whitespace-bufferStrips traiilng whitespace from current buffer

org-mode:

KeybindingFunctionDescription
M-hbackward-kill-wordfor consistency
C-x C-horg-mark-element
M-F/B/N/Porg-meta*I don’t like arrow keys
C-M-F/B/N/Porg-shiftmeta*
M-n/porg-*-paragraph

nxml-mode:

KeybindingFunctionDescription
M-hbackward-kill-wordfor consistency
C-x C-hnxml-mark-word

js2-mode:

KeybindingFunctionDescription
C-M-;my-js2-comment-blockinserts a comment block that looks /* like this */
C-c C-umy-js2-unicode-escape-regionescapes non-ASCII characters in region
C-c C-njs2-next-errorjumps to the next error