configs/readme.md
Kacper Marzecki ebb598e2d1 asd
2025-10-20 17:45:15 +02:00

61 lines
1.5 KiB
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`
# install fzf & lazygit
`brew install fzf lazygit`
# Wire it up
## put configs where they belong
nvim -> ~/.config/nvim
.tmux.conf -> ~/.tmux.conf
## You can use many nvim configs at the same time
nvim -> ~/.configs/mycustomvim
and then run
`NVIM_APPNAME=mycustomvim nvim`
You can also make a script for this (as seen in ./scripts/n)
## 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
# Useful nvim thingies
Imma refer to `Space` as `$` (Leader)
## Custom w e b -> powered by `spider`
## $ g g -> lazygit
## C-/ -> open/close terminal
## C-hjlk -> move between windows
## $ e -> toggle file tree
## $ $ -> find file
## $ f f -> search searches :) e.g. colorscheme, keymaps