Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
But today, I found the plugin vim-arpeggio, it maps key chords, i.e., keys pressed (seemingly) simultaneously. I tried it out and omg, it solves everything. No longer do I need to wait for timeoutlen, no longer do I miss a k at the end of word: jk and kj only triggers when pressed simultaneously, and I don't have to set timeoutlen insanely short.
Then I came across better-escape.vim, a very recent plugin that does exactly what I want. With core implementation of less than 100 lines of vimscript, it is much more reasonable. People who have better things to do would probably stop here and be content with this perfectly good plugin, but not me. Although the plugin gets the job done, it essentially accomplishes a one-line functionality that is imap jk . For such a simple functionality like this, we really shouldn't be relying on plugins. I want something ultra-simple, something ultra-compact, something that can be put directly into your .vimrc.
Related posts
- My nvim is slow for some keys, and it's too annoying
- I want to create a custom binding to get me into Normal mode that doesn't involve Ctrl or Esc. DistroTube on YouTube said he remapped hitting "i" twice to do this. Do you guys have any other suggestions?
- Mapping to avoid stretching hand to reach underscore
- Setting Up Razor Support in Neovim for Enhanced C# Development
- Background highlight opacity?