[Vimprobable-users] Map one key to several commands?
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Marcos C. <vim...@pr...> - 2012-11-05 02:11:41
|
Hi, I realized full screen mode needs three commands: set statusbar=false set inputbox=false set scrollbars=false Several key maps are needed to get it, depending on the default values of those settings. That's not a big problem. But maybe several commands could be chained in one key map? For example: map X=:set statusbar=false && :set inputbox=false && :set scrollbars=false Or: map X=:set statusbar=false map X+=:set inputbox=false map X+=:set scrollbars=false This feature could be useful to de/activate a whole set of preferences with one key map. Just an idea. Marcos -- http://programandala.net |