This is my own personal nvim config. I keep this as backup in case I wiped my config.
Intended for personal use (in termux and linux distros) but may work for others as well.
You are welcomed to fork and use my config.
There is no guarantee of stability or compatibility. Everything may change at anytime.
- modernish look (with catppuccin)
- autocompletion with lsp
- autosave
- telescope.nvim
- quick word jumping with flash.nvim
- ai autocompletion via codeium (non-termux)
Open init.lua
, find local servers = {}
near the start of file.
Add or remove lsp server names as desired. lsp server names are from lspconfig.
LSP servers must be installed separately and on $PATH.
Run :help lspconfig-all
to list all possible lsp integrations with some instructions on how to install them.
Some of the lsp presets here is configured to use the bun
runtime.
tt
: opens Telescope.nvimff
: opens nvim-treecf
: formats code
codeium binary does not work with termux the last time I checked, hence plugin is disabled by default.
mv ~/.config/nvim ~/.config/nvim.old
git clone https://github.com/wmartinmimi/nvim-config ~/.config/nvim
If Lazy shows error on first install, reopen nvim, run :Lazy
, and run update (U).
WSL2 may bug out on some git repo, where scripts complain about ^M
.
if so, run the following on the affected plugins in ~/.local/share/nvim/lazy
git config core.autocrlf false
git reset --hard HEAD
- Nerdfont (for pretty text icon)
Download a nerdfont, paste in ~/.termux, and rename to font.ttf
.
<ESC>:qa<ENTER>
MIT Licensed