diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-03-25 19:07:20 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-03-25 19:07:20 +0300 |
commit | 10af684bcb10b903453fb6926e369694c402e248 (patch) | |
tree | 3b18d573a8788372655122c12f92e26febd80f50 /dotfiles/.config/zsh | |
parent | de7fcb3e45ae5da908ad1e8d1ef1fd77b15fe358 (diff) | |
download | swayrice-10af684bcb10b903453fb6926e369694c402e248.tar.gz swayrice-10af684bcb10b903453fb6926e369694c402e248.zip |
Small changes
* (Temporarily?) change underline cursor to block, as it is not very
convenient the way it is rendered in foot.
* Other changes.
Diffstat (limited to 'dotfiles/.config/zsh')
-rw-r--r-- | dotfiles/.config/zsh/.zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc index 66e7880..727bfe0 100644 --- a/dotfiles/.config/zsh/.zshrc +++ b/dotfiles/.config/zsh/.zshrc @@ -41,8 +41,8 @@ bindkey -v '^?' backward-delete-char # Change cursor shape for different vi modes. function zle-keymap-select { if [[ ${KEYMAP} == vicmd ]] || - [[ $1 = 'underscore' ]]; then - echo -ne '\e[3 q' + [[ $1 = 'underline' ]]; then + echo -ne '\e[1 q' elif [[ ${KEYMAP} == main ]] || [[ ${KEYMAP} == viins ]] || [[ ${KEYMAP} = '' ]] || |