Skip to content

Commit

Permalink
tmux open in current directory, rather than origin tmux dir
Browse files Browse the repository at this point in the history
  • Loading branch information
luthes committed Sep 26, 2017
1 parent 28e3a01 commit 5517bbb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ bind '+' set window-status-format '#I:#W#F'\; set window-status-current-format '

## Status bar design
# status line
set -g status-utf8 on
set -g status-justify left
set -g status-bg default
set -g status-fg colour12
Expand Down Expand Up @@ -145,6 +144,11 @@ set -g message-bg colour166

# }

# Make new windows/panes open to the current path instead of the path tmux was
# # started from
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"



Expand Down

0 comments on commit 5517bbb

Please sign in to comment.