diff --git a/tmux.conf b/tmux.conf index db2fb3d..7ac5f60 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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 diff --git a/tmux/git b/tmux/git new file mode 100644 index 0000000..9e7003c --- /dev/null +++ b/tmux/git @@ -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 + +