diff options
author | Aaron LI <aly@aaronly.me> | 2017-09-04 11:11:13 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-09-04 11:11:13 +0800 |
commit | 38a18413677f80f5bd7eeb1d295bd716019b49b4 (patch) | |
tree | 676412fce5e38e8c12e258ed55d750df6ebf0000 | |
parent | 539db99fc39d0295aefad5627658f50a8bb00460 (diff) | |
download | dotfiles-38a18413677f80f5bd7eeb1d295bd716019b49b4.tar.bz2 |
tmux.conf: Tweak window creation
-rw-r--r-- | _tmux.conf | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -33,6 +33,7 @@ # Aaron LI # 2015-01-22 # +# 2017-09-04 : Tweak and fix several mistakes # 2017-09-03 : Rewrite; drop plugins (with TPM)... # @@ -127,8 +128,10 @@ bind -r M-j resize-pane -D 5 bind -r M-k resize-pane -U 5 bind -r M-l resize-pane -R 5 +# Create new window starting from the current directory +bind c new-window -c '#{pane_current_path}' # URxvt tab like window control -bind -n S-Down new-window +bind -n S-Down new-window -c '#{pane_current_path}' bind -n S-Left previous-window bind -n S-Right next-window bind -n C-Left swap-window -t -1 |