update
This commit is contained in:
@@ -9,12 +9,15 @@ Plugin 'VundleVim/Vundle.vim'
|
||||
|
||||
|
||||
Plugin 'junegunn/fzf.vim'
|
||||
" 搜索
|
||||
nmap <Leader>l :BLines
|
||||
nmap <Leader>L :Lines
|
||||
|
||||
" 全局搜索,即使文件没打开
|
||||
Plugin 'rking/ag.vim'
|
||||
|
||||
|
||||
" 新建文件自动添加模板
|
||||
Plugin 'aperezdc/vim-template.git'
|
||||
let g:templates_directory = '~/.vim/templates'
|
||||
|
||||
@@ -73,7 +76,7 @@ set updatetime=100
|
||||
|
||||
Plugin 'godlygeek/tabular'
|
||||
Plugin 'plasticboy/vim-markdown'
|
||||
Plugin 'suan/vim-instant-markdown'
|
||||
"Plugin 'suan/vim-instant-markdown'
|
||||
|
||||
Plugin 'Valloric/YouCompleteMe'
|
||||
|
||||
@@ -83,8 +86,8 @@ let g:ycm_collect_identifiers_from_tags_files = 1 " 开启 YCM基于
|
||||
"let g:syntastic_ignore_files=[".*\.py$"]
|
||||
let g:ycm_seed_identifiers_with_syntax = 1 " 语法关键字补全
|
||||
let g:ycm_confirm_extra_conf = 0 " 关闭加载.ycm_extra_conf.py提示
|
||||
let g:ycm_key_list_select_completion = ['<c-n>', '<Down>'] " 映射按键,没有这个会拦截掉tab, 导致其他插件的tab不能用.
|
||||
let g:ycm_key_list_previous_completion = ['<c-p>', '<Up>']
|
||||
let g:ycm_key_list_select_completion = ['<Down>'] " 映射按键,没有这个会拦截掉tab, 导致其他插件的tab不能用.
|
||||
let g:ycm_key_list_previous_completion = ['<Up>']
|
||||
let g:ycm_complete_in_comments = 1 " 在注释输入中也能补全
|
||||
let g:ycm_complete_in_strings = 1 " 在字符串输入中也能补全
|
||||
let g:ycm_collect_identifiers_from_comments_and_strings = 1 " 注释和字符串中的文字也会被收入补全
|
||||
@@ -103,7 +106,7 @@ let g:SuperTabDefaultCompletionType = "<c-n>"
|
||||
" xml html auto close
|
||||
Plugin 'alvan/vim-closetag'
|
||||
let g:jedi#documentation_command = ""
|
||||
let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.launch'
|
||||
let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.launch,*.vue'
|
||||
|
||||
|
||||
Plugin 'jiangmiao/auto-pairs'
|
||||
@@ -207,9 +210,10 @@ Plugin 'posva/vim-vue'
|
||||
"Plugin 'https://github.com/taketwo/vim-ros.git'
|
||||
|
||||
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
|
||||
|
||||
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
"Plugin 'Shougo/neocomplete.vim'
|
||||
|
||||
|
||||
call vundle#end() " required
|
||||
|
||||
Reference in New Issue
Block a user