Largely inspired by Nic's dotfiles who was inspired by Paul's dotfiles.
This repository contains configuration files (dotfiles) for various tools and applications. By using GNU Stow, these configurations can easily be managed and deployed across different systems.
GNU Stow is a symlink manager that simplifies the management of dotfiles by creating symbolic links from a central directory (this repository) to their target locations in your home directory. This keeps your configurations organized and portable.
For example, if you "stow" the nvim directory, Stow will link its contents into your home directory (e.g., ~/.config/nvim).
Ensure you have GNU Stow installed on your system. You can install it using your package manager:
- macOS: brew install stow
- Ubuntu/Debian: sudo apt install stow
Then clone this repo somewhere. Then unstow a configuration. (Not it will error if any files would be overwritten)
For instance running
stow nvim
Will create the following symslink
./dotfiles/nvim/.config/nvim -> ~/.config/nvim
Create a new directory in the dotfile repo and commit, then running stow will symlink them back into the correct dir!
Unstowing nvim will install lazyvim
Make sure to install latest neovim brew install neovim
and a font brew install --cask font-jetbrains-mono-nerd-font
Installing the zsh.
will also add a nice theme and some plugins.
When running nvim in a code dir.
The leader key space
will bring up a menu with short cuts. For instance
space
thenf
(file) then- side file explorer
e
- fuzzy file search
f
- terminal
t
- side file explorer
- short cut for git commands
:
thenG
G commit -m "fea: foobar"
- fold code under the cursor
z
thenc
- vertical windows split
w
thenv
- cut/copy/delete
v
to start "visual mode" (select text with arrow keys) theny
to "yank" copyp
to pasted
to delete