A command for managing tmux sessions for your projects.
Run ide path/to/my/project
, and you'll find yourself within a nicely named tmux session with your favourite editor and lazygit ready to go.
The session will be tied to the folder/file location itself. You can detach it, do other work, and return back right where you were by running ide path/to/my/project
again.
Additional niceties:
- You can freely use both relative and absolute paths as argument, as under the hood the session is always tied to the absolute path of the file/folder you provided.
- If the file or folder you opened is within a git repository and
lazygit
is installed, a secondary window withlazygit
is opened in the repository root.
Psst: If configuring and installing all of these sounds like too much work, you can find preconfigured versions from boringconfigs.
- lazygit for easier and quicker git actions.
- Helix to be used as your text editor, aka
$EDITOR
. - fzf for fuzzy finding folders.
ide [path]
or, even better, if you have fzf installed, you can do
ide **<tab>
and fuzzy find your way to whereever you want to go.
path
(optional) - Path to the project root directory or a file. If not provided, the current directory is used.
brew install EskelinenAntti/cli/tmux-ide