vimrc备个份
Posted 君莫笑hhhhhh
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vimrc备个份相关的知识,希望对你有一定的参考价值。
set mouse=a set number set smartindent set expandtab set tabstop=4 set shiftwidth=4 set hlsearch set nocompatible set backspace=indent,eol,start let g:neocomplete#enable_at_startup = 1 set completeopt-=preview set laststatus=2 set cursorline nmap <F8> :TagbarToggle<CR> nmap <F3> :Autoformat<CR> nmap <F7> :NERDTreeToggle<CR> call plug#begin(‘~/.vim/plugged‘) Plug ‘majutsushi/tagbar‘ Plug ‘Raimondi/delimitMate‘ Plug ‘Chiel92/vim-autoformat‘ Plug ‘Shougo/neocomplete‘ Plug ‘scrooloose/nerdtree‘ Plug ‘vim-airline/vim-airline‘ Plug ‘Yggdroot/indentLine‘ call plug#end() let g:tagbar_type_go = { \ ‘ctagstype‘ : ‘go‘, \ ‘kinds‘ : [ \ ‘p:package‘, \ ‘i:imports:1‘, \ ‘c:constants‘, \ ‘v:variables‘, \ ‘t:types‘, \ ‘n:interfaces‘, \ ‘w:fields‘, \ ‘e:embedded‘, \ ‘m:methods‘, \ ‘r:constructor‘, \ ‘f:functions‘ \ ], \ ‘sro‘ : ‘.‘, \ ‘kind2scope‘ : { \ ‘t‘ : ‘ctype‘, \ ‘n‘ : ‘ntype‘ \ }, \ ‘scope2kind‘ : { \ ‘ctype‘ : ‘t‘, \ ‘ntype‘ : ‘n‘ \ }, \ ‘ctagsbin‘ : ‘gotags‘, \ ‘ctagsargs‘ : ‘-sort -silent‘ \ }
以上是关于vimrc备个份的主要内容,如果未能解决你的问题,请参考以下文章