dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 81831a7fe1f3e294cb97be4e6732307bc665c05f
parent 5d3a0d2e33d523bc766c99a7cb9684c2a4adebca
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 17 Apr 2019 09:56:26 +0200

Open new windows in current directory

Diffstat:
M.tmux.conf | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -203,7 +203,7 @@ bind -n C-M-w new-window -n weather \ #bind Enter new-window #bind Enter new-window \ #"tmux set status-right-length `echo $(tput cols)/2|bc|tr -d '\n'`; zsh" -bind Enter new-window "$SHELL" +bind Enter new-window -c "#{pane_current_path}" "$SHELL" bind -n M-Enter new-window \ "tmux set status-right-length `echo $(tput cols)/2|bc|tr -d '\n'`; zsh"