Added keybind for opening nano + git

This commit is contained in:
Dreaded_X 2014-08-27 20:19:06 +02:00
parent 44976a4956
commit 45e50fb744
2 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,7 @@ set -g visual-activity on
#load tmux setup
bind D source-file ~/.dotfiles/tmux/dev
bind G source-file ~/.dotfiles/tmux/git
#setup kill comnmand
bind k confirm kill-window

11
tmux/git Normal file
View File

@ -0,0 +1,11 @@
select-pane -t 0
split-window -h -p 21 -c "$pane_current_patch"
select-pane -t 0
send-keys -t 0 'nano -F' C-m
send-keys -t 1 'tmux rename-window "Dev: $(basename)"' C-m
send-keys -t 1 'clear' C-m
send-keys -t 1 'git status' C-m