Config for Vim, GVim and etc.
vim-plug
nerdtree
YouCompleteMe
auto-pairs
vim-gitgutter
vim-fugitive
ctrlp.vim
vim-ruby
emmet-vim
gruvbox (colorschemes)
colorscheme gruvbox
set background=dark
set number
set hlsearch
set incsearch
syntax on
Download / copy the .vimrc file to your home directory
Run the following command in the terminal to install the plugin manager:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
More info about the plugin manager vim-plug
Run vim, execute:
:PlugUpdate
:PlugInstall
You can also use the command:
:source ~/.vimrc
Error in vim:
YCM core library not de...you need to compile YCM before using it. Follow the instructions in the documentation
Run a command in the terminal:
sudo apt install build-essential cmake python3-dev
sudo apt-get install python-dev python3-dev
Compiling YCM without semantic support for C-family languages: (:exclamation: Notice! Compilation may take a long time :exclamation:)
cd ~/.vim/plugged/YouCompleteMe
python3 install.py
More info about YouCompleteMe
select-editor
Select a number and press enter:
Select an editor. To change later, run 'select-editor'.
- /bin/nano <---- easiest
- /usr/bin/vim.basic
- /usr/bin/mcedit
- /usr/bin/vim.tiny
- /bin/ed
Choose 1-5 [1]: 2