Open vnikk opened 7 years ago
+1 on this!
In cvim this is possible:
:map X :execute xgT
for example will create a mapping which will close the current tab and display the tab which is to the left of the closed tab instead of the right tab. Vimperator has such a keybinding by default which I find very useful. I'm currently experimenting with Vimium and Cvim in Chrome in anticipation of the WebExtension-era in Firefox and so far this is one thing I miss in Vimium (and Vimium seems to be the most likely candidate to replace Vimperator in the WebExtension-only Firefox world...)
That would be a real power of Vim: map a sequence of commands to some keys. For example, to yank a word and paste into google translate:
map zt enterVisualMode y createTab https://translate.google.com/?q=%s#auto/en/
Presumably there needs to be a better support for yank commands and buffer for the%s
part.