drmikehenry / vim-fixkey

https://github.com/drmikehenry/
125 stars 10 forks source link

Modifiy $TERM detection for screen with bce setting enabled #1

Closed AguirreIF closed 11 years ago

AguirreIF commented 11 years ago

Thanks for this plugin, it works great!

But using screen with bce enabled yields TERM to screen-256color-bce, so I just modified plugin/fixkey.vim to detect this:

elseif $TERM =~# '^screen\(-\d*color\(-bce\)\?\)\?$'
drmikehenry commented 11 years ago

I'm glad it's working for you. I hadn't known about the BCE features of screen; thanks for letting me know. On Fedora, I had to install ncurses-term to acquire the extra terminfo definitions. I've added -bce and -s as additional sub-variants so that TERM=screen-256color-bce-s will work as well.