guillermooo / Vintageous

Vi/Vim emulation for Sublime Text 3
http://guillermooo.bitbucket.org/Vintageous/
Other
1.64k stars 115 forks source link

Allow .vintageousrc to map any keybinds #1068

Closed mreq closed 3 years ago

mreq commented 8 years ago

It'd be nice if we were able to perform a custom-bound shortcut

Say I'd like to trigger a command, which is bound to ["ctrl+g", "s"] in sublime keymaps. To remap that via .vintageousrc one'd write:

map <Leader>gs <C-g>s

I can do something similar using the leader key (space in my case) in the actual sublime keymaps, but that breaks vintageous a bit (for instance movement towards space (f" ") doesn't work, etc.).