back

by JNRowe·7y ago·view on hn ↗
I’ve been using tpope’s excellent unimpaired.vim¹ to handle toggling paste for me², but will probably switch as vim-bracketed-paste is automatic.

I only bring up unimpaired.vim as it provides a whole heap of neat mappings for other toggles you might be manually performing. Most of which follow a simple pattern that makes them easy to remember.

I don’t believe any other plugin has increased my productivity as much as unimpaired.vim. Popping up the doc to link to the YOPO note I’ve realised just how many of those next/previous bindings I use as muscle memory.

¹. https://github.com/tpope/vim-unimpaired.git

². https://github.com/tpope/vim-unimpaired/blob/master/doc/unim...

1 comments
Fantastic. This makes the following (very common) commands so much easier for me:

    :diffthis 
    :set [no]list
    :set [no]wrap
I know how to map shortcuts, but I never could bring myself to make them, because I've done that too many times in the past and end up with a mish-mash of private mappings that atrophy my vim skills in a way. Hope that makes sense.

But this plugin is super consistent internally. Great mnemonics. I don't mind coming to rely on it.

Thanks.

My solution to the atrophy thing is to keep my vim settings (and bash scripts aliases etc) on gitlab where they're always only one git clone away.
We are glad to hear that using GitLab helps you with your scripts and settings for vim. That's a really great approach.