My Neovim configuration based on the LazyVim distribution, with custom features to extend or remove functionality.
Important
See the min branch for a more lightweight, plugin-less config with similar
functionality implemented natively.
Note
See all plugin configurations in lua/plugins/all.lua.
- zoxide integration with snacks.picker
- sensible markdown functionality
- macro, my custom (borrowed/extended) color scheme
- some keymaps
<C-S-C>: show word/char count<CR>: to follow all kinds of linksB,E: wrap-friendly version of0and$
- these auto commands
- pluginless autosave
- trim trailing whitespace on save
- smarter cursorline (in active window only)
cargo install bob-nvim
bob install nightly
bob use nightlyneovim(>= 0.11 preferred)ripgrep/rgfdlazygitnode/npm(for some language servers)wslu(if using WSL)xsel(if using WSL)clanggccpythongo
Clone the repository and install the plugins:
# will not override current config
git clone git@github.com:n-crespo/nvim-config ~/.config/n-crespo/nvim-config
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# change this path to ~/.config/nvim to override current config
NVIM_APPNAME=n-crespo/nvim-config/ nvim --headless +"Lazy! sync" +qaOpen Neovim (if using custom install path):
NVIM_APPNAME=n-crespo/nvim-config/ nvimThese are not installed by default but are configured to work properly if installed.
oxfmt: replacement to prettier (Mason)doctoc: auto generate markdown tables of contents (Mason)- use command:
!doctoc % --notitleor justdoctoc .
- use command:
marksman: LSP completion/symbols for markdown (Mason)typos-lsp: LSP for catching/fixing typos. Also available as linter (no auto fix) (Mason)tombi: TOML support (use instead of TOML LazyExtra, which uses unmaintainedtaplo)
