mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Update zsh comments
This commit is contained in:
parent
c75568133f
commit
b969d761f5
1 changed files with 4 additions and 0 deletions
|
|
@ -269,10 +269,14 @@ alias ll='ls -Al'
|
|||
|
||||
# 命令缩写
|
||||
alias x='xdg-open'
|
||||
|
||||
# 需要搭配我的neovim配置
|
||||
# https://github.com/rydesun/neovim-config/blob/master/init.vim#L5
|
||||
alias v="nvim -R --cmd 'let paging=v:true'" \
|
||||
&& compdef v=nvim # 使用neovim作为pager
|
||||
alias V="nvim -R --cmd 'let paging=v:true | let ansi=v:true'" \
|
||||
&& compdef V=nvim # 使用neovim作为pager,支持ANSI code
|
||||
|
||||
if (($_ENV_NVIM)); then
|
||||
alias e='nvr --remote-tab'
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue