diff --git a/.gitignore b/.gitignore index 7815003..89e3377 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ *.pyc *.db -notes/zettlekasten/.obsidian/ +*.m4a +*.mp4 +*.mp3 +notes/zettlekasten/.obsidian/* diff --git a/notes/zettlekasten/.obsidian/workspace.json b/notes/zettlekasten/.obsidian/workspace.json index c12ab0c..1af24f8 100644 --- a/notes/zettlekasten/.obsidian/workspace.json +++ b/notes/zettlekasten/.obsidian/workspace.json @@ -13,12 +13,12 @@ "state": { "type": "markdown", "state": { - "file": "1 - Fleeting Notes/Metadata Manipulation.md", + "file": "1 - Fleeting Notes/tmux wflow.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "Metadata Manipulation" + "title": "tmux wflow" } }, { @@ -101,7 +101,8 @@ } ], "direction": "horizontal", - "width": 375.5 + "width": 234.5, + "collapsed": true }, "right": { "id": "0ba52521b266806f", @@ -163,10 +164,10 @@ "state": { "type": "outline", "state": { - "file": "3 - References/Puzzles.md" + "file": "1 - Fleeting Notes/tmux wflow.md" }, "icon": "lucide-list", - "title": "Outline of Puzzles" + "title": "Outline of tmux wflow" } }, { @@ -189,14 +190,14 @@ "state": { "type": "file-properties", "state": { - "file": "1 - Fleeting Notes/Metadata Manipulation.md" + "file": "1 - Fleeting Notes/tmux wflow.md" }, "icon": "lucide-info", - "title": "File properties for Metadata Manipulation" + "title": "File properties for tmux wflow" } } ], - "currentTab": 5 + "currentTab": 3 } ], "direction": "horizontal", @@ -212,26 +213,27 @@ "command-palette:Open command palette": false } }, - "active": "33923136d84ea6a5", + "active": "d4c0ab3a4686223c", "lastOpenFiles": [ - "1 - Fleeting Notes/Metadata Manipulation.md", "MOCS/Linux Wflow.md", + "1 - Fleeting Notes/tmux wflow.md", + "1 - Fleeting Notes/Tiling Managers.md", + "1 - Fleeting Notes/Untitled.md", + "3 - References/Solving Techniques.md", + "3 - References/Networking.md", + "3 - References/Linux Services.md", + "MOCS/Persian Poetry.md", + "1 - Fleeting Notes/Metadata Manipulation.md", "1 - Fleeting Notes/Backup and Restore Solution.md", "1 - Fleeting Notes/Synology NAS.md", - "3 - References/Linux Services.md", - "3 - References/Networking.md", "3 - References/Dual Booting.md", "3 - References/Hacker News.md", - "1 - Fleeting Notes/Untitled.md", "1 - Fleeting Notes/Russel Conjugation.md", "1 - Fleeting Notes/Omar Khayyam.md", "1 - Fleeting Notes/Firejail.md", "1 - Fleeting Notes/Exposing Virtual machines to LAN.md", "MOCS/Puzzles.md", - "MOCS/Persian Poetry.md", "1 - Fleeting Notes/LLMs.md", - "1 - Fleeting Notes/Tiling Managers.md", - "3 - References/Solving Techniques.md", "3 - References/Knight Moves 6.md", "Templates/MOC.md", "Untitled.canvas", diff --git a/notes/zettlekasten/1 - Fleeting Notes/tmux wflow.md b/notes/zettlekasten/1 - Fleeting Notes/tmux wflow.md new file mode 100644 index 0000000..bd5b95c --- /dev/null +++ b/notes/zettlekasten/1 - Fleeting Notes/tmux wflow.md @@ -0,0 +1,81 @@ +--- +tags: + - "#tmux" +parents: "[[Linux Wflow]]" +date/time: 2024-12-29T15:51:00 +--- + +# Sessions +## New Sessions + +``` +tmux +tmux new +tmux new-session +``` + +named sessions - to encapsulates different workflows + +``` +tmux new -s networking +tmux new -s development +tmux new -s ai specific stuff +``` + +## Exit Sessions + +``` +exit +``` + +## List Sessions +``` +tmux list-sessions +tmux ls +``` + +## Attach/Detach from sessions + +attach ``` tmux attach``` +```tmux attach -t ``` +detach ``` prefix + d``` + + + +## Killing Sessions + +- within the session:```exit``` +- outside the session (e.g detached) +``` +tmux kill-session -t "sessionname" +``` + +# Windows + +new window within a session ``` prefix + c``` +new session with a named window: ``` tmux new -s -n ``` +rename window ```prefix + ,``` + +moving between windows +``` +prefix + n or prefix +p +prefix + i where i index of window +``` + +to close a session have to close *all* windows in session using: +``` +exit +prefix + & +``` + +# Panes + +## Vertical +``` +prefix + % +``` + +## Horizontal +``` +prefix + " +``` \ No newline at end of file