neovim plugins
This commit is contained in:
parent
6949d7e0da
commit
c237fd04f5
1 changed files with 33 additions and 9 deletions
|
|
@ -8,14 +8,18 @@ if dein#load_state('~/.config/nvim/plugins')
|
||||||
|
|
||||||
" let dein manage itself
|
" let dein manage itself
|
||||||
call dein#add('Shougo/dein.vim')
|
call dein#add('Shougo/dein.vim')
|
||||||
call dein#add('Shougo/deoplete.nvim')
|
|
||||||
call dein#add('Shougo/denite.nvim')
|
call dein#add('Shougo/denite.nvim')
|
||||||
|
call dein#add('Shougo/deoplete.nvim')
|
||||||
call dein#add('fatih/vim-go')
|
call dein#add('fatih/vim-go')
|
||||||
call dein#add('scrooloose/nerdcommenter')
|
call dein#add('hdima/python-syntax')
|
||||||
|
call dein#add('jiangmiao/auto-pairs')
|
||||||
call dein#add('neomake/neomake')
|
call dein#add('neomake/neomake')
|
||||||
call dein#add('ntpeters/vim-better-whitespace')
|
call dein#add('ntpeters/vim-better-whitespace')
|
||||||
call dein#add('tpope/vim-surround')
|
call dein#add('scrooloose/nerdcommenter')
|
||||||
|
call dein#add('scrooloose/nerdtree')
|
||||||
call dein#add('tpope/vim-repeat')
|
call dein#add('tpope/vim-repeat')
|
||||||
|
call dein#add('tpope/vim-surround')
|
||||||
|
call dein#add('zchee/deoplete-go')
|
||||||
|
|
||||||
call dein#end()
|
call dein#end()
|
||||||
call dein#save_state()
|
call dein#save_state()
|
||||||
|
|
@ -39,6 +43,8 @@ set expandtab
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
set smartindent
|
||||||
|
set formatoptions+=n
|
||||||
|
|
||||||
set wrap
|
set wrap
|
||||||
set linebreak
|
set linebreak
|
||||||
|
|
@ -50,7 +56,6 @@ set ignorecase
|
||||||
set smartcase
|
set smartcase
|
||||||
|
|
||||||
set cursorline
|
set cursorline
|
||||||
set cursorcolumn
|
|
||||||
|
|
||||||
set shortmess+=I
|
set shortmess+=I
|
||||||
|
|
||||||
|
|
@ -74,22 +79,41 @@ map ;% :vsplit<CR>
|
||||||
map ;0 :close<CR>
|
map ;0 :close<CR>
|
||||||
|
|
||||||
map ;w :w<CR>
|
map ;w :w<CR>
|
||||||
|
|
||||||
map ;b :Denite buffer<CR>
|
|
||||||
map ;e :Denite file_rec buffer<CR>
|
|
||||||
map ;f :Denite file_rec buffer<CR>
|
|
||||||
map ;q :q<CR>
|
map ;q :q<CR>
|
||||||
map ;x :x<CR>
|
map ;x :x<CR>
|
||||||
|
|
||||||
|
map ;b :Denite buffer<CR>
|
||||||
|
map ;f :Denite file_rec buffer<CR>
|
||||||
|
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
let g:deoplete#disable_auto_complete = 1
|
||||||
|
autocmd CompleteDone * silent! pclose!
|
||||||
|
set completeopt+=noselect
|
||||||
|
set completeopt+=menuone
|
||||||
|
set completeopt+=longest
|
||||||
|
|
||||||
let g:NERDSpaceDelims = 1
|
let g:NERDSpaceDelims = 1
|
||||||
let g:NERDCommentEmptyLines = 1
|
let g:NERDCommentEmptyLines = 1
|
||||||
let g:NERDTrimTrailingWhitespace = 1
|
let g:NERDTrimTrailingWhitespace = 1
|
||||||
map gcc \c<Space>
|
|
||||||
|
|
||||||
call neomake#configure#automake('w')
|
call neomake#configure#automake('w')
|
||||||
set formatoptions+=n
|
let g:neomake_serialize = 1
|
||||||
|
let g:neomake_serialize_abort_on_error = 1
|
||||||
|
let g:neomake_go_enabled_makers = ['go', 'govet']
|
||||||
|
nmap <Leader>e :lopen<CR>
|
||||||
|
|
||||||
autocmd BufEnter * EnableStripWhitespaceOnSave
|
autocmd BufEnter * EnableStripWhitespaceOnSave
|
||||||
autocmd BufNewFile,BufRead *.tako set filetype=python
|
autocmd BufNewFile,BufRead *.tako set filetype=python
|
||||||
|
|
||||||
|
map <leader>t :NERDTreeToggle<CR>
|
||||||
|
noremap <leader>a :NERDTreeFind<CR>
|
||||||
|
|
||||||
|
let g:python_highlight_all = 1
|
||||||
|
|
||||||
|
let g:go_highlight_types = 1
|
||||||
|
let g:go_highlight_functions = 1
|
||||||
|
let g:go_highlight_methods = 1
|
||||||
|
let g:go_highlight_structs = 1
|
||||||
|
let g:go_highlight_interfaces = 1
|
||||||
|
let g:go_highlight_operators = 1
|
||||||
|
let g:go_highlight_build_constraints = 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue