nvim: init.vim: Use custom bindings for smoothie
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
05a281029f
commit
a42cc7bba7
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue