Giter VIP home page Giter VIP logo

nvim-kickstart's Introduction

kickstart.nvim

Introduction

Read FAQ at bottom first.

NOT a Neovim distribution, but instead a starting point for your configuration.

This fork contains only personal installation edits in readme.

NOTE Backup your previous configuration (if any exists) ~/.config/nvim

Installation

Install Neovim

Kickstart.nvim targets only the latest 'stable' and latest 'nightly' of Neovim. If you are experiencing issues, please make sure you have the latest versions.

External dependencies

sudo add-apt-repository ppa:neovim-ppa/stable -y # try /nightly if experiencing issues
sudo apt update
sudo apt install make gcc ripgrep unzip git xclip neovim

Clone kickstart.nvim from official repository (not mine)

git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim

Optional: NerdFont

  1. Download a suitable font https://www.nerdfonts.com/font-downloads e.g. JetBrainsMonoNerdFont
  2. Copy the font files to e.g. see below, update font-cache for system recognition
cp *.ttf ~/.local/share/fonts/
fc-cache -fv
fc-list | grep "JetBrainsMonoNerdFont" #  if font installed, path to the font listed
  • if you have it set vim.g.have_nerd_font in init.lua to true
  • Language Setup:
    • If want to write Typescript, you need npm
    • If want to write Golang, you will need go
    • etc.

Post Installation

Start Neovim

nvim

That's it! Lazy will install all the plugins you have. Use :Lazy to view current plugin status. Hit q to close the window.

Read through the init.lua file in your configuration folder for more information about extending and exploring Neovim. That also includes examples of adding popularly requested plugins.

Getting Started

Youtube tutorial: The Only Video You Need to Get Started with Neovim

FAQ

  • What should I do if I already have a pre-existing neovim configuration?

    • You should back it up and then delete all associated files.
    • This includes your existing init.lua and the neovim files in ~/.local which can be deleted with rm -rf ~/.local/share/nvim/
  • Can I keep my existing configuration in parallel to kickstart?

    • Yes! You can use NVIM_APPNAME=nvim-NAME to maintain multiple configurations. For example, you can install the kickstart configuration in ~/.config/nvim-kickstart and create an alias:
      alias nvim-kickstart='NVIM_APPNAME="nvim-kickstart" nvim'
      
      When you run Neovim using nvim-kickstart alias it will use the alternative config directory and the matching local directory ~/.local/share/nvim-kickstart. You can apply this approach to any Neovim distribution that you would like to try out.
  • What if I want to "uninstall" this configuration:

  • Why is the kickstart init.lua a single file? Wouldn't it make sense to split it into multiple files?

    • The main purpose of kickstart is to serve as a teaching tool and a reference configuration that someone can easily use to git clone as a basis for their own. As you progress in learning Neovim and Lua, you might consider splitting init.lua into smaller parts. A fork of kickstart that does this while maintaining the same functionality is available here:
    • Discussions on this topic can be found here:

nvim-kickstart's People

Contributors

amtoine avatar anthony-fiddes avatar chillerdragon avatar dam9000 avatar dennisrall avatar feoh avatar gangelop avatar kaminskypavel avatar kdheepak avatar luizcalliari avatar mech-a avatar neoh1 avatar nphyn1t3 avatar numkil avatar nwvi avatar pbnj avatar saccarosium avatar samposh avatar shashwatagrawal20 avatar slara avatar smiggiddy avatar sudo-tee avatar theopn avatar tjdevries avatar togglebyte avatar ttibsi avatar usernoemail-com avatar vladexa avatar vzaa avatar wommy 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.