0
0

omnibar.zsh 1.2 KB

1234567891011121314151617181920212223242526272829
  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 /bin/zsh ~/.scripts/project_launch.zsh" \
  9. "Open Shell" "o" "new-window /bin/zsh" \
  10. "Launch SSH" "v" "new-window /bin/zsh ~/.scripts/ssh_launch.zsh" \
  11. "" \
  12. "Next Pane" "Right" "select-pane -t :.+" \
  13. "Previous Pane" "Left" "select-pane -t :.-" \
  14. "Recent Pane" "t" "select-pane -p" \
  15. "Next Window" "Down" "select-window -n" \
  16. "Previous Window" "Up" "select-window -p" \
  17. "Recent Window" "n" "last-window" \
  18. "" \
  19. "Vertical Split" "|" "split-window -h -c \"#{pane_current_path}\"" \
  20. "Horizontal Split" "-" "split-window -v -c \"#{pane_current_path}\"" \
  21. "Rotate Window" "y" "rotate-window -D" \
  22. "Zoom Pane" "z" "resize-pane -Z" \
  23. "" \
  24. "Screenshot" "+" "run-shell \"/bin/zsh -l ~/.scripts/tmux_screencap.zsh\"" \
  25. "" \
  26. "New Window" "c" "new-window /bin/zsh ~/.scripts/nvim_launch.zsh" \
  27. "Close Pane" "x" "kill-pane" \
  28. "Close Window" "q" "split-window -v -c \"#{pane_current_path}\"" \
  29. "Detach Session" "d" "detach"