diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-06 13:36:38 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-06 13:36:38 +1300 |
commit | ad1ec8eb97907f17282ffe465fce036b09d44699 (patch) | |
tree | 4d0b1a256f7356aca95da92bf48b5ae39860c800 /readline | |
parent | Merge branch 'release/v3.1.0' into develop (diff) | |
download | dotfiles-ad1ec8eb97907f17282ffe465fce036b09d44699.tar.gz dotfiles-ad1ec8eb97907f17282ffe465fce036b09d44699.zip |
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.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/inputrc | 6 |
1 files changed, 6 insertions, 0 deletions
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 |