From 8a10c634e3a3f26dc38f5660de0c6aacc6f1a0d1 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 14 Jul 2015 10:10:01 +0100 Subject: Add minor changes --- zshrc | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index dce837d..432f0c0 100644 --- a/zshrc +++ b/zshrc @@ -20,9 +20,9 @@ if ! zgen saved; then zgen load zsh-users/zsh-syntax-highlighting # Appearance - zgen load mafredri/zsh-async - zgen load sindresorhus/pure - # zgen oh-my-zsh themes/eastwood + # zgen load mafredri/zsh-async + # zgen load sindresorhus/pure + zgen oh-my-zsh themes/eastwood # Other plugins zgen load rupa/z @@ -36,6 +36,12 @@ if ! zgen saved; then zgen save fi +# Custom key bindings +bindkey -a 'k' history-beginning-search-backward +bindkey -a 'j' history-beginning-search-forward +bindkey '^P' history-beginning-search-backward +bindkey '^N' history-beginning-search-forward + # Plugins configuration # Autosuggestion @@ -82,6 +88,7 @@ alias install='sudo apt-get install' alias m='mutt' alias mail='offlineimap -u quiet &' alias mc='make clean' +alias mca='make clean-all' alias n='nvim' alias ns="$EDITOR -S Session.vim" alias pull='git pull origin master' @@ -108,11 +115,6 @@ alias eza="$EDITOR ~/.zathurarc" alias son="tmux set -g status on" alias soff="tmux set -g status off" -# Fix smart search history -bindkey -a 'k' history-beginning-search-backward -bindkey -a 'j' history-beginning-search-forward -bindkey '^P' history-beginning-search-backward -bindkey '^N' history-beginning-search-forward # Crontab jobs crontab ~/.crontab @@ -155,7 +157,7 @@ fi # Colors # export TERM=xterm-256color -export COLORSCHEME=defau +export COLORSCHEME=light function colo { -- cgit v1.2.3