diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml index 42333430..f85b193a 100644 --- a/.config/yazi/keymap.toml +++ b/.config/yazi/keymap.toml @@ -38,8 +38,8 @@ prepend_keymap = [ { on = "!", run = 'shell "$SHELL" --block', desc = "Open shell here" }, # { on = "!", run = 'shell --block --interactive', desc = "Open shell here" }, { on = [ - "", - "d", + "", + # "d", ], run = 'shell -- dragon-drop -x -i -T "$1"', desc = "Drag and drop selection" }, { on = [ "g", diff --git a/.zshrc b/.zshrc index 0f95ed57..92d47b0b 100644 --- a/.zshrc +++ b/.zshrc @@ -131,14 +131,14 @@ function cat() { } # . /opt/asdf-vm/asdf.sh # Need this to fix the cursor in tmux -# print -n '\033[5 q' -# 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 -# } +print -n '\033[5 q' +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 +} # DISABLE_AUTO_TITLE="true" # function set_win_title() { # echo -ne "\033]0; ${PWD/#$HOME/~} \007"