mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-07-16 22:16:11 +08:00
Update kitty and zsh config: nvim termcat
This commit is contained in:
parent
c8bd293d7d
commit
3a14c8019f
2 changed files with 9 additions and 7 deletions
6
.zshrc
6
.zshrc
|
|
@ -317,12 +317,12 @@ d() {
|
|||
fi
|
||||
}
|
||||
|
||||
# 需要搭配我的neovim配置
|
||||
# https://github.com/rydesun/neovim-config/blob/master/init.lua#L3
|
||||
# 需要搭配neovim配置
|
||||
# https://github.com/rydesun/neovim-config/blob/master/init.lua#L4
|
||||
# 使用neovim作为pager
|
||||
alias v="nvim -R --cmd 'let paging=1'"
|
||||
# 使用neovim作为pager,支持ANSI code
|
||||
alias V="nvim -R --cmd 'let paging=1 | let ansi=1'"
|
||||
alias V="sh -c \"exec nvim 63<&0 </dev/null --cmd 'let termcat=63'\""
|
||||
|
||||
### 与kitty集成
|
||||
if ((Z_ENV_KITTY)); then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue