lots of stuff

This commit is contained in:
xunuwu 2024-02-23 05:34:33 +01:00
parent 926f8b190b
commit 6bae0fa254
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
42 changed files with 1109 additions and 73 deletions

View file

@ -16,10 +16,24 @@
## KEYBINDS ##
bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word
WORDCHARS= # this makes ^w actually stop on directory delimiters etc
# improve ^w behaviour
WORDCHARS=
# shift-tab in completion menu
bindkey '^[[Z' reverse-menu-complete
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' # Case insensitive completion
bindkey '^[[Z' reverse-menu-complete # shift-tab in completion menu
## MISC ##
# Show completion categories
zstyle ':completion:*:*:*:*:descriptions' format '%F{magenta}<-%d->%f'
## PROMPT ##
autoload -Uz vcs_info
precmd_vcs_info() { vcs_info }