Skip to content

Commit c4c3b08

Browse files
committed
refactor(vim): remove plugin 'vim-smooth-scroll'
1 parent d1dd673 commit c4c3b08

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

vim/vimrc

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,6 @@ Plug 'matze/vim-move'
475475
" 将代码从多行转换为单行或将单行转换为多行.
476476
Plug 'AndrewRadev/splitjoin.vim'
477477

478-
" 使平滑的滚动内容.
479-
Plug 'terryma/vim-smooth-scroll'
480-
481478
" }}
482479

483480
" 加载自定义插件的配置文件.
@@ -800,16 +797,6 @@ if &rtp =~ '/vim-move,'
800797
let g:move_key_modifier = 'M'
801798
endif
802799

803-
"""""" terryma/vim-smooth-scroll
804-
" doc: https://github.com/terryma/vim-smooth-scroll
805-
"
806-
" NOTE: 不要映射 <C-b> 和 <C-f>, 因为会和 coc.nvim 插件的配置相冲突.
807-
808-
if &rtp =~ '/vim-smooth-scroll,'
809-
noremap <silent> <C-u> :call smooth_scroll#up(&scroll, 0, 2)<CR>
810-
noremap <silent> <C-d> :call smooth_scroll#down(&scroll, 0, 2)<CR>
811-
endif
812-
813800
" }}
814801

815802

0 commit comments

Comments
 (0)