aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-08-13 03:29:02 +0200
committerDaniel Hahler <git@thequod.de>2016-01-29 23:22:56 +0100
commit0e546d8b384098d704c13401731a93b926bcd22f (patch)
tree526ae88ba0dd86900d043d54218b3ffaf02e986d /man
parent4c960c3d78d9aaae77c469c91c88280c9f5efbf2 (diff)
downloadrneovim-0e546d8b384098d704c13401731a93b926bcd22f.tar.gz
rneovim-0e546d8b384098d704c13401731a93b926bcd22f.tar.bz2
rneovim-0e546d8b384098d704c13401731a93b926bcd22f.zip
Do not use TMUX_WRAP for DECSCUSR sequence
Wrapping it will send it to the terminal "directly", which might change the cursor of another pane, e.g. when starting Neovim and changing to another pane directly. tmux has a terminfo extension (Ss/Se) to handle and translate the DECSCUSR sequences internally. This can be controlled through `terminal-overrides`, but does not appear to be able to handle the uncommon sequences for Konsole.
Diffstat (limited to 'man')
-rw-r--r--man/nvim.120
1 files changed, 18 insertions, 2 deletions
diff --git a/man/nvim.1 b/man/nvim.1
index f9c4e24d0b..7e8cd5b809 100644
--- a/man/nvim.1
+++ b/man/nvim.1
@@ -1,4 +1,4 @@
-.Dd November 11, 2015
+.Dd January 28, 2016
.Dt NVIM 1
.Os
.Sh NAME
@@ -373,8 +373,24 @@ Used to set the 'shell' option, which determines the shell used by the
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 support the DECSCUSR CSI escape sequence.
+Requires that the host terminal supports the DECSCUSR CSI escape sequence.
Has no effect in GUIs.
+.Pp
+Depending on the terminal emulator, using this option with
+.Nm
+under
+.Xr tmux 1
+might require adding the following to
+.Pa ~/.tmux.conf :
+.Bd -literal -offset indent
+set -ga terminal-overrides ',*:Ss=\eE[%p1%d q:Se=\eE[2 q'
+.Ed
+.Pp
+See
+.Ic terminal-overrides
+in the
+.Xr tmux 1
+manual page for more information.
.It Ev NVIM_TUI_ENABLE_TRUE_COLOR
If defined, assume the host terminal supports 24 bit colors.
Has no effect in GUIs.