Skip to content
n-crespoPublic

About

A neovim configuration based on LazyVim but heavily extended/modified. min branch is a zero dependency, pluginless config.

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

3,220 Commits

Folders and files

Repository files navigation

image

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.

Cool Things

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 links
    • B, E: wrap-friendly version of 0 and $
  • these auto commands
    • pluginless autosave
    • trim trailing whitespace on save
    • smarter cursorline (in active window only)

Install

cargo install bob-nvim
bob install nightly
bob use nightly

Dependencies

  • neovim (>= 0.11 preferred)
  • ripgrep/rg
  • fd
  • lazygit
  • node/npm (for some language servers)
  • wslu (if using WSL)
  • xsel (if using WSL)
  • clang
  • gcc
  • python
  • go

Usage

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" +qa

Open Neovim (if using custom install path):

NVIM_APPNAME=n-crespo/nvim-config/ nvim

Recommended External Tools

These 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 % --notitle or just doctoc .
  • 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 unmaintained taplo)

About

A neovim configuration based on LazyVim but heavily extended/modified. min branch is a zero dependency, pluginless config.

Resources

Stars

11 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages