fixed home/end at work

This commit is contained in:
Nikolas Weger 2017-06-09 13:44:03 +02:00
parent 395519026e
commit 81fdfc327e
7 changed files with 11 additions and 10 deletions

View file

@ -6,6 +6,7 @@ export GOPATH=${HOME}/go
export PATH="${GOPATH}/bin:${HOME}/.gem/ruby/2.3.0/bin:${HOME}/dotfiles/lib/util:${HOME}/dotfiles/lib/bin:${HOME}/dotfiles/lib/dasht/bin:${PATH}"
export DASHT_DOCSETS_DIR=$HOME/.local/share/Zeal/Zeal/docsets
export EDITOR='nano'
export TERM=linux
# Plugins
plugins=(gem bundler git vagrant docker python ansible)
@ -28,6 +29,10 @@ esac
# OMZ
source ${ZSH}/oh-my-zsh.sh
# Fix MobaXterm Home/End key with ZSH
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
# Syntax Highlighting
source ${HOME}/dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
@ -45,7 +50,3 @@ eval `dircolors ${HOME}/dotfiles/zsh/dircolors`
# Completions Path
fpath=(${HOME}/dotfiles/lib/completions/src $fpath)
# Fix home/end key at work -- still needed?
bindkey "^[[1~" beginning-of-line
bindkey "^[[4~" end-of-line