xolox / vim-notes

Easy note taking in Vim
http://peterodding.com/code/vim/notes/
1.6k stars 110 forks source link

Possibility to toggle notes_smart_quotes #51

Open svenXY opened 11 years ago

svenXY commented 11 years ago

It would be cool if one could disable the smart replacement stuff with a keystroke, then re-enable it again afterwards.

Point is: I often paste some commandline history into vim by using the mouse and lots of things are replaced on the fly.

I like this replacement for "normal" text, but not for commandline listings.

I understand that g:notes_smart_quotes must be set/unset even before the plugin loads and the abbrev rules are then persistent.

Can the whole plugin somehow reloaded (thus making a keybinding that will unset/set the variable and reload the plugin) or can these mappings be set/unset on the fly (i.e. when setting the variable intermittendly?

Thanks and cheers, Sven