From 2e7418ed064d7c4e6d296485b23a5d2721fc5584 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 22 May 2020 19:52:02 +0800 Subject: [PATCH] remove supertabs --- plugins.vim | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/plugins.vim b/plugins.vim index 8a022f6..6e6afa4 100644 --- a/plugins.vim +++ b/plugins.vim @@ -48,9 +48,6 @@ Plug 'zchee/deoplete-jedi', { 'for': 'python' } " Vim source for deoplete Plug 'Shougo/neco-vim', { 'for': 'vim' } - -" Insert mode completion -Plug 'ervandew/supertab' "}} "{{ Python-related plugins @@ -373,16 +370,16 @@ call deoplete#custom#option('auto_complete_delay', 100) " Enable deoplete auto-completion call deoplete#custom#option('auto_complete', v:true) -" Automatically close function preview windows after completion -" see https://github.com/Shougo/deoplete.nvim/issues/115. -" autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif - " Tab-complete, see https://vi.stackexchange.com/q/19675/15292. -" inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" """""""""""""""""""""""""UltiSnips settings""""""""""""""""""" " Trigger configuration. Do not use if you use YouCompleteMe -let g:UltiSnipsExpandTrigger='' +let g:UltiSnipsExpandTrigger='' + +" Do not look for SnipMate snippets +let g:UltiSnipsEnableSnipMate = 0 " Shortcut to jump forward and backward in tabstop positions let g:UltiSnipsJumpForwardTrigger='' @@ -391,19 +388,6 @@ let g:UltiSnipsJumpBackwardTrigger='' " Configuration for custom snippets directory, see " https://jdhao.github.io/2019/04/17/neovim_snippet_s1/ for details. let g:UltiSnipsSnippetDirectories=['UltiSnips', 'my_snippets'] - -"""""""""""""""""""""""""supertab settings"""""""""""""""""""""""""" -" Auto-close method preview window -let g:SuperTabClosePreviewOnPopupClose = 1 - -" Use the default top to bottom way for scroll, see -" https://github.com/ervandew/supertab#frequently-asked-questions -let g:SuperTabDefaultCompletionType = '' - -" Shortcut to navigate forward and backward in completion menu, -" see https://github.com/ervandew/supertab/blob/master/doc/supertab.txt#L280 -let g:SuperTabMappingForward = '' -let g:SuperTabMappingBackward = '' "}} "{{ Python-related