From ad1ec8eb97907f17282ffe465fce036b09d44699 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 6 Dec 2018 13:36:38 +1300 Subject: Apply much simpler completion to Git Use CTRL-X, B to complete branch names, and CTRL-X, T to complete tag names. It's too complicated to do it contextually, and it's all I really wanted anyway. --- readline/inputrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'readline') diff --git a/readline/inputrc b/readline/inputrc index c11d8fe7..857952cd 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -62,6 +62,12 @@ $if Bash # Alt+A cycles through completion options "\ea": menu-complete + # Special completion keys for git(1) + ## Branches + "\C-xb": complete + ## Tags + "\C-xt": complete + # Ctrl-Alt-L to clear screen; more ksh-like "\e\C-l": clear-screen -- cgit v1.2.3