mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-27 15:25:01 +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
|
|
@ -9,6 +9,9 @@ enable_audio_bell no
|
|||
# 不在系统窗口上报警
|
||||
window_alert_on_bell no
|
||||
|
||||
# 下划线位置
|
||||
modify_font underline_position 100
|
||||
|
||||
# Unicode PUA使用Nerd font,会覆盖来自其他字体的字形
|
||||
symbol_map U+E000-U+F8FF Symbols Nerd Font
|
||||
# }}}
|
||||
|
|
@ -17,10 +20,9 @@ symbol_map U+E000-U+F8FF Symbols Nerd Font
|
|||
# 可回滚的行数,原始值为2000
|
||||
scrollback_lines 20000
|
||||
|
||||
# 使用nvim作为pager
|
||||
# 需要搭配我的neovim配置
|
||||
# https://github.com/rydesun/neovim-config/blob/master/init.lua#L3
|
||||
scrollback_pager nvim -R --cmd "let paging=1 | let ansi=1"
|
||||
# 使用nvim作为pager,需要搭配neovim配置
|
||||
# https://github.com/rydesun/neovim-config/blob/master/init.lua#L4
|
||||
scrollback_pager sh -c "exec nvim 63<&0 </dev/null --cmd 'let termcat=63'"
|
||||
# }}}
|
||||
|
||||
# {{{ 按键
|
||||
|
|
|
|||
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