tpope / vim-unimpaired

unimpaired.vim: Pairs of handy bracket mappings
https://www.vim.org/scripts/script.php?script_id=1590
3.32k stars 205 forks source link

feature request: toggle mouse support, toggle folding #119

Open dkrieger opened 7 years ago

dkrieger commented 7 years ago

I've added some lines in my .vimrc to allow toggling mouse support and foldenable, using 'm' and 'z' respectively. Would you rather keep the feature set as it currently stands, or should I write a pull request?

kiryph commented 7 years ago

Note, there is a vim builtin mapping zi to invert foldenable.


I guess you have to convice tpope to add toggling mouse support. Writing a PR would make it more likely, but in this case I doubt that he will merge it. It depends on whether he uses it or many users are interested it. He already did not merge pull requests for colorcolumn (co|) #121 and syntax (coy) #114. There are also similar feature requests for shellslash (co\) #70, menu (com) #72, expandtab (coe) #140 and #139 (colorcolumn coC, foldcolumn coF, incsearch coI). I use myself toggle conceal (coe) which I have added to my fork of unimpaired.