diff options
Diffstat (limited to '.zsh_functions')
-rw-r--r-- | .zsh_functions | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.zsh_functions b/.zsh_functions index abda777..1d7cc9a 100644 --- a/.zsh_functions +++ b/.zsh_functions @@ -56,3 +56,8 @@ function shufflevideos () { find $@ -type f -iregex ".*\.\(avi\|flv\|mkv\|mpeg\|mpg\|wmv\|wva\|mp4\|webm\|wva\|m4v\|ogm\|mp4\|mov\)" -exec mpv --shuffle $MPVOPTS \{\} + } +function zle-line-init zle-keymap-select { + RPS1="%B${${KEYMAP/vicmd/c}/(main|viins)/}%b" + RPS2=$RPS1 + zle reset-prompt +} |