From ff00a3c613570c5460a420c5882da41ed2e09142 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 25 Aug 2021 00:11:13 +0200 Subject: incdec: Move bindings to a new file Split the bindings from the function definitions. This will allow users to source the functions and define their own bindings. The bindings file can be sourced to get the default bindings. --- incdec | 3 --- 1 file changed, 3 deletions(-) (limited to 'incdec') diff --git a/incdec b/incdec index 4b34020..98ba10b 100644 --- a/incdec +++ b/incdec @@ -102,6 +102,3 @@ function __readline_incdec_decrement { READLINE_POINT="$(($READLINE_POINT + 1))" fi } - -bind -x '"\C-xx": __readline_incdec_decrement' -bind -x '"\C-xa": __readline_incdec_increment' -- cgit v1.2.3