This repo consists of all my dotfiles. 🔥 Amazing nvim configuration. Tmux configurations and all that stuff.
Installation
Overview
Keybinds
First, clone this repo to your home directory:
git clone git@github.com:realecto/.dotfiles.git
Then, using GNU stow you can stow the particular modules you want:
stow tmux nvim zsh
Done!
💤 Lazy.nvim the Package manager
📁 Neo-tree as File explorer
🔭 Telescope as File finder
🔔 Lua Line for Status bar
🤓 Completions and Docstrings
🌊 Kanagawa themed
- Uses nvim's built in lsp.
- nvim-lspconfig provides default lsp configurations.
- Mason is a manager for LSPs, Linters, and Formatters.
- Mason-null-ls is to allow Mason and none-ls to work together
- None-ls is to make linters and formatters work.
npm packages used:
- eslint_d
- pyright
- prettier
- @tailwindcss/language-server
- typescript-language-server
- Installing wget, curl, git, ripgrep, and zsh.
- Installing Oh My Zsh. And apply my .zshrc
- Install Neovim
- Install Node.js, fnm, and yarn
- Install relevant yarn packages
- Pyenv + Python build dependencies
- GNU gcc
- Python3
- Hugo
- Deno
- Tmux
- My dotfiles
| Function | Keymap |
|---|---|
| space + gc | Comment line |
| space + gb | Block Comment |
| space + nf | Generate Docstring |
| space + gr | Find references |
| space + gd | Find definition |
| space + t | Go Back |
| space + ca | Code action |
| space + rn | Rename |
| K | Show hover information |
| ctrl + n | Open neo-tree |
| ctrl + h | Hide neo-tree |
| space + gf (or write file) | Format Code |
| ctrl + p | Open telescope |
| ctrl + c | Close telescope |
| space + fg | Live grep telescope |
| space + fb | Search for buffer |
| ctrl + p / Ctrl + n | Next/Previous in telescope |
| space + en | Telescope in nvim configuration folder |
| z= | Vim spell correct suggestions |
| space + fr | Find and replace |
| space + nh | Un-highlight |
| space + fx | Turn current file into executable |
| F5 | Run current python script |
| space + p | Paste without resetting default register |
| space + y/yy | Yank into system clipboard |
| space + d/dd | Delete without resetting default register |
| K / J | Move selection up and down |
Mostly stock settings.
Leader is remapped to <ctrl + s>
| Function | Keymap |
|---|---|
| leader + % | Create pane to the right |
| leader + " | Create pane below |
| leader + c | Create new window |
| leader + number | Move to window number |
| leader + , | Rename window |
| leader + d | Detach from current session |
| leader + [ | Enter copy mode |