jszakmeister / vim-togglecursor

Toggle the cursor shape in the terminal for Vim.
http://www.vim.org/scripts/script.php?script_id=4403
119 stars 20 forks source link

adding suppor for gnome-terminal #5

Closed ajkaanbal closed 10 years ago

jck commented 10 years ago

VTE is getting xterm cursor shape escape sequences soon, so this might be unnecessary.

jszakmeister commented 10 years ago

Thanks @ajkaanbal but I looked at doing this very thing when I first wrote vim-togglecursor. Unfortunately, gnome's settings are a bit too global and end up affecting all your terminals, and I'm never too keen on shelling out to the command line (there can be lots of different failure paths, so the error handling needs to be awfully robust).

As @jck said, VTE is getting DECSCUSR support soon, so the need to take this kind of approach is diminishing. I really wish gnome-terminal didn't lag so much behind everything else. :-(