Skip to content

Commit 26ebe29

Browse files
committed
chore: add dot_config session for tmuxifier
1 parent f68f8f1 commit 26ebe29

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# vim: syntax=sh
2+
# Set a custom session root path. Default is `$HOME`.
3+
# Must be called before `initialize_session`.
4+
session_root {{ .chezmoi.homeDir | quote }}
5+
6+
# Create session with specified name if it does not already exist. If no
7+
# argument is given, session name will be based on layout file name.
8+
if initialize_session "dot_config"; then
9+
new_window "editor"
10+
select_window 1
11+
run_cmd "vim ."
12+
fi
13+
14+
# Finalize session creation and switch/attach to it.
15+
finalize_and_go_to_session

0 commit comments

Comments
 (0)