tmux sessions manager

This commit is contained in:
thek4n 2024-03-21 21:03:04 +03:00
parent 4a9f0c303d
commit 60e4c63d78
2 changed files with 7 additions and 3 deletions

3
.gitignore vendored
View File

@ -23,3 +23,6 @@ lazy-lock.json
home/user/.config/ranger/plugins
home/user/.termux/shell
home/user/.tmux/*
!home/user/.tmux/01.conf

View File

@ -1,3 +1,4 @@
new -s s01 -A -n main -c "$WORKING_PROJECT" "$EDITOR"
send-keys M-1
splitw -d -h -l 40% -c '#{pane_current_path}'
# vim: filetype=tmux
new-session -s s01 -A -n main -c "$WORKING_PROJECT" "$EDITOR"
send-keys -t s01:main M-1
splitw -t s01:main -d -h -l 40% -c '#{pane_current_path}'