5 ms·
I remapped ; a long time ago (to ":", because I can't be bothered to hold down the shift key) because I rarely need to repeat a t/T/f/F motion. I typically alre
by function_seven 12y ago
I remapped ; a long time ago (to ":", because I can't be bothered to hold down the shift key) because I rarely need to repeat a t/T/f/F motion. I typically already know how many times I need to invoke it (and use "3f)" for example), or I use a quick "/" followed by a couple of letters in the word I want to jump to.
- hrjet 12y agoThat's a great idea; never thought of it before. The only worry is that it is not going to work on remote systems out of the box, confusing my muscle memory.
- function_seven 12y agoYeah that's true. I have a lot of remappings and shortcuts in my vimrc file, and I struggle a bit when I'm using vanilla vim on another server. Thankfully, I'm usually able to snyc my ~/.vim/ and ~/.vimrc files to that machine if I'll be using it for more than just a one-off. But it is frustrating otherwise.
- e12e 12y agoThe main thing I've yet to figure out wrt vim is good keybindings with a Norwgian key layout. We have ø where ; lives, æ in place of ', no single (non-shift ) [ and ] due to å. and a composing accent/single/back quote. Loosing three full keys to actual letters is a though break ;) I know a lot of people simply switch to a US layout, but it's not really a great solution when freq uently also typing in Norwegian.
- swift 12y agoThat's exactly what I do and I find it to be a great improvement over the stock bindings. I also bind "q;" to behave like "q:". Unlike others in this thread, though, I do find the original behavior of ";" useful occasionally. I bind that behavior to ";;", which is still quite fast to type whenever I do need it.