Skip to content

karanBRAVO/neovim_nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim - Nvim Config

This is my neovim-nvim config.

Install neovim from https://github.com/neovim/neovim/releases

Requirements

  • gcc for nvim-treesitter

    sudo apt install build-essentials
  • ripgrep used by telescope (for searching)

    sudo apt install ripgrep
  • fd used by telescope (for searching)

    sudo apt install fd-find
  • git

    sudo apt install git
  • Nerdfont for rendering icons https://gist.github.com/matthewjberger/7dd7e079f282f8138a9dc3b045ebefa0

  • curl

    sudo apt install curl
  • clangd and clang-format (for c++ lsp and formatter support)

    sudo apt install clangd clang-format
  • node.js (follow official docs)

  • prettier (formatter)

    npm i -g prettier

Steps

  1. Install neovim

    sudo apt install neovim
  2. verify installation

    nvim
  3. create the config dir

    mkdir ~/.config/nvim/
  4. clone this repo

    git clone https://github.com/karanBRAVO/neovim_nvim.git
  5. remove git folder

    cd neovim_nvim
    rm -rf .git/
    rm README.md
  6. paste the config

    mv * ~/.config/nvim/

Additionals

  • Type :Lazy to open the Lazy-Menu.
  • Type :Mason to see all LSP, Formatters, Linters, etc.
  • Type :checkhealth for nvim health check