• ~/.vimrc ``` set nu syntax enable syntax on set encoding=utf8 set showmode set showcmd set mouse=a set noswapfile set cursorline set relativenumber set t_Co=256 set hlsearch set autoindent set tabstop=4 set smarttab set shiftwidth=2 set expandtab set softtabstop=4 set shiftround set cursorline set wrap set linebreak set scrolloff=5 set laststatus=2 set incsearch set autoread set wildmenu set showmatch set visualbell set cindent set smartindent set autoindent set clipboard=unnamed call plug#begin(‘~/.vim/plugged’) Plug ‘scrooloose/nerdtree’, { ‘on’: ‘NERDTreeToggle’} Plug ‘lervag/vimtex’ Plug ‘fatih/vim-go’, { ‘do’: ‘:GoUpdateBinaries’ } Plug ‘neoclide/coc.nvim’, {‘do’: ‘yarn install —frozen-lockfile’} call plug#end() nnoremap n :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :NERDTreeFind

    let g:tex_flavor=’xelatex’ let g:vimtex_quickfix_mode=0 let g:clang_complete_copen=1

    let g:clang_periodic_quickfix=1

    let g:clang_snippets=1

    let g:clang_close_preview=1

    let g:clang_use_library=1 let g:clang_user_options=’-stdlib=libc++ -std=c++11 -IIncludePath’ let g:neocomplcache_enable_at_startup = 1
    set conceallevel=1

    1. - ~/.pip/pip.conf

    [global] index-url = http://pypi.douban.com/simple trusted-host = pypi.douban.com disable-pip-version-check = true timeout = 120

    ```