1# ---
2# Keybinds
3# ---
4
5# Ctrl+Bksp deletes preceding word
6bindkey '^H' backward-delete-word
7
8# Ctrl+Del deletes succeeding word
9bindkey '^[[3^' delete-word
10
11# Ctrl+left arrow moves cursor one word left
12bindkey '^[Od' backward-word
13
14# Ctrl+right arrow moves cursor one word right
15bindkey '^[Oc' forward-word
16
17# Custom delimeters for delete-word
18WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
19
20# ---
21# Behaviour
22# ---
23
24#Allow bash-style comments
25setopt interactivecomments
26
27export EDITOR='nano'
28
29# Timestamp in history command ("mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd")
30HIST_STAMPS="dd.mm.yyyy"
31
32DISABLE_UNTRACKED_FILES_DIRTY="true"
33
34# ---
35# Appearance
36# ---
37ZSH_THEME="agnoster"
38COMPLETION_WAITING_DOTS="true"
39
40# plugins can be found in ~/.oh-my-zsh/plugins/*
41plugins=(git)
42
43source $ZSH/oh-my-zsh.sh
44