Skip to content

nhatnm0612/my-vimrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My vim configuration

Pre-install

Remove vim-tiny and install vim

sudo apt remove vim-tiny
sudo apt update
sudo apt install vim

Usage

  1. Create .vim folder inside /home/$(whoami) then change working directory to it
mkdir ~/.vim
cd ~/.vim
  1. Clone my repo into current working dir and then update submodules
git clone git@github.com:nhatnm0612/my-vimrc.git .
git submodule update --init --recursive

Start

cd ~/.vim
vi vimrc
:source %

Working with python third-party packages

  1. Install required cmake (you may need some more application to install YouCompleteMe)
sudo apt install cmake
  1. Installing youcompleteme for python
cd ~/.vim/pack/plugins/start/youcompleteme
python3 install.py
  1. Add third-party package path to sys_path by editing this file .ycm_extra_conf.py inside youcompleteme folder and add Settings function at the end of that file:
def Settings( **kwargs ):
  return {
    'sys_path': [
      '/path/to/some/third_party/package',
      '/path/to/another/third_party/package'
    ]
  }

About

My vim configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published