-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim.bak
54 lines (45 loc) · 1.47 KB
/
init.vim.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
" https://jdhao.github.io/2018/12/24/centos_nvim_install_use_guide_en/
set background=light
let g:pymode_rope_completion = 0
let g:pymode_rope_complete_on_dot = 0
if exists("$VIRTUAL_ENV")
let g:python3_host_prog=substitute(system("which -a python3 | head -n2 | tail -n1"), "\n", '', 'g')
else
let g:python3_host_prog=substitute(system("which python3"), "\n", '', 'g')
endif
call plug#begin('~/.local/share/nvim/plugged')
Plug 'easymotion/vim-easymotion'
Plug 'davidhalter/jedi-vim'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
let g:deoplete#enable_at_startup = 1
Plug 'zchee/deoplete-jedi'
Plug 'vim-airline/vim-airline'
Plug 'jiangmiao/auto-pairs'
Plug 'scrooloose/nerdcommenter'
Plug 'sbdchd/neoformat'
Plug 'scrooloose/nerdtree'
Plug 'neomake/neomake'
let g:neomake_python_enabled_makers = ['pylint']
Plug 'terryma/vim-multiple-cursors'
Plug 'machakann/vim-highlightedyank'
let g:highlightedyank_highlight_duration = 1000
Plug 'tmhedberg/SimpylFold', { 'on': [] }
call plug#end()
" set cul " highlight current line
" hi CursorLine term=none cterm=none ctermbg=5 " adjust color
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
au BufRead,BufNewFile *.py set expandtab
set expandtab
set textwidth=120
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set backspace=indent,eol,start
set ruler
set showcmd
" It's not works
augroup Indentation
autocmd!
autocmd FileType html set shiftwidth=4
augroup END