MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/vim/comments/f7na5d/lensvim_a_vim_automatic_window_resizing_plugin/ficqs2g/?context=3
r/vim • u/metanat • Feb 22 '20
48 comments sorted by
View all comments
2
Damn this was something that I always needed but never knew. There should also be a toggle that can disable this function easily if needed.
1 u/metanat Feb 23 '20 You can now run lens#toggle() to disable 1 u/tassulin Feb 25 '20 Hi! Thanks this plugin is awesome. Especially with the animatino. Yet I havent figured out how to run the toggle command.I tried:lens#toggle()as vim command but its just giving me that its not editor command. 1 u/metanat Feb 25 '20 :call lens#toggle() 1 u/metanat Feb 22 '20 Thanks for the suggestion! You can set let g:lens#disabled = 1, but it would be nice to provide a toggle function too.
1
You can now run lens#toggle() to disable
lens#toggle()
1 u/tassulin Feb 25 '20 Hi! Thanks this plugin is awesome. Especially with the animatino. Yet I havent figured out how to run the toggle command.I tried:lens#toggle()as vim command but its just giving me that its not editor command. 1 u/metanat Feb 25 '20 :call lens#toggle()
Hi! Thanks this plugin is awesome. Especially with the animatino. Yet I havent figured out how to run the toggle command.
I tried
:lens#toggle()
as vim command but its just giving me that its not editor command.
1 u/metanat Feb 25 '20 :call lens#toggle()
:call lens#toggle()
Thanks for the suggestion! You can set let g:lens#disabled = 1, but it would be nice to provide a toggle function too.
let g:lens#disabled = 1
2
u/tassulin Feb 22 '20
Damn this was something that I always needed but never knew. There should also be a toggle that can disable this function easily if needed.