12345678910111213141516171819202122232425 |
- # Set window root path. Default is `$session_root`.
- # Must be called before `new_window`.
- #window_root "~/Projects/kubernetes"
- # Create new window. If no argument is given, window name will be based on
- # layout file name.
- new_window "kube-system"
- run_cmd "kubectl watch kube-system"
- # Split window into panes.
- #split_v 20
- #split_h 50
- # Run commands.
- #run_cmd "top" # runs in active pane
- #run_cmd "date" 1 # runs in pane 1
- # Paste text
- #send_keys "top" # paste into active pane
- #send_keys "date" 1 # paste into pane 1
- # Set active pane.
- #select_pane 0
|