From 1f28479f98fc5f51b1e8b55153a07670962f80e8 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 25 Nov 2019 15:38:00 +0530 Subject: [PATCH] nvim: init.vim: Fix tabbing in deoplete Use supertab to fix tabbing in deoplete which is backward and change completeopt. Signed-off-by: Sanchayan Maity --- nvim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/init.vim b/nvim/init.vim index 8651f58..7d36311 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -142,7 +142,7 @@ set termguicolors " Enable colors for terminal set fileformat=unix set clipboard^=unnamed,unnamedplus -set completeopt=menuone,preview,noinsert +set completeopt=menuone,noselect,preview,noinsert " Theme syntax enable @@ -409,6 +409,7 @@ nmap om :call SwoopMulti() vmap om :call SwoopMultiSelection() let g:vimtex_compiler_progname = 'nvr' +let g:SuperTabDefaultCompletionType = "" " CScope & skim integration " Taken from https://gist.github.com/amitab/cd051f1ea23c588109c6cfcb7d1d5776