Skip to content

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

License

Notifications You must be signed in to change notification settings

guuhuu/CosmicNvim

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’« CosmicNvim

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!

dashboard

πŸš€ 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.

πŸ›  Installation

Quick guide

Prerequisites

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

Install

  $ cd ~/.config
  $ git clone [email protected]:CosmicNvim/CosmicNvim.git nvim
  $ nvim .

Additional CosmicNvim installation details.

Additional LSP server installation details.

CosmicNvim uninstallation details.

🎨 Theming

CosmicNvim comes with first-class support for the following themes:

Additional Screenshots

βš™οΈ Configuration

General Info

Cosmic configurations

Plugin configurations

Add additional mappings

Add additional vim options

✨ Cosmic Commands

Update CosmicNvim

:CosmicUpdate

By default, this will assume the Cosmic git directory is placed at vim.fn.stdpath('config'), i.e. ~/.config/nvim. Otherwise, you may define the shell environment variable COSMICNVIM_INSTALL_DIR.

Clear cache and sync plugins

:CosmicReloadSync

Useful for changing themes or updating plugins on the fly!

Reload user config

:CosmicReload

Useful for non-plugin related changes such as editor settings or mappings.

πŸ—Ί Default Mappings

File navigation

File explorer

Terminal

LSP

Other

πŸ“· Screenshots

Statusline

normal

insert

visual

replace

Autocomplete

autocomplete

Rename

Screen Shot 2021-12-10 at 4 22 28 PM

Rename change notification

rename notification

Code Actions

Screen Shot 2021-12-10 at 3 37 38 PM

Hover

hover

See more screenshots

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%