sponsor Vim development Vim logo Vim Book Ad

togglecursor : Changes cursor shape in supported terminals.

 script karma  Rating 37/14, Downloaded by 2845  Comments, bugs, improvements  Vim wiki

created by
John Szakmeister
 
script type
utility
 
description
This plugin aims to provide the ability to change the cursor when entering Vim's
insert mode on terminals that support it.  Currently, that's limited to iTerm,
Konsole, XTerm, and VTE-based terminals (version v0.39 or higher).
 
install details
Unzip into ``~/.vim`` (or ``%USERPROFILE%\vimfiles`` on Windows).  You may also
install it under pathogen by extracting it into it's own directory under
``bundle``, such as ``~/.vim/bundle/vim-togglecursor``.

The latest version can be obtained from:
    https://github.com/jszakmeister/vim-togglecursor
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
togglecursor-0.6.0.zip 0.6.0 2024-10-31 7.3 John Szakmeister Added support for WezTerm and kitty.  Changed tmux escaping to default to off as tmux has long worked correctly out-of-the-box.  Dropped support for g:togglecursor_disable_neovim as it's no longer necessary.
togglecursor-0.5.1.zip 0.5.1 2016-12-23 7.3 John Szakmeister Now supports OS X's native Terminal.app in Sierra or better.
togglecursor-0.5.0.zip 0.5.0 2015-08-19 7.3 John Szakmeister Default to blinking forms of the cursors to match gvim's behavior.  This also adds support for setting NVIM_TUI_ENABLE_CURSOR_SHAPE under Neovim, and VTE3 support (thanks Keerthan Jaic), the ability to force a particular kind of escape sequence, and the ability to skip t_ti initialization if your terminal is having issues (mainly VTE 0.40.2-based ones).
togglecursor-0.3.0.zip 0.3.0 2014-12-05 7.3 John Szakmeister Recognize Konsole via TERM_PROGRAM, and replace mode support.
togglecursor-0.2.0.zip 0.2.0 2014-02-03 7.3 John Szakmeister Adds support for blinking cursors, and a uses a line cursor by default on xterms that support it.

Thanks to Keerthan Jaic for the patches!
togglecursor-0.1.1.zip 0.1.1 2013-08-05 7.3 John Szakmeister Fixed wrong variable name is documentation for disabling the plugin, and added one more way of detecting iTerm2.
togglecursor.zip 0.1.0 2013-01-20 7.3 John Szakmeister Initial upload
ip used for rating: 18.97.14.85

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github