MacVim Quicktip: Tab switching with Command-[0-9]
Up until now, I've been wondering how to bind Command hotkeys in MacVim. The answer is <D-foo>.
So, because I simply love Cmd-[0-9] and Cmd-Shift-Right/Left in my Terminal and browser, here's how to bind these in MacVim:
noremap <D-1> 1gt noremap <D-2> 2gt noremap <D-3> 3gt noremap <D-4> 4gt noremap <D-5> 5gt noremap <D-6> 6gt noremap <D-7> 7gt noremap <D-8> 8gt noremap <D-9> 9gt noremap <D-9> 10gt noremap <D-S-right> gt noremap <D-S-left> gT
Comments
Posted by: sarah §
Tävla om en mobil på min blogg ;)
