Skip to content
/ nvim Public

A neovim configuration based on LazyVim with an emphasis on modularity, simplicity and speed.

Notifications You must be signed in to change notification settings

n-crespo/nvim

Repository files navigation

image

My Neovim configuration based on the LazyVim distribution, with custom features to extend or remove functionality.

Comes in two varieties:

  • lite (default)
  • full (fully featured, enables support for more languages)

Set the environment variable NVIM_FULL_CONFIG=true to switch to the full config.

Cool Things

  • zoxide integration with snacks.picker
  • sensible markdown functionality
  • macro, my custom (borrowed/extended) color scheme
  • these keymaps
    • <C-S-C>: show word/char count
    • <CR>: follow links, gf, toggle checkboxes, etc
    • B, E: wrap-friendly version of 0 and $
    • w, e, and b: improved with spider
  • 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)
  • gcc
  • python
  • go
  • lazygit
  • clang
  • node
  • ripgrep/rg
  • fd
  • npm (for some language servers)
  • wslu (if using WSL)
  • xsel (if using WSL)

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

About

A neovim configuration based on LazyVim with an emphasis on modularity, simplicity and speed.

Resources

Stars

Watchers

Forks