Skip to content

ABigBright/vimcfg-private

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vimcfg

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 under Vim but neovim in ubuntu and archlinux, I strongly suggest you using neovim for this config, some plugin only work in neovim

Feature

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 and LSP 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 awesome LSP client for vim/neovim, support all LSP function like vscode
  • 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/.

Getting Started

Dependencies

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

Installing

Make sure have installed vim 8.0+ or neovim 0.4.3+

For vim

git clone https://github.com/ABigBright/vimcfg-private.git $HOME/.vim
vim # auto do plug download and update when u first open vim

For neovim

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

Screenshot

  • vim plug

vim plug

  • vim panel

vim panel