nvim/readme.md
Harun Sheikhali 9b27aae4c2
added nightfox colors (#29)
* added nightfox colours

Co-authored-by: Harun Sheikhali <harun.sheikhali@agilebits.com>
2021-11-21 18:31:30 -08:00

6.3 KiB

💫 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.6.0)
  • Node.js
  • prettierd (for prettier formatting w/null-ls, optional)
  • eslint_d (for eslint w/null-ls, optional)

Install

  $ cd ~/.config
  $ git clone git@github.com:mattleong/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:

Configuration

Cosmic configurations

Plugin configurations

Add additional mappings

Add additional vim options

More info

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.

Treesitter Support

Enter :TSInstall followed by to see your options for additional language support.

Default Mappings

File Navigation

File explorer

Terminal

LSP

Other

📷 Screenshots

Statusline

normal insert visual replace

Autocomplete

autocomplete

Rename

rename

Rename change notification

rename notification

Hover

hover

See more screenshots