diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-17 22:46:39 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-17 22:46:39 -0500 |
commit | 78d5e2082554d370f43216406f84872eaa2a4e5b (patch) | |
tree | fc354e842111062c057484cbb319e02037404975 /zsh/zscripts/vicursor.zsh | |
parent | 75793a911de3648963385c70237fc737f1967e9d (diff) | |
download | dotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.tar.xz dotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.zip |
remove zsh and nvim configs from this repo and move to another
Diffstat (limited to 'zsh/zscripts/vicursor.zsh')
-rwxr-xr-x | zsh/zscripts/vicursor.zsh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/zsh/zscripts/vicursor.zsh b/zsh/zscripts/vicursor.zsh deleted file mode 100755 index 3e4320d..0000000 --- a/zsh/zscripts/vicursor.zsh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env zsh - -# Change cursor shape for different vi modes -# Copied from LARBS -if [ -n "$DISPLAY" ]; then - function zle-keymap-select () { - case $KEYMAP in - vicmd) echo -n '\e[1 q';; # block - viins|main) echo -n '\e[5 q';; # beam - esac - } - zle -N zle-keymap-select - zle-line-init() { - #zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere) - echo -n "\e[5 q" - } - zle -N zle-line-init - echo -n '\e[5 q' # Use beam shape cursor on startup - preexec() { echo -n '\e[5 q' ;} # Use beam shape cursor for each new prompt -fi - |