aboutsummaryrefslogtreecommitdiff
path: root/plugin/scroll_next.vim
blob: ae3f26910d60a10d70fcd094c66bc079e1389cbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"
" scroll_next.vim: Mapping to scroll a page forward until the buffer's end,
" and then to go to the :next buffer in the argument list.
"
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
if exists('loaded_scroll_next') || &compatible || v:version < 700
  finish
endif
let loaded_scroll_next = 1

" Mapping setup
nnoremap <expr> <silent> <unique>
      \ <Plug>(ScrollNext)
      \ scroll_next#ScrollNext()