aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-09 20:28:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-09 20:28:09 +1200
commit5578221350e99428e769b4222ed7a549c09f6cec (patch)
tree7afa61cd990efa8007b344aad4788f87b87300c1
parentUse tabs for terminfo source definitions (diff)
downloaddotfiles-5578221350e99428e769b4222ed7a549c09f6cec.tar.gz
dotfiles-5578221350e99428e769b4222ed7a549c09f6cec.zip
Use tabs for readline config
-rw-r--r--readline/inputrc84
1 files changed, 42 insertions, 42 deletions
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