vim shortcuts that i find central

Tom Harada - Dec 22 '19 - - Dev Community

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)>
Enter fullscreen mode Exit fullscreen mode

Til the Sun Dies:

fd -> escape
[In System Preferences, map] caps lock -> control
; -> :
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . .
Terabox Video Player