Add "new" and "edit" commands

This commit is contained in:
2012-04-22 12:40:36 +01:00
parent 5b73edcead
commit 85fbda7e27
7 changed files with 149 additions and 1 deletions

14
templates/window.sh Normal file
View File

@@ -0,0 +1,14 @@
# Set custom window name. Default is based on filename.
# window_name "Example Window"
# Set a window root path. Default is `$session_root`.
# window_root "~/Projects/example"
# Create new window. Remove if you want to apply layout to current window.
tmux new-window -t "$session" -n "$window"
# Split window into panes.
# tmux split-window -t "$session:$window.0" -h -p 20
# Set active pane.
# tmux select-pane -t "$session:$window.0"