Even without extra terminal setup this plugin will improve detection of some keys, but to get all keys to work chances are you'll have to configure your terminal.
Using pathogen (recommended).
a) Using source:
$ git clone https://github.com/powerman/vim-plugin-fixtermkeys.git ~/.vim/bundle/fixtermkeys/
b) Using .zip archive:
$ mkdir ~/.vim/bundle/fixtermkeys/
$ unzip fixtermkeys.zip -d ~/.vim/bundle/fixtermkeys/
c) Using .vmb vimball:
$ mkdir ~/.vim/bundle/fixtermkeys/
$ vi fixtermkeys.vmb
:UseVimball ~/.vim/bundle/fixtermkeys
Plain install without pathogen.
a) Using .zip archive:
$ unzip fixtermkeys.zip -d ~/.vim/
b) Using .vmb vimball:
$ vi fixtermkeys.vmb
:so %
If you have questions or remarks about this site, visit the
vimonline development pages.
Please use this site responsibly.
Questions about Vim should go
to the maillist.
Help Bram help Uganda.