diff options
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -82,12 +82,16 @@ nnoremap <silent> <localleader>h <Plug>(YCMToggleInlayHints) nnoremap gd :YcmCompleter GoToDefinition<CR> nnoremap <leader>gr :YcmCompleter GoToReferences<CR> nnoremap K :YcmCompleter GetDoc<CR> +" this will disable tab, allowing it to be used for ultisnips +let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] +let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] + " snippets " Trigger configuration. You need to change this to something other than <tab> if you use one of the following: " - https://github.com/Valloric/YouCompleteMe " - https://github.com/nvim-lua/completion-nvim -let g:UltiSnipsExpandTrigger="<C-space>" +let g:UltiSnipsExpandTrigger="<tab>" let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpBackwardTrigger="<c-z>" |