All Projects → gcavallanti → Vim Noscrollbar

gcavallanti / Vim Noscrollbar

A scrollbar-like widget for the vim statusline

Labels

Projects that are alternatives of or similar to Vim Noscrollbar

Vim Nodejs Complete
nodejs 'omnifunc' function of vim
Stars: ✭ 118 (-8.53%)
Mutual labels:  viml
Vim Qfreplace
Perform the replacement in quickfix.
Stars: ✭ 121 (-6.2%)
Mutual labels:  viml
Spacemacs Theme.vim
Spacemacs-flavoured colorscheme for Vim and iTerm
Stars: ✭ 125 (-3.1%)
Mutual labels:  viml
Vim Space
space.vim - Smart Space key for Vim
Stars: ✭ 118 (-8.53%)
Mutual labels:  viml
Minimap Vim
Minimap for Vim
Stars: ✭ 121 (-6.2%)
Mutual labels:  viml
Vim Arduino
Compile and Deploy Arduino sketches in Vim
Stars: ✭ 122 (-5.43%)
Mutual labels:  viml
Greplace.vim
Global search and replace for VI
Stars: ✭ 116 (-10.08%)
Mutual labels:  viml
Vim Twig
Twig syntax highlighting, snipMate, etc.
Stars: ✭ 126 (-2.33%)
Mutual labels:  viml
Tmux Config
Configuration and tools for tmux. Can be used as a Vim plugin.
Stars: ✭ 121 (-6.2%)
Mutual labels:  viml
Vim Makegreen
MakeGreen runs make and shows a red or green message bar for success/failure. Speeds the red-green-refactor cycle!
Stars: ✭ 124 (-3.88%)
Mutual labels:  viml
Image.vim
View images in Vim, because Vim is awesome!
Stars: ✭ 119 (-7.75%)
Mutual labels:  viml
Vim Gradle
Simple little vim-bundle that recognizes .gradle files as being groovy syntax
Stars: ✭ 119 (-7.75%)
Mutual labels:  viml
Xml.vim
helps editing xml (and [x]html, sgml, xslt) files
Stars: ✭ 123 (-4.65%)
Mutual labels:  viml
Workflowish
A todo "plugin" for Vim, inspired by https://workflowy.com/
Stars: ✭ 118 (-8.53%)
Mutual labels:  viml
Perlomni.vim
perl omnicompletion for vim (including base class function compleltions .. etc)
Stars: ✭ 125 (-3.1%)
Mutual labels:  viml
Vim Ruby Xmpfilter
helper for ruby's xmpfilter or seeing_is_believing
Stars: ✭ 117 (-9.3%)
Mutual labels:  viml
Provim
Repository to hold dotfiles and scripts specific to ProVim
Stars: ✭ 122 (-5.43%)
Mutual labels:  viml
Quickfixsigns vim
Mark quickfix & location list items with signs
Stars: ✭ 126 (-2.33%)
Mutual labels:  viml
Vim Todo Lists
Vim plugin for TODO lists
Stars: ✭ 126 (-2.33%)
Mutual labels:  viml
Vim R Plugin
Plugin to work with R
Stars: ✭ 124 (-3.88%)
Mutual labels:  viml

Noscrollbar

Noscrollbar demo

Noscrollbar is a scrollbar-like widget for the vim statusline that provides a visual feedback of what part of a buffer is currently shown on screen.

The "no" in noscrollbar refers to the fact that the gripper cannot be really gripped and dragged, i.e., the scrollbar cannot be used to scroll the window with the mouse.

Installation

I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone https://github.com/gcavallanti/vim-noscrollbar.git

Once help tags have been generated, you can view the manual with :help noscrollbar.

How to use

Simply add %{noscrollbar#statusline()} to the statusline option and you are done. Example:

set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %{noscrollbar#statusline()}

The default behavior returns a string of length 20 where the dash character '-' is used to render the track of the scrollbar and the hash character '#' is used to render the gripper. The scrollbar look can be customized by passing the length, the track character and the gripper character. For example the default look is set by calling %{noscrollbar#statusline(20,'-','#')}.

High resolution mode

NoscrollBar comes with an high resolution mode. Check :help noscrollbar for details.

Self-Promotion

Like noscrollbar? Follow and/or star the repository. You might also want to follow me on GitHub.

License

Copyright (c) Giovanni Cavallanti. Distributed under the same terms as Vim itself. See :help license.

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].