nvim: init.vim: Use custom bindings for smoothie

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-12-30 20:22:28 +05:30
parent 05a281029f
commit a42cc7bba7

View file

@ -204,6 +204,11 @@ cnoremap <Esc> <Nop>
nnoremap ; :
" Use Q to execute default register.
nnoremap Q <Nop>
" Smooth scroll
nmap <S-J> <Plug>(SmoothieDownwards)
nmap <S-K> <Plug>(SmoothieUpwards)
nmap <S-F> <Plug>(SmoothieForwards)
nmap <S-B> <Plug>(SmoothieBackwards)
" For Fuzzy
nnoremap ff :GFiles<CR>
@ -662,9 +667,10 @@ let g:netrw_winsize = 10
" For SLIMV
let g:lisp_rainbow=1
" For Purescript
let g:psc_ide_auto_imports = 1
" For vim-smoothie. We want to Shift instead of Ctrl for scroll.
let g:smoothie_no_default_mappings = 1
" ----------------------------- Functions ------------------------------------
function! Cscope(option, query)