42 lines
979 B
Markdown
42 lines
979 B
Markdown
# get brew
|
|
https://docs.brew.sh/
|
|
|
|
# install nvim (HEAD to get access to goodies not in stable releases, lots happening rn)
|
|
|
|
`brew install neovim --HEAD`
|
|
|
|
# install tmux
|
|
`brew install tmux`
|
|
|
|
# install tpm (tmux package manager) https://github.com/tmux-plugins/tpm
|
|
`git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm`
|
|
|
|
|
|
# Wire it up
|
|
|
|
## put configs where they belong
|
|
nvim -> ~/.config/nvim
|
|
.tmux.conf -> ~/.tmux.conf
|
|
|
|
## OR link folders/files locally - keep them in a repo, refer to them from directories that programs look at
|
|
e.g.
|
|
|
|
```
|
|
mv ~/.tmux.conf ~/git/configs/.tmux.conf
|
|
ln .tmux.conf ~/.tmux.conf
|
|
```
|
|
|
|
That way You can keep all Your configs in a repo :)
|
|
|
|
# Run tmux & get packages
|
|
`tmux`
|
|
`C-x I` (Ctrl-x, shift-I) (can be with a pause between the 2 chords)
|
|
|
|
# for better workspace switching
|
|
`brew install zoxide`
|
|
then add Your fav directories
|
|
`zoxide add somedir`
|
|
and then You can `C-x C-x` and run a separate tmux session in the selected dir
|
|
|
|
|