# vim: set ft=conf: # kills window when not running with --session if-shell "test -z '${mxl_session}' && tmux find-window -N ${mxl_key}" \ "unlink-window -k -t ${mxl_key}" \ "select-pane"; # otherwise when a session is running this will replace # the first window by killing it new-window -k -n ${mxl_key} -t:${mxl_session} send-keys -t: 'vim .' C-m split-window -h -t: send-keys -t: 'git status -sb' C-m split-window -v -t: send-keys -t: 'couchdb' C-m split-window -v -t: send-keys -t: 'npm test' C-m select-pane -L