commit 8fe271258cec9c85ad3506f67be1ee1975d4d344 parent f44412f4dd4b0eabb463ca27425fea2dfcae2ab9 Author: Lukas Joswiak <lukas@lukasjoswiak.com> Date: Wed, 8 Apr 2020 21:56:55 -0700 Quality of life improvements Diffstat:
| M | .tmux.conf | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf @@ -1,8 +1,16 @@ +# Use zsh as the default shell +set-option -g default-shell /bin/zsh + # Rebind prefix key to ctrl-a unbind C-b set -g prefix C-a bind C-a send-prefix +# Open new windows and panes in the same directory as the current pane +bind c new-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}" + # Switch panes with hjkl bind h select-pane -L bind j select-pane -D