首页 > 代码库 > vimrc备个份
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备个份
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。