/nvim

the vimrc I use for neovim nightly

Primary LanguageVim Script

Screen Shot 2020-12-02 at 1.00.23 PM.png

This is my neovim configuration.

Pros

  • Nearly make neovim like an IDE
  • helpful improvements
  • Run fast with nearly 60 plugins
  • Integrated with any useful command line tools like fzf

Table of contents

Installation

Using git

You can use git to install these configuration files.

git clone https://github.com/tandy1229/nvim ~/.config/nvim

# if you want it downloads faster you can run
git clone --depth=1 https://github.com/tandy1229/nvim ~/.config/nvim

Requirements

  • Python 3

  • pynvim

    To install it, you need to run in your terminal

    pip3 install pynvim
  • neovim-remote

    To install it, you need to run in your terminal

    pip3 install neovim-remote
  • Neovim 0.5+ ( Neovim nightly )

    • For compatibility with nvim-treesitter, need Neovim 0.5+
    • For using the colorscheme with nvim-deus, need Neovim 0.5+
  • Node.js 12.0+

    • For using the smart completion of coc.nvim
    • After installation, you must do npm install -g neovim
  • coc completion

    • For smart completion of the files.

      # for bash
      npm i -g bash-language-server
      # for go
      brew install gopls
  • fzf

  • ag (the_silver_searcher)

    You can install it with your package manager, if you use brew

    brew install the_silver_searcher

Options

  • textidote

    For users of tex to check the tex syntax

  • shellcheck

    Check the error of sh files

    You can install it with your package manager, if you use brew:

    brew install shellcheck
  • shfmt

    AutoFormat the sh file

    You can install it with your package manager, if you use brew:

    brew install shfmt
  • ranger

    Document arrangement

  • nerd-font

    Make your neovim perform better

  • lazygit

    Use git in a lazy way.

Speed

Due to I use 100 plugins to make my nvim perform more effective. My neovim become dull sometimes.

I try to make my vimrc file more simple to shorten its startup time, etc.

Doing these makes my neovim run faster.

With these effects, its startup merely use 150ms with those plugins!!!

References