All Projects → ojroques → Vim Scrollstatus

ojroques / Vim Scrollstatus

Licence: bsd-2-clause
A Vim plugin to display a scrollbar in the statusline

Projects that are alternatives of or similar to Vim Scrollstatus

Vim Bootstrap Updater
vim-bootstrap plugin to upgrade
Stars: ✭ 9 (-80.43%)
Mutual labels:  vim-plugin
Notational Fzf Vim
Notational velocity for vim.
Stars: ✭ 975 (+2019.57%)
Mutual labels:  vim-plugin
Vim Hexedit
Hexedit is a plug-in under VIM, which is used to strengthen the hex editing ability of VIM.
Stars: ✭ 42 (-8.7%)
Mutual labels:  vim-plugin
Quick Scope
Lightning fast left-right movement in Vim
Stars: ✭ 876 (+1804.35%)
Mutual labels:  vim-plugin
Vimrc
📝 Vim Configuration for nerds with vim-plug
Stars: ✭ 33 (-28.26%)
Mutual labels:  vim-plugin
Zepl.vim
Lightweight and easy REPL integration for Vim and Neovim.
Stars: ✭ 39 (-15.22%)
Mutual labels:  vim-plugin
Vim Clang Format
Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, TypeScript and ProtoBuf.
Stars: ✭ 837 (+1719.57%)
Mutual labels:  vim-plugin
Sad.vim
Quick search and replace for Vim
Stars: ✭ 44 (-4.35%)
Mutual labels:  vim-plugin
Tskeleton vim
File Templates and Code Skeletons/Snippets for VIM
Stars: ✭ 33 (-28.26%)
Mutual labels:  vim-plugin
Easytree.vim
easytree.vim - tree file manager
Stars: ✭ 41 (-10.87%)
Mutual labels:  vim-plugin
Ember Perfect Scroll
Perfect scroll component as an Ember cli addon
Stars: ✭ 21 (-54.35%)
Mutual labels:  scrollbar
Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (-28.26%)
Mutual labels:  vim-plugin
Plugpac.vim
Thin wrapper of minpac, provides vim-plug-like experience
Stars: ✭ 40 (-13.04%)
Mutual labels:  vim-plugin
Vim Gofmt
Formats Go source code asynchronously with multiple Go formatters.
Stars: ✭ 11 (-76.09%)
Mutual labels:  vim-plugin
Vuescroll
A customizable scrollbar plugin based on vue.js for PC , mobile phone, touch screen, laptop.
Stars: ✭ 1,016 (+2108.7%)
Mutual labels:  scrollbar
Briofita vim
colorful Vim colorscheme for both GUI and 256-color terminals
Stars: ✭ 9 (-80.43%)
Mutual labels:  vim-plugin
Vim Strand
A barebones Vim plugin manger written in Rust
Stars: ✭ 38 (-17.39%)
Mutual labels:  vim-plugin
Vim Grepper
👾 Helps you win at grep.
Stars: ✭ 1,030 (+2139.13%)
Mutual labels:  vim-plugin
Vim Outdated Plugins
🔄 Async Vim/Neovim plugin for showing the number of your outdated plugins
Stars: ✭ 44 (-4.35%)
Mutual labels:  vim-plugin
Incsearch.vim
🔦 Improved incremental searching for Vim
Stars: ✭ 1,009 (+2093.48%)
Mutual labels:  vim-plugin

vim-scrollstatus

A scrollbar for Vim statusline.

vim-scrollstatus

Installation

With vim-plug, in your .vimrc:

call plug#begin()
Plug 'ojroques/vim-scrollstatus'
call plug#end()

Usage

With vim-airline:

let g:airline_section_x = '%{ScrollStatus()}'

With lightline.vim:

let g:lightline = {
  \ 'active': {
  \   'right': [['lineinfo'], ['percent'], ['fileformat', 'fileencoding', 'filetype', 'charvaluehex']]
  \ },
  \ 'component_function': {'percent': 'ScrollStatus'},
  \ }

By default the scrollbar is 20 characters long. You can set another value with:

let g:scrollstatus_size = 12

By default the symbols are set to for the track and for the bar. To change them:

let g:scrollstatus_symbol_track = '-'
let g:scrollstatus_symbol_bar = '|'

Example

To reproduce the statusline from the screenshot:

call plug#begin()
Plug 'vim-airline/vim-airline'
Plug 'ojroques/vim-scrollstatus'
call plug#end()

let g:airline_section_x = '%{ScrollStatus()} '
let g:airline_section_y = airline#section#create_right(['filetype'])
let g:airline_section_z = airline#section#create([
            \ '%#__accent_bold#%3l%#__restore__#/%L', ' ',
            \ '%#__accent_bold#%3v%#__restore__#/%3{virtcol("$") - 1}',
            \ ])
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].