All Projects → terryma → Vim Smooth Scroll

terryma / Vim Smooth Scroll

Make scrolling in Vim more pleasant

Labels

Projects that are alternatives of or similar to Vim Smooth Scroll

Phpcomplete Extended
A fast, extensible, context aware autocomplete plugin for PHP composer projects with code inspection features.
Stars: ✭ 218 (-16.79%)
Mutual labels:  viml
Dotfiles
My dotfiles
Stars: ✭ 238 (-9.16%)
Mutual labels:  viml
Spf13 Vim
The ultimate vim distribution
Stars: ✭ 15,235 (+5714.89%)
Mutual labels:  viml
Sachet
Handcraft your development environment
Stars: ✭ 221 (-15.65%)
Mutual labels:  viml
Vim Gocode
A Go bundle for Vundle or Pathogen
Stars: ✭ 232 (-11.45%)
Mutual labels:  viml
Drawit
Ascii drawing plugin: lines, ellipses, arrows, fills, and more!
Stars: ✭ 243 (-7.25%)
Mutual labels:  viml
Csapprox
Make gvim-only colorschemes work transparently in terminal vim
Stars: ✭ 215 (-17.94%)
Mutual labels:  viml
File Line
Plugin for vim to enabling opening a file in a given line
Stars: ✭ 260 (-0.76%)
Mutual labels:  viml
Flappyvird Vim
Stars: ✭ 236 (-9.92%)
Mutual labels:  viml
Fuzzyfinder
buffer/file/command/tag/etc explorer with fuzzy matching
Stars: ✭ 252 (-3.82%)
Mutual labels:  viml
Vim Maximizer
Maximizes and restores the current window in Vim.
Stars: ✭ 220 (-16.03%)
Mutual labels:  viml
Vim Yoink
Vim plugin that maintains a yank history to cycle between when pasting
Stars: ✭ 225 (-14.12%)
Mutual labels:  viml
Vim Online Thesaurus
A Vim plugin for looking up words in an online thesaurus
Stars: ✭ 242 (-7.63%)
Mutual labels:  viml
Autocomplpop
Automatically opens popup menu for completions
Stars: ✭ 219 (-16.41%)
Mutual labels:  viml
Piv
PHP Integration environment for Vim
Stars: ✭ 255 (-2.67%)
Mutual labels:  viml
Fuzzyfinder textmate
A vim script that extends the fuzzyfinder plugin to support TextMate style file searches (e.g. cmd-T) (Unmaintained now, see http://weblog.jamisbuck.org/2009/1/28/the-future-of-fuzzyfinder-textmate)
Stars: ✭ 216 (-17.56%)
Mutual labels:  viml
Conque Shell
Run interactive commands inside a Vim buffer
Stars: ✭ 241 (-8.02%)
Mutual labels:  viml
Vim Rubocop
The Vim RuboCop plugin runs RuboCop and displays the results in Vim
Stars: ✭ 262 (+0%)
Mutual labels:  viml
Vim Railscasts Theme
A vim color scheme based on the Railscasts Textmate theme.
Stars: ✭ 257 (-1.91%)
Mutual labels:  viml
Color Schemes
Color schemes I've used for an extended period of time and like
Stars: ✭ 244 (-6.87%)
Mutual labels:  viml

vim-smooth-scroll

About

vim-smooth-scroll makes scrolling in Vim nice and smooth. Find yourself completely lost every time you use Ctrl-f or Ctrl-b? You might want to give this plugin a try.

Installation

Install using Pathogen, Vundle, Neobundle, or your favorite Vim package manager.

Quick Start

Map your favorite keys like below:

noremap <silent> <c-u> :call smooth_scroll#up(&scroll, 0, 2)<CR>
noremap <silent> <c-d> :call smooth_scroll#down(&scroll, 0, 2)<CR>
noremap <silent> <c-b> :call smooth_scroll#up(&scroll*2, 0, 4)<CR>
noremap <silent> <c-f> :call smooth_scroll#down(&scroll*2, 0, 4)<CR>

Function

smooth_scroll#up and smooth_scroll#down both take the following 3 parameters. Customize it however you like

  • Distance: This is the total number of lines you want to scroll
  • Duration: This is how long you want each frame of the scrolling animation to last in milliseconds. Each frame will take at least this amount of time. It could take more if Vim's scrolling itself is slow
  • Speed: This is how many lines to scroll during each frame of the scrolling animation
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].