aboutsummaryrefslogtreecommitdiff
path: root/plugin/scroll_next.vim
blob: 4535223954e33e8b3ed5cafe7ab1b338d06ad5e7 (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 <silent> <unique>
      \ <Plug>(ScrollNext)
      \ :<C-U>call scroll_next#ScrollNext()<CR>