Samuel Wright wrote:
Guys,
Thanks for the response!

Albie, yes I was talking about split windows. not vim tabs or windows apps...

Tony, thanks for reminding me of :map to check what a mapping does.
Yes, it was mapped in an obscure corner of my vimrc, that will teach
me to cut and paste 'useful' stuff into my vimrc without checking it
out completely first.

The :wincmd also worked fine, so I could conceivable remap that if I wanted...

THANKS!
S


In general, the safest keys to use for the {lhs} (left-hand side) of mappings are the F keys. Almost everything else already has a function in Vim. Among the F keys, F1 is equivalent to ":help<CR>" and F10 is used by some OSes as a synonym of Alt-Space, but the rest you can use -- if Vim sees them. (On my Linux system, the window manager preempts Ctrl-Fn and Alt-Fn so I'm mostly limited to Fn and Shift-Fn).


Best regards,
Tony.
--
"Hit any key to continue" is a lie.

Reply via email to