These can be convenient if you are only entering text manually. But remapping regular -- albeit rare -- text sequences can have unexpected results when pasting copied content into insert mode in a terminal window. I've been bitten by this a couple times when pasting base64-encoded data.
This has caught me as well, but it can be avoided by using `:set paste!` to toggle paste mode before pasting. This isn't something I need to worry about often enough but you can map that command if pasting external content is something you do often.
Most terminals support bracketed paste, and vim can automatically toggle pastemode based on the special sequences.
Discovering this really changed Vim for me. That and remapping j and k to move over visual lines instead of logical lines.
What if you want to write "Dijkstra"?
That's why i use kj.
(Also: quaternions)
Then you wait one second after pressing j (until the timeout is over) and press k.
To be quite honest, that sounds terrible.
I don't think it's bad at all. I very rarely have to write 'jk', and using that combination saves me from having to either reach the escape key or having to use c-[. If the price I have to pay is waiting 0.5s (which is what I have the timeout configured to) once in a while, then I consider this a great tradeoff.
Caps Lock is one key, easier to type, and even more rarely used, though. I highly recommend it. =)
That's what I use too :). I also highly recommend it. I would strongly recommend binding either escape or ctrl to caps lock on every keyboard.
Or you press `<C-v>` before the `j`.
Then you need to switch to Dutch mode...
Personally that slows down normal usage of j too much for me.
It doesn't have an effect if you type a single `j`.
I've been using <leader><space> lately, with space as the leader key so just <space><space> really, it's worked well so far.