Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problems in vim+terminal+bash on Mac OSX 10.9.2)
2. Mapping Problems
Here are mapping problems list(You can chose any of them to anwser).
My vim could not get some shortcuts:
In iTerm2 , hitting
<A-Left|... will result in(iTerm2 doesn't bind any shortcut for them.):
<A-Up> print 'A' with a sound alert. <A-Down> print 'B' with a sound alert. <A-Left> print 'D' with a sound alert. <A-Down> print 'C' with a sound alert.
<A-Left|... behave same as
<Left><Right><Up><Down> in insert mode , normal mode, visual mdoe and Ex Mode, etc. Could I map them
Some keys about
<D-char> are iTerms's own hotkeys, such as :
<D-q>will quit iTerm2
<D-w>will close current tab in iTerm2
On the other hand, the other keys such as
<D-s> are not hotkey, and do not print any char in vim and terminal. Is it possible to map them in vim?