From fd0d179bbfaaf6470191e053d2c47c3cf926d1d7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 23:18:16 +1200 Subject: Switch to two-spacing --- README.md | 4 ++-- doc/scroll_next.txt | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b2f1bc0..b36c12e 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ This plugin provides a mapping target that scrolls through the current buffer with `PageDown` while the final line of the buffer is not visible in the window, and `:next` to move to the next file in the argument list when it is. It's therefore a lazy way to read several buffers in sequence while just -tapping one key. The author likes to use it for reading several buffers on +tapping one key. The author likes to use it for reading several buffers on limited keyboards, such as a mobile phone terminal client. License ------- -Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. +Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. See `:help license`. [1]: https://sanctum.geek.nz/ diff --git a/doc/scroll_next.txt b/doc/scroll_next.txt index 0aabaf9..c53bbfb 100644 --- a/doc/scroll_next.txt +++ b/doc/scroll_next.txt @@ -6,20 +6,20 @@ This plugin provides a mapping target that scrolls through the current buffer with |PageDown| while the final line of the buffer is not visible in the window, and |:next| to move to the next file in the argument list when it is. It's therefore a lazy way to read several buffers in sequence while just -tapping one key. The author likes to use it for reading several buffers on +tapping one key. The author likes to use it for reading several buffers on limited keyboards, such as a mobile phone terminal client. REQUIREMENTS *scroll_next-requirements* -This plugin only loads if 'compatible' is not set. It works on |version6| and -newer. If you have |version7| then you don't have to hit the last line of the +This plugin only loads if 'compatible' is not set. It works on |version6| and +newer. If you have |version7| then you don't have to hit the last line of the buffer; it just has to be visible in the window. MAPPINGS *scroll_next-mappings* *(ScrollNext)* -The single normal mode mapping target is `(ScrollNext)`. There is no -default key mapping; you should define one yourself in your |vimrc|. For +The single normal mode mapping target is `(ScrollNext)`. There is no +default key mapping; you should define one yourself in your |vimrc|. For example: > nmap (ScrollNext) -- cgit v1.2.3 From e266986c3a771a959d9461475e32854cdff64bb7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 23:18:44 +1200 Subject: Remove unneeded variable scoping --- plugin/scroll_next.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/scroll_next.vim b/plugin/scroll_next.vim index 0cb23dc..8f09b24 100644 --- a/plugin/scroll_next.vim +++ b/plugin/scroll_next.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_scroll_next') || &compatible +if exists('loaded_scroll_next') || &compatible finish endif if v:version < 600 finish endif -let g:loaded_scroll_next = 1 +let loaded_scroll_next = 1 " Check visibility of last line (Vim >=7.0) or cursor presence on last line " and flick to :next if appropriate, or just page forward with PageDown -- cgit v1.2.3 From 83b8d422f7f3e897d96bf3371d14127f480ab725 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 23:18:59 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 6e8bf73..0ea3a94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0 +0.2.0 -- cgit v1.2.3