summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-04-19 10:36:52 +0200
committerjohannst <stoelp@eit.uni-kl.de>2018-04-19 10:36:52 +0200
commit1334be46cddda02e659b4785e93e9e2347d84704 (patch)
tree80cb0e23dfa21446070592cd83ebfc546af8bd8b /tmux.conf
parent7de4fef9947d63dc12d5f0fde9f19d58f38517b5 (diff)
downloaddotfiles-1334be46cddda02e659b4785e93e9e2347d84704.tar.gz
dotfiles-1334be46cddda02e659b4785e93e9e2347d84704.zip
tmux.conf open splits from the path of the current selected pane
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index a5bcef2..76c2063 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -29,8 +29,8 @@ set -s escape-time 0
bind-key Tab last-window
# split settings
-bind-key v split-window -h
-bind-key s split-window
+bind-key v split-window -h -c "#{pane_current_path}"
+bind-key s split-window -c "#{pane_current_path}"
# maximize current pane
bind-key f resize-pane -Z # overwrites find window