Git Product home page Git Product logo

nvim-starter's Introduction

neovim starter config

Simple configuration to get started with with Neovim.

image

image

image

What's included

It does not include some things, but can be integrated as needed.

Usage

Neovim 0.7 is required. Paste init.lua into ~/.config/nvim/init.lua.

mkdir -p ~/.config/nvim
curl -sL https://raw.githubusercontent.com/rstacruz/nvim-starter/main/init.lua -o ~/.config/nvim/init.lua
# ...or paste init.lua into ~/.config/nvim/init.lua

Alternatively, if you just want to give it a try without overriding your config:

# Create a nvim directory
mkdir -p ~/nvim-starter/{nvim,data}
cd ~/nvim-starter
curl -sL https://raw.githubusercontent.com/rstacruz/nvim-starter/main/init.lua -o nvim/init.lua

# start nvim with this nvim directory
XDG_CONFIG_HOME=$(pwd) XDG_DATA_HOME=$(pwd)/data nvim
Not using bash/zsh?
# ...alternatively, for fish shell users:
XDG_CONFIG_HOME=(pwd) XDG_DATA_HOME=(pwd)/data nvim

Adding languages

Edit init.lua, and enable syntax for them (under nvim-treesitter.configs). Optionally, advanced features can be unlocked by enablieng their language server (under lspconfig).

Goals

  • Provide a template for new Neovim users to start with
  • Keep it in 1 file (init.lua) under 150 lines as much as possible

Also see

nvim-starter's People

Contributors

rstacruz avatar angelofallars avatar darwintantuco avatar

Watchers

 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.