From 299472a8bb72b6a1ca3387f39b7fc7b6b2f8ef5b Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 4 Jun 2014 17:24:37 -0400 Subject: [PATCH] Opening a new tab in the same dir when root places you in / so I'm changing back to the new default behaviour of always $HOME. Also, when changing panes with repeat on for h,j,k and l, you can't type those letters until the repeat timeout is reached, so I'm keeping repeat on for the arrow keys but removing it from h,j,k and l. --- tmux.normal.conf | 12 ++++++------ tmux.powerline.conf | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tmux.normal.conf b/tmux.normal.conf index 2fac8fe..94a5c3c 100644 --- a/tmux.normal.conf +++ b/tmux.normal.conf @@ -60,8 +60,8 @@ bind \ set-option -g status on bind C-\ set-option -g status off # # c and ctrl-c to create a new pane in the current path and in home respectively -bind c new-window -c '#{pane_current_path}' -bind C-c new-window +bind C-c new-window -c '#{pane_current_path}' +bind c new-window # # [ and ] to splitting the window into top/bottom and left/right respectively bind -r [ split-window -v -c '#{pane_current_path}' @@ -84,10 +84,10 @@ bind Space last-pane bind C-Space last-window # # h,j,k,l to movement left,down,up,right between panes respectively -bind -r h select-pane -L -bind -r j select-pane -D -bind -r k select-pane -U -bind -r l select-pane -R +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R # # ~ to synchronous panes bind ` set-window-option synchronize-panes \; display 'Toggling pane synchronization' diff --git a/tmux.powerline.conf b/tmux.powerline.conf index 8588917..ac02d59 100644 --- a/tmux.powerline.conf +++ b/tmux.powerline.conf @@ -60,8 +60,8 @@ bind \ set-option -g status on bind C-\ set-option -g status off # # c and ctrl-c to create a new pane in the current path and in home respectively -bind c new-window -c '#{pane_current_path}' -bind C-c new-window +bind C-c new-window -c '#{pane_current_path}' +bind c new-window # # [ and ] to splitting the window into top/bottom and left/right respectively bind -r [ split-window -v -c '#{pane_current_path}' @@ -84,10 +84,10 @@ bind Space last-pane bind C-Space last-window # # h,j,k,l to movement left,down,up,right between panes respectively -bind -r h select-pane -L -bind -r j select-pane -D -bind -r k select-pane -U -bind -r l select-pane -R +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R # # ~ to synchronous panes bind ` set-window-option synchronize-panes \; display 'Toggling pane synchronization'