feat(tmux): add session feature from sesh

This commit is contained in:
Stefan Imhoff
2024-03-15 19:14:42 +01:00
parent eb93d2c063
commit d7563ef71a
6 changed files with 87 additions and 3 deletions

4
sesh/scripts/node_dev Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
tmux split-window -v -l 10 d
tmux select-pane -t :.+
tmux send-keys "nvim +GoToFile" Enter

2
sesh/scripts/open_files Normal file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
tmux send-keys "nvim +GoToFile" Enter

5
sesh/sesh.toml Normal file
View File

@@ -0,0 +1,5 @@
default_startup_script = "~/.config/sesh/scripts/open_files"
[[startup_scripts]]
session_path = "~/Code/GitHub/websites/stefanimhoff-de"
script_path = "~/.config/sesh/scripts/node_dev"