From d38df0aaad3557f286ebb34dcb6d0b61b5d76a61 Mon Sep 17 00:00:00 2001 From: Graham Perrin Date: Fri, 3 Jan 2025 21:03:40 +0000 Subject: [PATCH 1/2] bin/sh/dot.shrc: words to words, should be singular Jump from one word to another. Not words to words. --- bin/sh/dot.shrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/sh/dot.shrc b/bin/sh/dot.shrc index 2bcedf44a40e02..a3317108944cbd 100644 --- a/bin/sh/dot.shrc +++ b/bin/sh/dot.shrc @@ -34,9 +34,11 @@ bind ^[[A ed-search-prev-history bind ^[[B ed-search-next-history -# # ctrl+arrow allow to jump from words to words +# # Ctrl+right arrow: go to the next word +# # Ctrl+left arrow: go to the previous word bind "\\e[1;5C" em-next-word bind "\\e[1;5D" ed-prev-word + alias history='fc -l' # Fix home/del for mobaxterm From 427fa2eb8cc0811352f96efa309113e44e9f545e Mon Sep 17 00:00:00 2001 From: Graham Perrin Date: Fri, 3 Jan 2025 21:07:46 +0000 Subject: [PATCH 2/2] share/skel/dot.shrc: words to words, should be singular Jump from one word to another. Not words to words. --- share/skel/dot.shrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index 1fbda154c020c0..aa1a22eb0b0236 100644 --- a/share/skel/dot.shrc +++ b/share/skel/dot.shrc @@ -34,9 +34,11 @@ alias g='egrep -i' bind ^[[A ed-search-prev-history bind ^[[B ed-search-next-history -# # ctrl+arrow allow to jump from words to words +# # Ctrl+right arrow: go to the next word +# # Ctrl+left arrow: go to the previous word bind "\\e[1;5C" em-next-word bind "\\e[1;5D" ed-prev-word + alias history='fc -l' # Fix home/del for mobaxterm