vim-scroll-position : Displays the relative position of the cursor on the left side of the screen
script karma |
Rating 18/10,
Downloaded by 1507 |
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 |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|