fix tmux cursor
This commit is contained in:
parent
8633ae21d1
commit
e482ff71fd
|
@ -49,7 +49,7 @@ o.listchars = {
|
|||
vim.cmd [[
|
||||
augroup options_guicursor
|
||||
au!
|
||||
" Reset to underscore cursor for terminal nvim (https://github.com/neovim/neovim/issues/4867#issuecomment-291249173)
|
||||
" Reset to vertical cursor for terminal nvim (https://github.com/neovim/neovim/issues/4867#issuecomment-291249173)
|
||||
au VimLeave * set guicursor=a:ver90
|
||||
augroup END
|
||||
]]
|
||||
|
|
12
zsh/zshrc
12
zsh/zshrc
|
@ -18,4 +18,16 @@ alias tcat="/usr/bin/cat"
|
|||
|
||||
alias xsecurelock='XSECURELOCK_NO_COMPOSITE=1 XSECURELOCK_AUTH_BACKGROUND_COLOR=$color00 XSECURELOCK_AUTH_FOREGROUND_COLOR=$color07 xsecurelock'
|
||||
|
||||
function zle-keymap-select zle-line-init zle-line-finish
|
||||
{
|
||||
case $KEYMAP in
|
||||
vicmd) print -n '\033[1 q';; # block cursor
|
||||
viins|main) print -n '\033[5 q';; # line cursor
|
||||
esac
|
||||
}
|
||||
|
||||
zle -N zle-line-init
|
||||
zle -N zle-line-finish
|
||||
zle -N zle-keymap-select
|
||||
|
||||
source ~/.zshenv
|
||||
|
|
Loading…
Reference in New Issue
Block a user