Awesome Open Source
Awesome Open Source


Neovim Minimum Version GitHub last commit Discord Website

CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a COSMIC programming experience!

Screen Shot 2021-12-19 at 1 25 24 PM

Stellar Features

Native LSP

Full featured native LSP functionality!

  • Go-to definition
  • Find references/type def/declaration
  • Code actions
  • Statusline diagnostics
  • Formatting/linting thanks to null-ls

Additional features

While CosmicNvim is geared specifically toward TypeScript/JavaScript development, it should be able to provide a great experience with any LSP supported language.


Quick guide


  • Neovim (+0.8.0)
  • Node.js
  • prettierd (for prettier formatting w/null_ls, optional)
  • eslint_d (for eslint w/null_ls, optional)


  # move to config dir
  cd ~/.config
  # back up current config
  cp -r nvim nvim.backup
  # clone repository
  git clone [email protected]:CosmicNvim/CosmicNvim.git nvim
  # open nvim and install plugins

By default, this will assume the Cosmic git directory is placed at vim.fn.stdpath('config'), i.e. ~/.config/nvim. If you are symlinking your pulled repo to ~/.config/nvim, you must define the shell environment variable COSMICNVIM_INSTALL_DIR that points to your installation.

Additional CosmicNvim installation details.

Additional LSP server installation details.

CosmicNvim uninstallation details.


New documentation coming soon!


General Info

Cosmic configurations

Add additional vim options

Cosmic Commands

Update CosmicNvim

Updates CosmicNvim to the latest version


Default Mappings

File navigation

File explorer





See more

Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,156,493
Typescript (305,687
Reactjs (175,205
Vue (72,985
Lua (38,401
Vim (18,817
Dotfiles (11,274
Vscode (10,586
Ide (9,230
Svelte (7,591
Neovim (4,784
Hacktoberfest2021 (3,011
Vimrc (2,275
Neovim Dotfiles (203
Neovim Configuration (168
Neovim Lua (144
Telescope (137
Neovim Config (133