Giter Club home page Giter Club logo

cosmicnvim's Introduction

๐Ÿ’ซ 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!

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.

๐Ÿ›  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

  # 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
  nvim +CosmicReloadSync

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

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 testing themes or 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

Screen Shot 2021-12-19 at 1 21 21 PM

Screen Shot 2021-12-19 at 1 21 35 PM

Screen Shot 2021-12-19 at 1 22 01 PM

Screen Shot 2021-12-19 at 1 22 18 PM

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

cosmicnvim's People

Contributors

hsheikhali1 avatar mattleong avatar rafaelderolez avatar socialsmoker223 avatar wuelnerdotexe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.