neovim config
Find a file
2021-11-07 23:05:24 -08:00
lua/cosmic feat(utils): update command enhancements 2021-11-07 23:05:24 -08:00
.gitignore refactor(config): rename example configs 2021-11-06 22:16:16 -07:00
init.lua feat(plugins): clean up 2021-11-05 20:34:01 -07:00
LICENSE Initial commit 2021-10-19 10:16:57 -07:00
readme.md feat(readme): update statusline screens 2021-11-07 19:15:37 -08:00

💫 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!

🚀 Stellar Features

Native LSP

Full featured native LSP functionality!

  • 📘 Go-to definition
  • 🔍 Find references/type def/declaration
  • 💡 Code actions
  • 🚨 Statusline diagnostics
  • ⚠️ Linting thanks to eslint
  • 🔧 Formatting thanks to efm
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

Install

  $ cd ~/.config
  $ git clone git@github.com:mattleong/CosmicNvim.git nvim
  $ nvim .

Additional Cosmic installation details.

Additional LSP server installation details.

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.

Reload user config

:CosmicReloadConfig

Reload CosmicNvim

:CosmicReload

Configuration

Cosmic configurations

Plugin configurations

Add additional mappings

Add additional vim options

More info

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

Dashboard

dashboard

Autocomplete

autocomplete

Rename

rename

Rename change notification

rename notification

Hover

hover

See more screenshots