summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-04-26 09:16:23 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-04-26 09:16:23 +0100
commitc0d22295c80fcc0422563bb0c6753f263195ca40 (patch)
tree372b352eee8f97f2698f1d3b3b3988d29a192a12 /zsh
parent1ed3c86834671e305ccf3ed0cf554c0a2511ddd3 (diff)
Add vim-ninja-feet
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index ec4a213..02fb8ad 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -6,8 +6,8 @@ bindkey -v
bindkey -a 'k' history-beginning-search-backward
bindkey -a 'j' history-beginning-search-forward
bindkey '^?' backward-delete-char # backspace
-bindkey '^N' history-beginning-search-forward
-bindkey '^P' history-beginning-search-backward
+bindkey '^n' history-beginning-search-forward
+bindkey '^p' history-beginning-search-backward
bindkey '^a' beginning-of-line
bindkey '^b' backward-char
bindkey '^e' end-of-line
@@ -20,6 +20,8 @@ bindkey '^w' backward-kill-word
# }}}
## Options and modules {{{
+KEYTIMEOUT=1
+
# History
HISTFILE=$HOME/.zsh_history
HISTSIZE=1000000
@@ -45,6 +47,10 @@ fi
[ ! -d ~/.zsh/zgen ] && git clone https://github.com/tarjoilija/zgen.git ~/.zsh/zgen
source "$HOME/.zsh/zgen/zgen.zsh"
+if [ "$TMUX" != "" ]; then
+ source $WINTAB_ROOT/wintab.plugin.zsh
+fi
+
if ! zgen saved; then
echo "Creating a zgen save"
zgen load rupa/z