Open friddle opened 9 years ago
I use neosnippet with YCM plugin, you have to manually add
imap <C-k> <Plug>(neosnippet_expand_or_jump)
"M compatible with UltiSnips (using supertab)
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:SuperTabDefaultCompletionType = '<C-n>'
" better key bindings for UltiSnipsExpandTrigger
let g:UltiSnipsExpandTrigger = "<C-k>"
let g:UltiSnipsJumpForwardTrigger = "<tab>"
let g:UltiSnipsJumpBackwardTrigger = "<s-tab>"
My problem is I can expand ultisnips at the beginning of a line use
Is this problem have somthing to do with spf13?
@ghost This line is already there in line 780 of .vimrc. Could you please elaborate where do I add it?
When using YouCompleteMe, the snippet expansion is remapped to <C-j>
(ctrl + J)
.
See https://github.com/spf13/spf13-vim/blob/3.0/.vimrc#L720
The didn't work out when you use vim-snippest in youcompleteme plugin.