mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Fix zsh in nvim
This commit is contained in:
parent
62528f95e1
commit
7883d6d2d2
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ alias v="nvim -R --cmd 'let \$NVIM_AS_PAGER=1'" \
|
|||
&& compdef v=nvim # 使用neovim作为pager
|
||||
alias V="nvim -R --cmd 'let \$NVIM_AS_COLORFUL_PAGER=1'" \
|
||||
&& compdef V=nvim # 使用neovim作为pager,支持ANSI code
|
||||
if [[ -e $_ENV_NVIM ]]; then
|
||||
if (($_ENV_NVIM)); then
|
||||
alias e='nvr --remote-tab'
|
||||
else
|
||||
alias e='nvim' && compdef e=nvim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue