dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 561411c35c5bd11e39ba771034ea5414fa2301cb
parent 6c047faca0e464536d2360b738ac7c1528dcead4
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Thu, 27 Nov 2014 00:34:39 +0200

tmux: Open new panes in working directory

Diffstat:
.tmux.conf | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -32,7 +32,9 @@ bind-key -r '>' resize-pane -R 5 bind-key m command-prompt -p "[ man page ]" "split-window 'exec man %%'" # Vertical split with ^A' instead of ^A% -bind-key "'" split-window -h +# Also open new panes in the working dir +bind-key "'" split-window -h -c "#{pane_current_path}" +bind-key '"' split-window -v -c "#{pane_current_path}" # Use 'C-a v' to enter copy mode bind-key v copy-mode