|
|
|
@ -32,8 +32,10 @@ set-window-option -g automatic-rename
@@ -32,8 +32,10 @@ set-window-option -g automatic-rename
|
|
|
|
|
## |
|
|
|
|
set-option -g prefix C-b |
|
|
|
|
# set window split |
|
|
|
|
bind-key v split-window -h |
|
|
|
|
bind-key h split-window |
|
|
|
|
bind-key % split-window -h -c "#{pane_current_path}" |
|
|
|
|
bind-key '"' split-window -c "#{pane_current_path}" |
|
|
|
|
bind-key v split-window -h -c "#{pane_current_path}" |
|
|
|
|
bind-key h split-window -c "#{pane_current_path}" |
|
|
|
|
|
|
|
|
|
# Vi copypaste mode |
|
|
|
|
bind-key -T copy-mode-vi 'v' send -X begin-selection |
|
|
|
@ -45,6 +47,8 @@ bind -n M-j select-pane -D
@@ -45,6 +47,8 @@ bind -n M-j select-pane -D
|
|
|
|
|
bind -n M-k select-pane -U |
|
|
|
|
bind -n M-l select-pane -R |
|
|
|
|
|
|
|
|
|
# create new windows |
|
|
|
|
bind-key c new-window -c "#{pane_current_path}" |
|
|
|
|
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" |
|
|
|
|
|
|
|
|
|
# set to main-horizontal, 60% height for main pane |
|
|
|
|