Setup Vim to work with Terminator terminal emulator
When I tried to use excellent terminal emulator Terminator to edit a file with Vim on remote server, I got strange errors.
Vim wouldn’t use syntax highlighting, had other glitches and output warning message at start-up:
E558: Terminal entry not found in terminfo 'terminator' not known. Available builtin terminals are: builtin_riscos builtin_amiga builtin_beos-ansi builtin_ansi builtin_pcansi builtin_win32 builtin_vt320 builtin_vt52 builtin_xterm builtin_iris-ansi builtin_debug builtin_dumb defaulting to 'ansi'
After googling a bit I found a solution in the FAQ of Terminator.
To cut a long story short, here’s how to fix it (just copy your .terminfo to remote machine):
scp -r ~/.terminfo remote_username@remote_hostname:~/
After doing that, all the problems should be gone.