diff options
author | Ben Sima <ben@bsima.me> | 2023-07-26 10:29:53 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-07-26 10:30:03 -0400 |
commit | 66207b1ad9f4c63885260fb91323f1556ababa5b (patch) | |
tree | d67ddbcd5665ae11ffc2a65259dd15f2c9c468db /lib | |
parent | 57d1a11378fef3526938d9ac618a734c013872cd (diff) |
tmux: split pane into current directory
holy crap i've wanted this forever
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.nix b/lib/common.nix index 7d5f520..d2d511a 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -186,8 +186,8 @@ in { setw -g mouse on ## Panes # Split panes - bind-key | split-window -h - bind-key - split-window -v + bind-key | split-window -h -c "#{pane_current_path}" + bind-key - split-window -v -c "#{pane_current_path}" # Send/join panes bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'" bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" |