nvim: init.vim: Miscellaneous settings

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-24 18:59:44 +05:30
parent cc0e78bf1f
commit 64db0550c1

View file

@ -120,6 +120,8 @@ set splitright " Vertical split to right of current.
set nobackup " no backup files
set nowritebackup " only in case you don't want a backup file while editing
set noswapfile " no swap files
set wildoptions=pum
set pumblend=30
if !&scrolloff
set scrolloff=3 " Show next 3 lines while scrolling.
@ -402,6 +404,8 @@ vmap <Leader>os :call SwoopSelection()<CR>
nmap <Leader>om :call SwoopMulti()<CR>
vmap <Leader>om :call SwoopMultiSelection()<CR>
let g:vimtex_compiler_progname = 'nvr'
" CScope & skim integration
" Taken from https://gist.github.com/amitab/cd051f1ea23c588109c6cfcb7d1d5776
" However, the above gist has completely wrong mappings