~adnano/astronaut-devel

doc: Correct scroll description v1 APPLIED

Byron Torres: 2
 doc: Correct scroll description
 config: Add scroll bindings u and d

 2 files changed, 4 insertions(+), 2 deletions(-)
Would you mind saying explicitly why? I don't want to leave it to
assumption. Any reason why u and d are special? Or is it something else?
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~adnano/astronaut-devel/patches/26185/mbox | git am -3
Learn more about email & git

[PATCH 1/2] doc: Correct scroll description Export this patch

---
 doc/astronaut.1.scd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/astronaut.1.scd b/doc/astronaut.1.scd
index 579e29e..2c5d72d 100644
--- a/doc/astronaut.1.scd
+++ b/doc/astronaut.1.scd
@@ -71,7 +71,7 @@ The following commands are supported:
	If _top_ or _bottom_ is specified, moves to the top or bottom of the page
	respectively.

	If specified as a number, the page is moved by that number of columns. If
	If specified as a number, the page is moved by that number of lines. If
	specified as a percentage, the page is moved by that percentage of the
	visible page height. Positive values scroll down and negative values scroll
	up.
-- 
2.33.1
Thanks!

To git@git.sr.ht:~adnano/astronaut
   947cfac..76965cd  master -> master

[PATCH 2/2] config: Add scroll bindings u and d Export this patch

---
A subjective patch. I found u and d unused, so:

- In vi/vim, ^U and ^D are used for full-page scrolling,
  typically a nuisance, and already purposed by PGUP and PGDN.
  I often `8^D^D^D...` or `8^U^U^U...`
  (my middle finger reaches 8 the easiest).

- In browser plugins like vimium-C,
  u and d are used for "fast scrolling",
  which I personally use extensively.
  Perhaps others are used to this too.

So I thought is would be sensible to make these defaults.

 config/astronaut.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config/astronaut.conf b/config/astronaut.conf
index 8cdd7c8..d12d0b8 100644
--- a/config/astronaut.conf
+++ b/config/astronaut.conf
@@ -32,10 +32,12 @@ bind J tab prev
bind K tab next
bind pgup scroll -100%
bind pgdn scroll 100%
bind u scroll -8
bind d scroll 8
bind up scroll -1
bind j scroll 1
bind down scroll 1
bind k scroll -1
bind j scroll 1
bind g scroll top
bind G scroll bottom
bind b bookmark
-- 
2.33.1