This is a customized Vim/Neovim
config for my using vim to edit effectively, this config act important role in my work with multiple project such as Android Source Code
, Linux Kernel
and so on.
So the config is more concerned on speed edit and analyze code more smartly along with effectively under excellent vim/neovim
All these
plugin
is not test underVim
butneovim
inubuntu
andarchlinux
, I strongly suggest you usingneovim
for this config, some plugin only work inneovim
Almost all these features is driven by all kinds of powerful plug. mainly include beautiful function blew,
- Find file by regex fzf git and so on
- Embeded with
ranger
file explorer - Search string by regex in current file and whole project workspace
- Code jump semantically or grammar, base on
GNU Global
tool andLSP
mechanism - Also support
async
doing something due to neovim's excellent asysnc mechanism - Buffer switch more smoothly and interactively
- Quick comment and uncomment code
- Auto generate
Doxygen Style
commit for coding - Integrated with
coc.nvim
the awesomeLSP
client for vim/neovim, support all LSP function likevscode
- Git work flow supported
- DAP(Debug Adapter Protocol) support for debug code the same as debug in vscode
- Markdown preview instantly, also include
PlantUML
support
More func to be added, update non-scheduled
About
LSP
more detailed informatio, check out the official specification at https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/.
You should first install these dependencies as below, make using vim/neovim more beautiful attribute to these deps
nodejs
curl -sL install-node.now.sh/lts | bash
Except above, neovim has to do these things blew,
pip install pynvim
yarn global add neovim
Make sure have installed vim 8.0+
or neovim 0.4.3+
git clone https://github.com/ABigBright/vimcfg-private.git $HOME/.vim
vim # auto do plug download and update when u first open vim
git clone https://github.com/ABigBright/vimcfg-private.git $HOME/.vim
mkdir -p $HOME/.config
ln -s $HOME/.vim $HOME/.config/nvim
nvim # auto do plug download and update when u first open neovim
in neovim, also execute :UpdateRemotePlugins after that
- vim plug
- vim panel