aboutsummaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc33
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
2source $XDG_CONFIG_HOME/zsh/aliases
3
4# Optionen
5setopt AUTO_PARAM_SLASH
6unsetopt CASE_GLOB
7setopt HIST_SAVE_NO_DUPS
8
9# Command completion
10autoload -U compinit; compinit
11_comp_options+=(globdots) # With hidden files
12
13bindkey -v
14export KEYTIMEOUT=1
15
16fpath=($XDG_CONFIG_HOME/zsh $fpath)
17autoload -Uz prompt; prompt
18
19zmodload zsh/complist
20bindkey -M menuselect 'h' vi-backward-char
21bindkey -M menuselect 'k' vi-up-line-or-history
22bindkey -M menuselect 'l' vi-forward-char
23bindkey -M menuselect 'j' vi-down-line-or-history
24
25autoload -Uz surround
26zle -N delete-surround surround
27zle -N add-surround surround
28zle -N change-surround surround
29bindkey -M vicmd cs change-surround
30bindkey -M vicmd ds delete-surround
31bindkey -M vicmd ys add-surround
32bindkey -M visual S add-surround
33