From 6db646d789a490b243b5edad1703c71925118f88 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 4 Nov 2016 16:53:45 -0400 Subject: Adds additional bindings --- configs/.tmux.conf | 3 +++ configs/.zsh_profile | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'configs') diff --git a/configs/.tmux.conf b/configs/.tmux.conf index 45ef0596ed81..4e4099fefeb7 100644 --- a/configs/.tmux.conf +++ b/configs/.tmux.conf @@ -1,15 +1,18 @@ set -g default-terminal "screen-256color" + bind-key -r -T prefix k select-pane -U bind-key -r -T prefix j select-pane -D bind-key -r -T prefix h select-pane -L bind-key -r -T prefix l select-pane -R + bind-key -r -T prefix C-k resize-p -U 2 bind-key -r -T prefix C-j resize-p -D 2 bind-key -r -T prefix C-h resize-p -L 2 bind-key -r -T prefix C-l resize-p -R 2 + bind % split-window -c "#{pane_current_path}" bind '"' split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" diff --git a/configs/.zsh_profile b/configs/.zsh_profile index 26da66d00ccb..89eb0b738c7e 100644 --- a/configs/.zsh_profile +++ b/configs/.zsh_profile @@ -39,3 +39,7 @@ bindkey -M viins 'jj' vi-cmd-mode # brew install zsh-syntax-highlighting source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +# Regain control of CLI