diff options
Diffstat (limited to 'incdec-bindings.bash')
| -rw-r--r-- | incdec-bindings.bash | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/incdec-bindings.bash b/incdec-bindings.bash new file mode 100644 index 0000000..f86cb4d --- /dev/null +++ b/incdec-bindings.bash @@ -0,0 +1,20 @@ +# Copyright (c) 2021  Teddy Wing +# +# This file is part of Incdec. +# +# Incdec is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Incdec is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Incdec. If not, see <https://www.gnu.org/licenses/>. + + +bind -x '"\C-xx": __readline_incdec_decrement' +bind -x '"\C-xa": __readline_incdec_increment' | 
