From ae2d81a47cc2297b7b469091b225421c20b27196 Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Mon, 29 Aug 2016 16:02:03 +0200 Subject: [PATCH] tmux: add shortcuts to open split in same path --- tmux/tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 3ae5e52..05b7411 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -14,3 +14,8 @@ set-option -g window-status-bell-attr bold set-option -g window-status-activity-attr bold bind r source-file ~/.tmux.conf + +bind '"' split-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" + +bind C-c new-window -c '#{pane_current_path}'