nvim: init.vim: Remove vim swoop

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-27 16:32:24 +05:30
parent 6fbc3fae0f
commit 92c9516ab4

View file

@ -80,7 +80,6 @@ Plug 'vim-utils/vim-man'
Plug 'unblevable/quick-scope'
Plug 'igankevich/mesonic'
Plug 'rhysd/vim-clang-format', { 'for': [ 'c', 'cpp'] }
Plug 'pelodelfuego/vim-swoop'
Plug 'adelarsq/vim-matchit'
Plug 'stefandtw/quickfix-reflector.vim'
Plug 'yuttie/comfortable-motion.vim'
@ -424,17 +423,6 @@ autocmd BufRead,BufNewFile *.md,*.txt setlocal spell spelllang=en_uk
" Automatically resize the window
autocmd VimResized * wincmd =
" For swoop
let g:swoopUseDefaultKeyMap = 0
let g:swoopPatternSpaceInsertsWildcard = 0
let g:swoopAutoInsertMode = 0
let g:swoopWindowsVerticalLayout = 1
nmap <Leader>os :call Swoop()<CR>
vmap <Leader>os :call SwoopSelection()<CR>
nmap <Leader>om :call SwoopMulti()<CR>
vmap <Leader>om :call SwoopMultiSelection()<CR>
" CScope & skim integration
" Taken from https://gist.github.com/amitab/cd051f1ea23c588109c6cfcb7d1d5776
" However, the above gist has completely wrong mappings