diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-05-25 12:27:33 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-05-25 12:27:33 -0300 |
commit | f2d87aed3585102ac978d0eee7ad8babd0cb735b (patch) | |
tree | 3035aa4c4a8ffb1aa906bc5082c3ebca32d78586 /.tmux.conf | |
parent | cfdaece42c69f9df998402ea4b4476f5c42e1e2c (diff) |
tmux: open new windows in current pane's path
I think I used to do ^B " then ^B ! to move a new pane into a new window, which sort of makes sense if you usually want new windows to start from the home directory, but... eh... It's easier to default to the current directory and just `cd` if you need to get home right away.
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf index 703e3b3..14f7fcb 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -8,5 +8,6 @@ set-window-option -g window-status-current-style fg=colour251,bright bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}" bind -n C-S-Left swap-window -t -1 bind -n C-S-Right swap-window -t +1 |