Combine 'notes' tmux session into 'hub'
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
tmux rename-window inbox
|
||||
tmux rename-window notes-cmd
|
||||
tmux send-keys -t :notes-cmd "cd "$DIR_NOTES"; clear; [[ -d .git ]] && git status" c-M
|
||||
|
||||
tmux new-window -d -n notes-$EDITOR
|
||||
tmux send-keys -t :notes-$EDITOR "cd "$DIR_NOTES"; $EDITOR inbox" c-M
|
||||
|
||||
tmux new-window -d -n inbox
|
||||
tmux send-keys -t :inbox 'cd "$DIR_INBOX"; clear; ls' c-M
|
||||
|
||||
tmux switch-client -t "hub:2"
|
||||
clear
|
||||
|
||||
|
||||
@@ -46,7 +46,6 @@ bind-key C-f run-shell "tmux neww $DIR_SCRIPTS/tmux-session-init"
|
||||
bind-key C-s choose-session
|
||||
bind-key S choose-window
|
||||
bind-key C-h run-shell "tmux neww $DIR_SCRIPTS/tmux-session-init hub"
|
||||
bind-key C-j run-shell "tmux neww $DIR_SCRIPTS/tmux-session-init notes" \; switch-client -t "notes:2"
|
||||
bind-key -r C-l switch-client -l
|
||||
bind-key -r C-o last-window
|
||||
bind-key -r C-n next-window
|
||||
|
||||
Reference in New Issue
Block a user