From 5062d004d35ff121178990e5fecf04ff865de7e2 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 19 Feb 2022 12:38:13 -0500 Subject: [PATCH] tmux: Bind `c` to open to the current directory I have the same for | and - -- it's just nice to get a fresh window in the same project! --- .tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.tmux.conf b/.tmux.conf index b5dab69..9da3a38 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -19,6 +19,7 @@ bind-key C-l select-pane -R # Use | and - for more intuitive splits (in the same location!) bind-key | split-window -c "#{pane_current_path}" -h bind-key - split-window -c "#{pane_current_path}" -v +bind-key c new-window -c "#{pane_current_path}" # Start numbers at 1 (like the keyboard), and reorder on close set-option -g base-index 1 -- libgit2 1.1.1