wincent / terminus

🖥 Enhanced terminal integration for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor shape in gnome-terminal 3.6.2 doesn't work properly

dagolinuxoid opened this issue · comments

Hi there. It's a bummer to change cursor shape via adding these global lines to .vimrc file

" Change cursor shape: I use the old gnome-terminal v.3.6.2
au InsertEnter * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
au InsertLeave * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape block"

So I decided to give terminus a shot. First I added the plugin to my pluginlist

call plug#begin('~/.vim/plugged')
Plug 'wincent/terminus'
call plug#end()

Then installed it successfully via :PlugInstall
Unfortunately instead of changing a shape of a cursor on insert I got gibberish symbols (ugly unicode squares) so it's basically unusable.

I use VIM - Vi IMproved 8.1

It's because printenv TERM gives xterm and the needed features of terminus work in my xterm terminal (change of shape and auto reload).

I've googled about $TERM env variable and it looks like setting it to export TERM=gnome-terminal
in .bashrc config file isn't the way to go. Give me an advice of how to make terminus work in gnome as in xterm please.