diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-14 01:31:44 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-14 01:31:44 +0800 |
| commit | e764ccdfd8bef31cfc0a130d3fb864be37fde00c (patch) | |
| tree | 967b3bb6bf1d227fb6b39646d486dc184e6c63df /plugins.vim | |
| parent | 3066281009ba8aee81b51ded38d48ea981b0c037 (diff) | |
replace comformatable-motion.vim with vim-smoothie
Diffstat (limited to 'plugins.vim')
| -rw-r--r-- | plugins.vim | 19 |
1 files 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 <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(20)<CR> -noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-20)<CR> - """""""""""""""""""""""""" asyncrun.vim settings """""""""""""""""""""""""" " Automatically open quickfix window of 6 line tall after asyncrun starts let g:asyncrun_open = 6 |
