From 5578221350e99428e769b4222ed7a549c09f6cec Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 9 May 2020 20:28:09 +1200 Subject: Use tabs for readline config --- readline/inputrc | 84 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'readline') diff --git a/readline/inputrc b/readline/inputrc index 87abcd49..381c4e7a 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -51,53 +51,53 @@ set skip-completed-text on # Bash macros $if Bash - # Expand ! history with a spacebar press - # Note that this makes your shell unusable if your Bash doesn't have - # magic-space. It's had this feature since 2.02. - Space: magic-space - - # Tab does traditional blocking completion - Tab: complete - # 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 - - # Alt-E (for exec) to prepend "exec " to a command and return to the end of - # the line - "\ee": "\C-aexec \C-e" - # Alt-P (for procedure) to wrap current command in () { ... ; } and go to - # the start of the line - "\ep": "\C-a() { \C-e ; }\C-a" - # Alt-S (for set) to wrap current command in (set -x ; ...) - "\es": "\C-a(set -x ; \C-e)\C-b" - - # Alt-M (for muxer) to run tm(1df) - "\em": "\C-utm\C-j\C-y" - - # Alt-' for escaped single-quote: 'don'\''t fear the reaper' - "\e'": "'\\''" - - # Ctrl-Alt-B to move backward a shell-quoted word - "\e\C-b": shell-backward-word - # Ctrl-Alt-F to move forward a shell-quoted word - "\e\C-f": shell-forward-word - # Ctrl-Alt-W to delete a previous shell-quoted word - "\e\C-w": shell-backward-kill-word + # Expand ! history with a spacebar press + # Note that this makes your shell unusable if your Bash doesn't have + # magic-space. It's had this feature since 2.02. + Space: magic-space + + # Tab does traditional blocking completion + Tab: complete + # 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 + + # Alt-E (for exec) to prepend "exec " to a command and return to the end of + # the line + "\ee": "\C-aexec \C-e" + # Alt-P (for procedure) to wrap current command in () { ... ; } and go to + # the start of the line + "\ep": "\C-a() { \C-e ; }\C-a" + # Alt-S (for set) to wrap current command in (set -x ; ...) + "\es": "\C-a(set -x ; \C-e)\C-b" + + # Alt-M (for muxer) to run tm(1df) + "\em": "\C-utm\C-j\C-y" + + # Alt-' for escaped single-quote: 'don'\''t fear the reaper' + "\e'": "'\\''" + + # Ctrl-Alt-B to move backward a shell-quoted word + "\e\C-b": shell-backward-word + # Ctrl-Alt-F to move forward a shell-quoted word + "\e\C-f": shell-forward-word + # Ctrl-Alt-W to delete a previous shell-quoted word + "\e\C-w": shell-backward-kill-word $endif # bc macros $if bc - # Don't let bc complete filenames (!?) - Tab: + # Don't let bc complete filenames (!?) + Tab: $endif -- cgit v1.2.3