mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Update plugin comfortable-motion settings
This commit is contained in:
parent
62ea9fbdc0
commit
0070fb25de
@ -901,6 +901,13 @@ let g:quickrun_config = {'outputter/buffer/close_on_empty': 1}
|
||||
let g:comfortable_motion_scroll_down_key = 'j'
|
||||
let g:comfortable_motion_scroll_up_key = 'k'
|
||||
|
||||
let g:comfortable_motion_no_default_key_mappings = 1
|
||||
" scroll based on window height
|
||||
nnoremap <silent> <C-d> :call comfortable_motion#flick(winheight(0) * 2)<CR>
|
||||
nnoremap <silent> <C-u> :call comfortable_motion#flick(winheight(0) * -2)<CR>
|
||||
nnoremap <silent> <C-f> :call comfortable_motion#flick(winheight(0) * 4)<CR>
|
||||
nnoremap <silent> <C-b> :call comfortable_motion#flick(winheight(0) * -4)<CR>
|
||||
|
||||
" Mouse settings
|
||||
noremap <silent> <ScrollWheelDown> :call comfortable_motion#flick(40)<CR>
|
||||
noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user