diff --git a/plugins.vim b/plugins.vim index 3d3ba3f..704f202 100644 --- a/plugins.vim +++ b/plugins.vim @@ -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 :call comfortable_motion#flick(winheight(0) * 2) +nnoremap :call comfortable_motion#flick(winheight(0) * -2) +nnoremap :call comfortable_motion#flick(winheight(0) * 4) +nnoremap :call comfortable_motion#flick(winheight(0) * -4) + " Mouse settings noremap :call comfortable_motion#flick(40) noremap :call comfortable_motion#flick(-40)