Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dagolinuxoid opened this issue Nov 17, 2019 · 2 comments
Open

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

dagolinuxoid opened this issue Nov 17, 2019 · 2 comments

Comments

@dagolinuxoid
Copy link

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

@dagolinuxoid
Copy link
Author

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

@dagolinuxoid
Copy link
Author

dagolinuxoid commented Nov 17, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant