diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-04-23 16:05:05 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-04-23 16:05:05 +1200 |
commit | 2bcf96b9404ae35a6a7fccb0a2595254df58ea1c (patch) | |
tree | b27a593297d8b783a5ab1de3044f48ab5a3e1a8f /readline | |
parent | Allow specifying color for tmux (diff) | |
download | dotfiles-2bcf96b9404ae35a6a7fccb0a2595254df58ea1c.tar.gz dotfiles-2bcf96b9404ae35a6a7fccb0a2595254df58ea1c.zip |
Shell word navigation in .inputrc
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 6a9870a2..7d86b255 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -50,4 +50,10 @@ $if Bash "\es": "\C-a(set -x ; \C-e)\C-b" # Alt-T (for todo) to edit my to-do file with td(1) "\et": "\C-atd\C-j\C-y" + # Ctrl-Alt-W to delete a previous shell-quoted word + "\e\C-w": shell-backward-kill-word + # Ctrl-Alt-B to move backward a shell-quoted word + "\e\C-f": shell-forward-word + # Ctrl-Alt-F to move forward a shell-quoted word + "\e\C-b": shell-backward-word $endif |