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.
This commit is contained in:
Kevin MacMartin 2014-06-04 17:24:37 -04:00
parent a01ce13975
commit 299472a8bb
2 changed files with 12 additions and 12 deletions

View file

@ -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'

View file

@ -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'