aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index ed07b93..59431fd 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,10 @@ Readline bindings to increment and decrement numbers on the command line.
## Demo
+The commands increment or decrement the closest number to the left of point. If
+point is to the left of the first number in the line, the first number is
+modified.
+
TODO
@@ -12,9 +16,16 @@ TODO
TODO
source /path/to/incdec.bash
+
+To enable the default bindings, also add:
+
source /path/to/incdec-bindings.bash
+
+ bind -x '"\C-x-": __readline_incdec_decrement'
+ bind -x '"\C-x+": __readline_incdec_increment'
+
## License
Copyright © 2021 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
COPYING file).