2
I am frustrated with key mapping issues.
On my Linux box, if I type Home/End in Vim, then the cursor actually moves to the beginning/end of the line. On my Mac when I am on TextEdit, if I do Fn + Left or Fn + Right, it takes me to beginning/end of the line.
But if I am on Vim on my Mac terminal, then the same key combinations don't work. Why? I see online all the different cryptic settings that I have to paste in .vimrc to make this work, but I can't find any explanation for those cryptic map, imap settings.
What is the underlying issue here, and how can I fix it?
Thanks!
I don't use Vim or Mac, but if your Vim configuration includes keybindings (such as Home,End,etc.), you will need to make sure that inputs from both types of terminal are accounted for. Running just
cat
(Ctrl-C to terminate) and typing the key combinations might help you in viewing the differences in how both terminals see the keys. – bitflips – 2013-11-05T06:16:50.057