diff options
Diffstat (limited to 'zsh/zshrc')
| -rw-r--r-- | zsh/zshrc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/zshrc new file mode 100644 index 0000000..5789d80 --- /dev/null +++ b/zsh/zshrc | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # Aliase | ||
| 2 | source $XDG_CONFIG_HOME/zsh/aliases | ||
| 3 | |||
| 4 | # Optionen | ||
| 5 | setopt AUTO_PARAM_SLASH | ||
| 6 | unsetopt CASE_GLOB | ||
| 7 | setopt HIST_SAVE_NO_DUPS | ||
| 8 | |||
| 9 | # Command completion | ||
| 10 | autoload -U compinit; compinit | ||
| 11 | _comp_options+=(globdots) # With hidden files | ||
| 12 | |||
| 13 | bindkey -v | ||
| 14 | export KEYTIMEOUT=1 | ||
| 15 | |||
| 16 | fpath=($XDG_CONFIG_HOME/zsh $fpath) | ||
| 17 | autoload -Uz prompt; prompt | ||
| 18 | |||
| 19 | zmodload zsh/complist | ||
| 20 | bindkey -M menuselect 'h' vi-backward-char | ||
| 21 | bindkey -M menuselect 'k' vi-up-line-or-history | ||
| 22 | bindkey -M menuselect 'l' vi-forward-char | ||
| 23 | bindkey -M menuselect 'j' vi-down-line-or-history | ||
| 24 | |||
| 25 | autoload -Uz surround | ||
| 26 | zle -N delete-surround surround | ||
| 27 | zle -N add-surround surround | ||
| 28 | zle -N change-surround surround | ||
| 29 | bindkey -M vicmd cs change-surround | ||
| 30 | bindkey -M vicmd ds delete-surround | ||
| 31 | bindkey -M vicmd ys add-surround | ||
| 32 | bindkey -M visual S add-surround | ||
| 33 | |||
