mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-11-27 00:21:27 -05:00
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:
parent
a01ce13975
commit
299472a8bb
2 changed files with 12 additions and 12 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue