aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-08-23 21:05:50 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commitbf29e491f324a8687cb8f6915ea65e071ad480c2 (patch)
treeb48fcf21117fd65b23b971b21cdc5c7ffa37aeb3
parent71656010c1bb0a87904f854777514bf9b83e98b0 (diff)
downloaddotnvim-bf29e491f324a8687cb8f6915ea65e071ad480c2.tar.gz
dotnvim-bf29e491f324a8687cb8f6915ea65e071ad480c2.zip
Use current directory; more user friendly bindings
-rw-r--r--tmux.conf5
1 files changed, 5 insertions, 0 deletions
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"