omnibar.zsh 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. #!/bin/zsh
  2. tmux display-menu -t . \
  3. -T "tmux omnibar" \
  4. "Command Prompt" "a" "command-prompt" \
  5. "Command List" "r" "list-commands" \
  6. "Select Pane" "s" "choose-tree" \
  7. "" \
  8. "Open Project" "p" "new-window -c ~ -n 'Project Launcher' timeout 60s /bin/zsh $DOTFILES_DIR/.scripts/project_launch.zsh" \
  9. "Open Shell" "o" "new-window /bin/zsh" \
  10. "Open Omniscratch" "u" "new-window /bin/zsh $DOTFILES_DIR/.scripts/omniscratch.zsh" \
  11. "Launch SSH" "v" "new-window /bin/zsh $DOTFILES_DIR/.scripts/ssh_launch.zsh" \
  12. "" \
  13. "Next Pane" "Right" "select-pane -t :.+" \
  14. "Previous Pane" "Left" "select-pane -t :.-" \
  15. "Recent Pane" "t" "select-pane -p" \
  16. "Next Window" "Down" "select-window -n" \
  17. "Previous Window" "Up" "select-window -p" \
  18. "Recent Window" "n" "last-window" \
  19. "" \
  20. "Vertical Split" "|" "split-window -h -c \"#{pane_current_path}\"" \
  21. "Horizontal Split" "-" "split-window -v -c \"#{pane_current_path}\"" \
  22. "Rotate Window" "y" "rotate-window -D" \
  23. "Zoom Pane" "z" "resize-pane -Z" \
  24. "" \
  25. "Screenshot" "+" "run-shell \"/bin/zsh -l $DOTFILES_DIR/.scripts/tmux_screencap.zsh\"" \
  26. "Whisper" "w" "popup -E -w 82 -h 40 whisper.zsh stream" \
  27. "" \
  28. "New Window" "c" "new-window /bin/zsh $DOTFILES_DIR/.scripts/nvim_launch.zsh" \
  29. "Close Pane" "x" "kill-pane" \
  30. "Close Window" "q" "split-window -v -c \"#{pane_current_path}\"" \
  31. "Detach Session" "d" "detach"