diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-01-20 01:20:34 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-01-20 15:48:41 +0100 |
commit | ef753a76b95425e22638005f813cb2f22c6a0cfc (patch) | |
tree | 5e821b6e06848aa123931c191978833bd3a7e0d2 /man/nvim.1 | |
parent | 8684fdda3b831c3ee75c65f70e6c088762b0b63e (diff) | |
download | rneovim-ef753a76b95425e22638005f813cb2f22c6a0cfc.tar.gz rneovim-ef753a76b95425e22638005f813cb2f22c6a0cfc.tar.bz2 rneovim-ef753a76b95425e22638005f813cb2f22c6a0cfc.zip |
tui: Enable mode-sensitive cursor by default.
Also give NVIM_TUI_ENABLE_CURSOR_SHAPE more granularity:
0 = do not change cursor shape
1 = non-blinking ("steady") cursor with mode-sensitive shape
2 = blinking cursor with mode-sensitive shape
Note: blink state is not changed for Konsole, instead user's terminal
preference makes the decision. (Can't do that for xterm-likes, DECSCUSR
forces us to choose blink-state.)
This is a temporary step until the TUI respects 'guicursor'
Ref: https://github.com/neovim/neovim/issues/2583#issuecomment-272988384
Diffstat (limited to 'man/nvim.1')
-rw-r--r-- | man/nvim.1 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man/nvim.1 b/man/nvim.1 index 70bf480f2b..98d97c2d5a 100644 --- a/man/nvim.1 +++ b/man/nvim.1 @@ -372,9 +372,10 @@ Used to set the 'shell' option, which determines the shell used by the .Ic :terminal command. .It Ev NVIM_TUI_ENABLE_CURSOR_SHAPE -If defined, change the cursor shape to a vertical bar while in insert mode. -Requires that the host terminal supports the DECSCUSR CSI escape sequence. -Has no effect in GUIs. +Set to 0 to prevent Nvim from changing the cursor shape. +Set to 1 to enable non-blinking mode-sensitive cursor (this is the default). +Set to 2 to enable blinking mode-sensitive cursor. +Host terminal must support the DECSCUSR CSI escape sequence. .Pp Depending on the terminal emulator, using this option with .Nm |