vim shortcuts that i find central
Tom Harada
Posted on December 22, 2019
This is my first post. I always wanted to write a blog post about the vim key-mappings and general approaches that I use that I've found super useful over the years. I tend to make them work wherever there is vim or vim-emulation (Vimium / Chrome, VSVim / VS Code, IdeaVim / IntelliJ, XVim2 / Xcode, tmux integration, Codepen, etc.).
Till I Die:
ctrl-hjkl -> ctrl-w hjkl with tmux integration
gd -> go to definition (e.g., using ALE; i haven't cleaned this up for all languages)
ctrl-o -> jump back
ctrl-i -> jump forward
. -> repeat command
qa...q -> macros
<format on save (e.g., using prettier, black)>
Til the Sun Dies:
fd -> escape
[In System Preferences, map] caps lock -> control
; -> :
💖 💪 🙅 🚩
Tom Harada
Posted on December 22, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.