4 ms·
And this is why I read vim threads. I've been using vim for years, yet didn't know about ^O, ^I, ^E, ^Y or ^^. That last in particular is going to be a big hel
by dghf 10y ago
And this is why I read vim threads. I've been using vim for years, yet didn't know about ^O, ^I, ^E, ^Y or ^^.
That last in particular is going to be a big help. No more `:e #` for me!
- maskros 10y agoWhile doling out vim tips, here are two quality of life improvements you can add to your .vimrc: nmap ; : set grepprg=git\ grep\ -n nmap <F7> :cp<CR> nmap <F8> :cn<CR>
- dghf 10y agoAh, I'm one of those weirdos who actually uses ; (and ,). Though I guess I could noremap ; : noremap : ; But that might take muscle memory too much time to adapt. (And would it break plugins?) I've already got F7 and F8 mapped, but I'll hunt out a spare key(sequence) for the mappings you suggest.