Skip to content

Latest commit

 

History

History
166 lines (139 loc) · 8.77 KB

ocodo-custom-bindings.md

File metadata and controls

166 lines (139 loc) · 8.77 KB

Ocodo's Emacs Key Bindings.

Customized key bindings for the global-key-map

General

Key(s) Command keymap
C-x f Ag Global
C-x / Align regexp Global
C-% Anzu query replace Global
C-M-% Anzu query replace regexp Global
s-& Comint run Global
C-⮐ Cua rectangle mark mode Global
C-? Cua rectangle which key help Global
C-( Decrement number at point Global
s-w Delete frame Global
s-↓ Duplicate current line or region Global
s-↑ Duplicate current line or region up Global
C-c q e Edit server start Global
C-c ] Embrace commander Global
C-x x . Er expand region Global
C-c s-e Eval and replace Global
C-c l e i Eval print last sexp Global
s-o Find file Global
M-s-g g Google this Global
M-s-g n Google this noconfirm Global
s-/ Hippie expand Global
C-c l h Hl line mode Global
s-B Ibuffer Global
C-c ; Iedit mode Global
C-) Increment number at point Global
s-b Ivy switch buffer Global
C-M-^ Join line from below Global
s-q Kill emacs Global
s-k Kill this buffer Global
M-O Macos open in default program Global
M-` Magit Global
s-→ Next buffer Global
s-` Other frame Global
s-← Previous buffer Global
s-t Projectile find file Global
s-U Revert buffer instant Global
s-s Save buffer Global
s-| Shell command on region replace Global
s-T Treemacs Global
C-c f w Write region Global
s-y Yank from kill ring Global
M-z Zap up to char Global

Markdown Soma

Key(s) Command keymap
C-c S s Markdown soma mode Markdown mode map
C-c S r Markdown soma restart Markdown mode map
C-c S b Markdown soma select builtin css Markdown mode map
C-c S c Markdown soma select css file Markdown mode map
C-c S h Markdown soma select highlight theme Markdown mode map

Smart Parens

Key(s) Command keymap
C-c r ↓ Sp backward barf sexp Global
C-c r → Sp forward barf sexp Global
C-c r . Sp join sexp Global
C-c r ← Sp slurp hybrid sexp Global
C-c r / Sp split sexp Global

Text Transforms

Key(s) Command keymap
C-c t t - Dasherise at point or region Global
C-c t t / Decimal to hex at point or region Global
C-c t t . Hex to decimal at point or region Global
C-c t t h Humanize at point or region Global
C-c t t l Lower camelcase at point or region Global
C-c t t _ Snake case at point or region Global
C-c t t s Time to seconds at point or region Global
C-c t t t Titleized at point or region Global
C-c t t u Upper camelcase at point or region Global
C-c t t U Url encode string at point Global

Auto Snippet

Key(s) Command keymap
C-c C-a s Aya create Global
C-c C-a d Aya delete from history Global
C-c C-a e Aya expand Global
C-c C-a SPC Aya expand from history Global
C-c C-a n Aya next in history Global
C-c C-a w Aya persist snippet from history Global
C-c C-a p Aya previous in history Global

Ruby

Key(s) Command keymap
C-c l e d Ruby send block Ruby mode map
C-c l e b Ruby send buffer Ruby mode map
C-c l e r Ruby send region Ruby mode map

Swiper

Key(s) Command keymap
C-c s w Swiper Global
C-c s a Swiper all Global

Git

Key(s) Command keymap
C-x v ← b Vc browse at remote homepage Global
C-x v ← g Vc gutter hydra body Global
C-x v ← s Vc smerge hydra body Global

Color

Key(s) Command keymap
C-c k c Kurecolor cssrgb at point or region to hex Global
C-c k h r Kurecolor hexcolor at point or region to css rgb Global
C-c k h a Kurecolor hexcolor at point or region to css rgba Global
C-c k x Kurecolor xcode color literal at point or region to hex rgb Global
C-c k X Kurecolor xcode color literal at point or region to hex rgba Global
C-c k H Rgb kurecolor hydra body Global
C-c k s Search for nearest hex color Global

Dired

Key(s) Command keymap
M-o Dired osx open this file Dired mode map

ERT Testing

Key(s) Command keymap
C-c / c Ert delete all tests Emacs lisp mode map
C-c / b Ert eval buffer run all tests Emacs lisp mode map
C-c / l Ert load file run all tests Emacs lisp mode map
C-c / / Ert run all tests Emacs lisp mode map
C-c / t Ert run tests interactively Emacs lisp mode map

Debugging

Key(s) Command keymap
C-x X d y Edebug defun Global
C-x X d n Edebug remove instrumentation Global

Windows

Key(s) Command keymap
s-5 Balance windows area Global
s-1 Delete other windows Global
s-0 Delete window Global
s-' Other window Global
s-2 Split window below Global
s-3 Split window right Global
s-4 Toggle window split Global