sponsor Vim development Vim logo Vim Book Ad

vim-scroll-position : Displays the relative position of the cursor on the left side of the screen

 script karma  Rating 8/4, Downloaded by 292    Comments, bugs, improvements  Vim wiki

created by
Junegunn Choi
 
script type
utility
 
description
Displays the relative position of the cursor within the buffer on the left side of the screen using the `sign` feature.
This plugin is experimental and might slow down the rendering of Vim.

https://github.com/junegunn/vim-scroll-position

Sign style can be customized as follows.

" Default markers
let g:scroll_position_marker         = '>'
let g:scroll_position_visual_begin   = '^'
let g:scroll_position_visual_middle  = ':'
let g:scroll_position_visual_end     = 'v'
let g:scroll_position_visual_overlap = '<>'

" Additional markers disabled by default due to slow rendering
" let g:scroll_position_jump = '-'
" let g:scroll_position_change = '+'

" Not to enable plugin by default
" let g:scroll_position_auto_enable = 0

set t_Co=256

hi SignColumn                  ctermbg=232
hi ScrollPositionMarker        ctermfg=208 ctermbg=232
hi ScrollPositionVisualBegin   ctermfg=196 ctermbg=232
hi ScrollPositionVisualMiddle  ctermfg=196 ctermbg=232
hi ScrollPositionVisualEnd     ctermfg=196 ctermbg=232
hi ScrollPositionVisualOverlap ctermfg=196 ctermbg=232
hi ScrollPositionChange        ctermfg=124 ctermbg=232
hi ScrollPositionJump          ctermfg=131 ctermbg=232
 
install details
Extract in ~/.vim, or use Pathogen or Vundle
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-scroll-position.zip 1.3 2013-06-13 7.3 Junegunn Choi Bug fixes and improvements
ip used for rating: 54.237.235.12

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo