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 <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-25 15:38:00 +05:30
parent 9836b05e6a
commit 1f28479f98

View file

@ -142,7 +142,7 @@ set termguicolors " Enable colors for terminal
set fileformat=unix set fileformat=unix
set clipboard^=unnamed,unnamedplus set clipboard^=unnamed,unnamedplus
set completeopt=menuone,preview,noinsert set completeopt=menuone,noselect,preview,noinsert
" Theme " Theme
syntax enable syntax enable
@ -409,6 +409,7 @@ nmap <Leader>om :call SwoopMulti()<CR>
vmap <Leader>om :call SwoopMultiSelection()<CR> vmap <Leader>om :call SwoopMultiSelection()<CR>
let g:vimtex_compiler_progname = 'nvr' let g:vimtex_compiler_progname = 'nvr'
let g:SuperTabDefaultCompletionType = "<c-n>"
" CScope & skim integration " CScope & skim integration
" Taken from https://gist.github.com/amitab/cd051f1ea23c588109c6cfcb7d1d5776 " Taken from https://gist.github.com/amitab/cd051f1ea23c588109c6cfcb7d1d5776