From bf29e491f324a8687cb8f6915ea65e071ad480c2 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 23 Aug 2019 21:05:50 +0100 Subject: Use current directory; more user friendly bindings --- tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tmux.conf') diff --git a/tmux.conf b/tmux.conf index 856cf00..0f5cfe8 100644 --- a/tmux.conf +++ b/tmux.conf @@ -40,6 +40,11 @@ set -g focus-events on # Bind to reload config bind r source-file ~/.tmux.conf +# Use current directory for these +bind c new-window -c "#{pane_current_path}" +bind h split-window -h -c "#{pane_current_path}" +bind v split-window -v -c "#{pane_current_path}" + ## COLORSCHEME: gruvbox dark set-option -g status "on" -- cgit v1.2.3