diff options
-rw-r--r-- | Editor/vimrc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Editor/vimrc b/Editor/vimrc index fff1f02..13a08ca 100644 --- a/Editor/vimrc +++ b/Editor/vimrc @@ -10,6 +10,10 @@ Plugin 'tpope/vim-surround' Plugin 'tpope/vim-repeat' Plugin 'takac/vim-hardtime' +Plugin 'Valloric/YouCompleteMe' +Plugin 'SirVer/ultisnips' +Plugin 'honza/vim-snippets' + call vundle#end() " required filetype plugin indent on " required @@ -98,3 +102,24 @@ let g:hardtime_maxcount = 2 let g:hardtime_default_on = 1 let g:hardtime_showmsg = 0 let g:hardtime_allow_different_key = 1 + + +" YouCompleteMe +let g:ycm_dont_warn_on_startup = 0 +let g:ycm_complete_in_comments = 1 +let g:ycm_complete_in_strings = 1 +let g:ycm_collect_identifiers_from_comments_and_strings = 1 +let g:ycm_filetype_blacklist = {} +let g:ycm_key_list_select_completion = ['<C-j>', '<C-n>', '<Down>'] +let g:ycm_key_list_previous_completion = ['<C-k>', '<C-p>', '<Up>'] + +" supertab +let g:SuperTabDefaultCompletionType = '<C-n>' +let g:SuperTabCrMapping = 0 + +" ultisnips +let g:UltiSnipsSnippetsDir='~/.vim/snippets' +let g:UltiSnipsEditSplit='vertical' +let g:UltiSnipsExpandTrigger = '<tab>' +let g:UltiSnipsJumpForwardTrigger = '<tab>' +let g:UltiSnipsJumpBackwardTrigger = '<s-tab>' |