From e764ccdfd8bef31cfc0a130d3fb864be37fde00c Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 14 Oct 2020 01:31:44 +0800 Subject: [PATCH] replace comformatable-motion.vim with vim-smoothie --- plugins.vim | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/plugins.vim b/plugins.vim index b1651f8..af48b4f 100644 --- a/plugins.vim +++ b/plugins.vim @@ -283,8 +283,8 @@ Plug 'mattn/emmet-vim' " Modern matchit implementation Plug 'andymass/vim-matchup' -" Simulating smooth scroll motions with physcis -Plug 'yuttie/comfortable-motion.vim' +" Smoothie motions +Plug 'psliwka/vim-smoothie' Plug 'tpope/vim-scriptease' @@ -860,21 +860,6 @@ augroup matchup_matchword_highlight autocmd ColorScheme * hi MatchWord cterm=underline gui=underline augroup END -""""""""""""""""""""""""comfortable-motion settings """""""""""""""""""""" -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(20) -noremap :call comfortable_motion#flick(-20) - """""""""""""""""""""""""" asyncrun.vim settings """""""""""""""""""""""""" " Automatically open quickfix window of 6 line tall after asyncrun starts let g:asyncrun_open = 6