X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/a03c667bf929f3eb5d30fb899dd5165a1fa4ca23..8682a47921974fd9e826424dad32e61ac0fbb76f:/zshrc?ds=sidebyside diff --git a/zshrc b/zshrc index 0376259..9878649 100644 --- a/zshrc +++ b/zshrc @@ -9,9 +9,9 @@ if [[ -n $HOME ]]; then HISTFILE=$HOME/.zsh_history - SAVEHIST=1000 + SAVEHIST=10000 fi -HISTSIZE=1000 +HISTSIZE=10000 bindkey -e @@ -30,6 +30,7 @@ screen*|linux) bindkey '\e[3~' delete-char bindkey '\e[4~' end-of-line bindkey '\e[1~' beginning-of-line + bindkey '\eOM' accept-line ;; xterm) bindkey '\e[3~' delete-char @@ -38,6 +39,19 @@ xterm) bindkey '\eOH' beginning-of-line bindkey '\eOF' end-of-line ;; +cons25) + bindkey '^?' delete-char + bindkey '\e[F' end-of-line + bindkey '\e[H' beginning-of-line +;; +esac + +# Keymap-specific bindings +case $KEYMAP in +colemak) + bindkey '^R' history-incremental-search-forward + bindkey '^P' history-incremental-search-backward + ;; esac # Set the xterm title @@ -85,8 +99,8 @@ fi export LANG=en_CA.UTF-8 export LC_COLLATE=ja_JP.UTF-8 -# I like colours -alias ls='ls --color=auto' +# Default options for various utilities. +alias ls='ls --time-style=long-iso --color=auto' alias grep='grep --color=auto' # I hate mistakes