diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/.tmux.conf | 3 | ||||
-rw-r--r-- | configs/.zsh_profile | 4 |
2 files changed, 7 insertions, 0 deletions
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 <C- mappings for vim keybindings +# RE: http://superuser.com/questions/588846/cannot-get-vim-to-remap-ctrls-to-w +stty -ixon + |