edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

add switch window binding #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>What steps will reproduce the problem?
Open two or three MacVim windows

>>What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?
snapshot 51 for snowleopard

>>Please provide any additional information below.
like in issue 156 i would like to be able to switch among different windows
of macvim, in a behaviour similar to the terminal.
Since cmd + arrows keys are reserved for line beginning/end we could add a
shift or a alt modifier to the binding,

Original issue reported on code.google.com by vittorio...@gmail.com on 20 Dec 2009 at 9:39

GoogleCodeExporter commented 9 years ago
Add these lines to ~/.gvimrc (_not_ ~/.vimrc):

map <D-]> :maca _cycleWindows:<CR>
map <D-[> :maca _cycleWindowsBackwards:<CR>

You can of course change from Cmd+] and Cmd+[ to some other keys.

If you have more problems please bring it up on the vim_mac mailing list.  This 
page is only for reporting bugs.

Original comment by bjorn.winckler@gmail.com on 23 Dec 2009 at 5:01