From 0318d84a6ee31b36f543ceaa33a8f477e3f516cf Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Wed, 17 Dec 2025 16:35:34 +0100 Subject: [PATCH] inputrc: Enable skip-completed-text --- .inputrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.inputrc b/.inputrc index a5bd70f..9e51137 100644 --- a/.inputrc +++ b/.inputrc @@ -17,7 +17,11 @@ set show-all-if-ambiguous on # Don't keep changes to history lines set revert-all-at-newline on -# Keybinding Alt-W: Like Ctrl-w but allowing slashes as word boundaries +# When completing in the middle of a word, don't duplicate the rest of the word +# (Example: "Make[Tab]file" -> "Makefile" rather than "Makefilefile"). +set skip-completed-text on + +# Keybinding Alt-w: Like Ctrl-w but allowing slashes as word boundaries "\ew": unix-filename-rubout # Keybinding Alt-Tab: Cycle through completions