Last active
November 17, 2020 22:26
-
-
Save nicerobot/1b1b971902ac85bd4e7df6ce9557d338 to your computer and use it in GitHub Desktop.
For systems that aren't respecting special characters during blackward-kill-word
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Respect extended word-boundaries | |
set bind-tty-special-chars off | |
Control-u: kill-whole-line | |
Control-w: backward-kill-word | |
# Enable Alt- <- -> for jumping by words | |
"\e[1;5D": backward-word | |
"\eOd": backward-word | |
"\e[1;5C": forward-word | |
"\eOc": forward-word | |
# Then, from the shell: | |
# bind -f ~/.inputrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment