c8438e6a22492aab0095af382cab8a4ebed2100e
   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='vim'
  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# plugins can be found in ~/.oh-my-zsh/plugins/*
  35plugins=(git)
  36
  37# load zmv
  38autoload -U zmv
  39
  40mkcd() {
  41  mkdir "$1"
  42  cd "$1"
  43}
  44
  45# ---
  46# Appearance
  47# ---
  48ZSH_THEME="agnoster"
  49COMPLETION_WAITING_DOTS="true"
  50
  51# plugins can be found in ~/.oh-my-zsh/plugins/*
  52plugins=(git)
  53
  54source $ZSH/oh-my-zsh.sh
  55