Skip to content

Instantly share code, notes, and snippets.

@TitouanT
Forked from william8th/.tmux.conf
Last active Jun 18, 2020
Embed
What would you like to do?
Tmux open new pane in same directory
# \ and - to split to the session working directory (SWD)
bind \\ split-window -h
bind - split-window -v
# hold shift to split to current path
bind | split-window -h -c "#{pane_current_path}"
bind _ split-window -v -c "#{pane_current_path}"
# change SWD to current pane path
bind W attach-session -t . -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment