dot.shrc: words to words, should be singular

Jump from one word to another. Not words to words.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1565
This commit is contained in:
Graham Perrin 2025-01-03 21:03:40 +00:00 committed by Warner Losh
parent 2abdb305bd
commit 44231935d9
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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