aboutsummaryrefslogtreecommitdiff
path: root/man/nvim.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/nvim.1')
-rw-r--r--man/nvim.139
1 files changed, 26 insertions, 13 deletions
diff --git a/man/nvim.1 b/man/nvim.1
index 5e109c3145..2fa3ab8ff5 100644
--- a/man/nvim.1
+++ b/man/nvim.1
@@ -1,4 +1,4 @@
-.Dd October 27, 2015
+.Dd January 28, 2016
.Dt NVIM 1
.Os
.Sh NAME
@@ -75,7 +75,7 @@ Can be used to edit files starting with a hyphen
.Pq Sq - .
.It Fl -literal
Interpret filenames literally, that is, do not expand wildcards.
-Has no effect on UNIX-like systems, where the shell expands wildcards.
+Has no effect on Unix-like systems, where the shell expands wildcards.
.It Fl e
Ex mode.
See
@@ -173,19 +173,19 @@ See
.It Fl L Op Ar file
Alias for
.Fl r .
-.It Fl u Ar nvimrc
+.It Fl u Ar vimrc
Use
-.Ar nvimrc
+.Ar vimrc
instead of the default of
.Pa ~/.config/nvim/init.vim .
If
-.Ar nvimrc
+.Ar vimrc
is
.Cm NORC ,
do not load any initialization files (excluding plugins),
and do not attempt to parse environment variables.
If
-.Ar nvimrc
+.Ar vimrc
is
.Cm NONE ,
loading plugins is also skipped.
@@ -278,7 +278,7 @@ Like
.Fl c ,
but execute
.Ar command
-before processing any nvimrc.
+before processing any vimrc.
Up to 10 instances of these can be used independently from instances of
.Fl c .
.It Fl S Op Ar session
@@ -373,11 +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.
-Has no effect in GUIs.
-.It Ev NVIM_TUI_ENABLE_TRUE_COLOR
-If defined, assume the host terminal supports 24 bit colors.
+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.
.El
.Sh FILES
.Bl -tag -width "~/.config/nvim/init.vim"
@@ -395,11 +408,11 @@ configuration directory.
See
.Ev XDG_CONFIG_HOME
above.
-.It Pa /etc/nvim/nvimrc
+.It Pa $VIM/sysinit.vim
The system-global
.Nm
configuration file.
-.It Pa /usr/share/nvim
+.It Pa /usr/local/share/nvim
The system-global
.Nm
runtime directory.