diff options
Diffstat (limited to 'core/plugins.vim')
| -rw-r--r-- | core/plugins.vim | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index 75dafe5..19d4c07 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -447,14 +447,14 @@ require'compe'.setup { } vim.o.completeopt = "menuone,noselect" -EOF -" nvim-comple mappings -inoremap <silent><expr> <C-Space> compe#complete() -inoremap <silent><expr> <CR> compe#confirm('<CR>') -inoremap <silent><expr> <C-e> compe#close('<C-e>') -inoremap <silent><expr> <C-f> compe#scroll({ 'delta': +4 }) -inoremap <silent><expr> <C-d> compe#scroll({ 'delta': -4 }) +-- nvim-comple mappings +vim.api.nvim_set_keymap('i', '<C-Space>', 'compe#complete()', {expr = true}) +vim.api.nvim_set_keymap('i', '<CR>', "compe#confirm('<CR>')", {expr = true}) +vim.api.nvim_set_keymap('i', '<C-e>', "compe#close('<C-e>')", {expr = true}) +vim.api.nvim_set_keymap('i', '<C-f>', "compe#scroll({'delta': +4})", {expr = true}) +vim.api.nvim_set_keymap('i', '<C-d>', "compe#scroll({'delta': -4})", {expr = true}) +EOF """""""""""""""""""""""""UltiSnips settings""""""""""""""""""" " Trigger configuration. Do not use <tab> if you use YouCompleteMe |
