I was one of those vim users that was stuck on MacVim for years because my brain was too wired to hitting "cmd-s" for save and other dedicated app niceties. I mean, sure I can :w or bind it to another key, but there are a couple shared OS-level shortcuts like this I just like to retain. No worry, iTerm2 can capture ANYTHING, and rebind it as needed. This means I have a few remaps like "cmd-s" in iterm2 to map to obsc…
For example, I use these kinds of mappings:
nmap
nmap
nmap
nmap
nmap
nmap
nmap
nmap :CtrlP pwd
nmap :CtrlPBufTag
nmap :CtrlPMRUFiles
This way, when on a Mac I can use cmd in place of ctrl for various commands I use all the time that are less convenient with ctrl.In my .gvimrc, I added the following to make sure that cmd-p and cmd-l don't get incercepted: "Disable the print key for MacVim" if has("gui_macvim") macmenu &File.Print key= macmenu &Tools.List\ Errors key= "macmenu &MacVim.Hide\ MacVim key= set macligatures endif
If there's any possible way to accomplish the same with iTerm, I'd give it another try!