The neovim
plugin provides some functions and aliases for neovim
, nvim-qt
and neovide
.
To use it, add neovim
to plugins array in your ~/.bashrc
or ~/.zshrc
file:
export SF_PLUGINS=(... neovim)
Alias | Command |
---|---|
nvCf | cd ~/.config/nvim; ${SF_EDITOR} . |
nvnorc | nvim -u NORC |
nv
: Executesnvim
with flags setted inSF_NV_FLAGS_FILES
andSF_NV_FLAGS_CUR_FOLDER
variables.nvq
: Executesnvim-qt
with flags setted inSF_NV_FLAGS_FILES
andSF_NV_FLAGS_CUR_FOLDER
.nvqNb
: Same as executesnvq
, but it does not block your terminal.nvd
: Executesneovide
with flags setted inSF_NV_FLAGS_FILES
andSF_NV_FLAGS_CUR_FOLDER
.
SF_NV_FLAGS_FILES
: Flags passed to functionsnv
,nvq
,nvqNb
andnvd
when receive files as arguments.SF_NV_FLAGS_CUR_FOLDER
: Flags passed to functionsnv
,nvq
,nvqNb
andnvd
when receive current folder (.
) or nothing as argument.