I like vim so much. it's lazy for me to write a color scheme all this things you can do with the website http://bytefluent.com/vivify/
I like the style of visual studio however I still can't create a one like that
- auto complete(using youcompleteme)
- gd means goto the definition of the function based on youcompleteme
- F4 shows the syntax error checked by youcompleteme,or move cursor to the error line it will display a short error message for you
- NERD tree view directories with F3 ,quit with q
- jump to head of line with the key 0 and end of line with the key -
- ctrl+/ to comment and uncomment c/c++ file type
# use this repository as .vim fold
git clone https://github.com/JumHorn/vim.git ~/.vim
# replace .vimrc file in your home directory
cp ~/.vim/.vimrc ~- vundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vimhttps://github.com/VundleVim/Vundle.vim/blob/master/README.md
choose different url to speed up downloads
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
" Git plugin not hosted on GitHub
Plugin 'https://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'start download plugin
vim
# esc shift+:
PluginInstall- build YouCompleteMe
current YouCompleteMe must be with C++17
cd ~/.vim/bundle/YouCompleteMe
# compile
./install.py --clangd-completer
# copy configuration file
cp .ycm_extra_conf.py ~/.vim/- apt install clang-format
this step is not necessary only if your YCM doesn't complete your code
- find clang path
- clang
echo | clang -v -E -x c++ -- gcc
echo | gcc -E -Wp,-v -s -