From 6317ae09ea440ef7efe4f7e2998319b019d140b0 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Sat, 11 Dec 2021 15:45:38 +0100 Subject: [PATCH] chore(tmux): add tmuxinator and configuration --- .dotbot.conf.yaml | 1 + setup/brew.sh | 3 ++- setup/gem.sh | 1 - tmuxinator/default.yml | 7 +++++++ tmuxinator/relaunch.yml | 6 ++++++ tmuxinator/website-hamburg-stefanimhoff-de.yml | 6 ++++++ tmuxinator/website-kogakure-de.yml | 6 ++++++ tmuxinator/website-stefanimhoff.de.yml | 6 ++++++ tmuxinator/xing-brewery.yml | 6 ++++++ tmuxinator/xing-xds-kit.yml | 5 +++++ tmuxinator/zettelkasten.yml | 5 +++++ 11 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 tmuxinator/default.yml create mode 100644 tmuxinator/relaunch.yml create mode 100644 tmuxinator/website-hamburg-stefanimhoff-de.yml create mode 100644 tmuxinator/website-kogakure-de.yml create mode 100644 tmuxinator/website-stefanimhoff.de.yml create mode 100644 tmuxinator/xing-brewery.yml create mode 100644 tmuxinator/xing-xds-kit.yml create mode 100644 tmuxinator/zettelkasten.yml diff --git a/.dotbot.conf.yaml b/.dotbot.conf.yaml index f59e819..515561c 100644 --- a/.dotbot.conf.yaml +++ b/.dotbot.conf.yaml @@ -12,6 +12,7 @@ ~/.config/kitty: kitty ~/.config/nvim: nvim ~/.config/starship.toml: starship.toml + ~/.config/tmuxinator: tmuxinator ~/.ctags: ctags ~/.editorconfig: editorconfig ~/.gitconfig: gitconfig diff --git a/setup/brew.sh b/setup/brew.sh index c5ab3c6..91e5682 100755 --- a/setup/brew.sh +++ b/setup/brew.sh @@ -93,6 +93,7 @@ brew install startship # Cross-shell prompt for astronauts brew install the_silver_searcher # Code-search similar to ack ➜ ag brew install tmate # Instant terminal sharing brew install tmux # Terminal multiplexer +brew install tmuxinator # Create and manage tmux sessions easily brew install tree # Display directories as trees (with optional color/HTML output) brew install universal-ctags/universal-ctags/universal-ctags --HEAD # A maintained ctag implementation brew install urlview # URL extractor/launcher (needed for tmux-urlview) @@ -102,5 +103,5 @@ brew install yarn # JavaScript package manager brew install youtube-dl # Download YouTube videos from the command-line brew install z # Tracks most-used directories to make cd smarter brew install zeromq # High-performance, asynchronous messaging library -brew install zsh # UNIX shell (command interpreter) +brew install zsh # UNIX shell (command interpreter) brew install zsh-syntax-highlighting # Fish shell like syntax highlighting for zsh diff --git a/setup/gem.sh b/setup/gem.sh index 18792f8..0230d1c 100755 --- a/setup/gem.sh +++ b/setup/gem.sh @@ -4,5 +4,4 @@ gem install bundler # Bundler manages an application's dependencies gem install git-up # git command to fetch and rebase all branches gem install github-linguist # Language Savant. gem install lunchy # Friendly wrapper around launchctl -gem install tmuxinator # Create and manage complex tmux sessions easily. gem install neovim # Ruby provider for NeoVim diff --git a/tmuxinator/default.yml b/tmuxinator/default.yml new file mode 100644 index 0000000..041f8c9 --- /dev/null +++ b/tmuxinator/default.yml @@ -0,0 +1,7 @@ +name: Standard +root: ~/.dotfiles/ +windows: + - Vim: vim + - Downloads: cd ~/Downloads; clear + - Terminal: cd; clear + - Dotfiles: clear diff --git a/tmuxinator/relaunch.yml b/tmuxinator/relaunch.yml new file mode 100644 index 0000000..7fc9d4d --- /dev/null +++ b/tmuxinator/relaunch.yml @@ -0,0 +1,6 @@ +name: "Relaunch Hamburg" +root: ~/Code/Github/11ty-hamburg.stefanimhoff.de +windows: + - Vim: vim + - Terminal: clear + - Server: clear diff --git a/tmuxinator/website-hamburg-stefanimhoff-de.yml b/tmuxinator/website-hamburg-stefanimhoff-de.yml new file mode 100644 index 0000000..e60f448 --- /dev/null +++ b/tmuxinator/website-hamburg-stefanimhoff-de.yml @@ -0,0 +1,6 @@ +name: hamburg +root: ~/Code/Github/hamburg.stefanimhoff.de/ +windows: + - Vim: vim + - Terminal: clear + - Server: yarn start diff --git a/tmuxinator/website-kogakure-de.yml b/tmuxinator/website-kogakure-de.yml new file mode 100644 index 0000000..639a889 --- /dev/null +++ b/tmuxinator/website-kogakure-de.yml @@ -0,0 +1,6 @@ +name: kogakure +root: ~/Code/Github/hugo-kogakure.de/ +windows: + - Vim: vim + - Terminal: clear + - Server: yarn start diff --git a/tmuxinator/website-stefanimhoff.de.yml b/tmuxinator/website-stefanimhoff.de.yml new file mode 100644 index 0000000..34c7091 --- /dev/null +++ b/tmuxinator/website-stefanimhoff.de.yml @@ -0,0 +1,6 @@ +name: stefanimhoff +root: ~/Code/Github/stefanimhoff.de/ +windows: + - Vim: vim + - Terminal: clear + - Server: npm i; npm start diff --git a/tmuxinator/xing-brewery.yml b/tmuxinator/xing-brewery.yml new file mode 100644 index 0000000..e4abb2e --- /dev/null +++ b/tmuxinator/xing-brewery.yml @@ -0,0 +1,6 @@ +name: Brewery +root: ~/Code/XING/brewery/ +windows: + - Vim: vim + - Terminal: clear + - Server: yarn diff --git a/tmuxinator/xing-xds-kit.yml b/tmuxinator/xing-xds-kit.yml new file mode 100644 index 0000000..f7449b4 --- /dev/null +++ b/tmuxinator/xing-xds-kit.yml @@ -0,0 +1,5 @@ +name: Designkit +root: ~/Code/XING/xds-kit/ +windows: + - Vim: vim + - Terminal: clear diff --git a/tmuxinator/zettelkasten.yml b/tmuxinator/zettelkasten.yml new file mode 100644 index 0000000..7883ba1 --- /dev/null +++ b/tmuxinator/zettelkasten.yml @@ -0,0 +1,5 @@ +name: Zettelkasten +root: ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Zettelkasten/ +windows: + - Zettelkasten: clear + - Highlights: cd ~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/Highlights/ && clear