Skip to content

kimbob13/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-config

Due to requirements of some plugins, recommend to use latest release of Neovim or nightly version

Prerequisite

Debian / Ubuntu

sudo apt install git
sudo apt install build-essential # C/C++ compiler
sudo apt install ripgrep
sudo apt install cscope
sudo apt install bear

Arch Linux

sudo pacman -S git
sudo pacman -S gcc # g++ included in this package
sudo pacman -S ripgrep
sudo pacman -S cscope
sudo pacman -S bear

Fedora

sudo dnf install git
sudo dnf install gcc gcc-c++
sudo dnf install ripgrep
sudo dnf install cscope
sudo dnf install bear

Windows

  • Recommend to use Scoop package manager
  • bear is not supported in Windows
scoop install git
scoop install gcc
scoop install ripgrep
scoop install cscope

macOS

  • Recommend to use Homebrew package manager
  • Default C/C++ compiler in macOS is clang, which can be installed with Xcode command line tools
  • git also can be installed with Xcode command line tools
brew install ripgrep
brew install cscope
brew install bear

FreeBSD

  • FreeBSD ships with pre-installed C/C++ compiler (clang)
sudo pkg install git
sudo pkg install ripgrep
sudo pkg install cscope
sudo pkg install bear

Plugins List

Explicit

Implicit (only for dependency)

Language-specific Settings and Remarks.

C

  • In the cscope_maps.nvim configuration, I set a default keymap for :Cscope build as F5.
  • Since cscope_maps.nvim do not support origianl :cs command (only :Cscope), I make a alias so that :cs becomes :Cscope
  • You may build your own C projects with bear to generate compile_command.json. It would help colorscheme plugin make more accurate syntax highlighting.

About

My Neovim Config

Resources

Stars

Watchers

Forks

Languages