74 lines
1.4 KiB
Plaintext
74 lines
1.4 KiB
Plaintext
|
|
## Delete next word delimit with a space only
|
|
## Ctrl-Delete:
|
|
#"\e[3;5~": shell-kill-word
|
|
|
|
## Delete previous word delimit with a space only
|
|
## Ctrl-Backspace:
|
|
#"\C-H": shell-backward-kill-word
|
|
|
|
# Delete next word delimit with a space, a slash, a point, etc.
|
|
# Ctrl-Delete:
|
|
"\e[3;5~": kill-word
|
|
|
|
# Delete previous word delimit with a space, a slash, a point, etc.
|
|
# Ctrl-Backspace (by default Esc-Backspace):
|
|
"\C-H": backward-kill-word
|
|
# Putty
|
|
#"\C-?": backward-kill-word
|
|
|
|
# Jump one word to the left
|
|
# Ctrl-Left (by default Alt-B):
|
|
"\e[1;5D": backward-word
|
|
# Putty
|
|
#"\eOD": backward-word
|
|
|
|
#"\e[5D": backward-word
|
|
#"\e\e[D": backward-word
|
|
|
|
|
|
# Jump one word to the right
|
|
# Ctrl-Right (by default Alt-F):
|
|
"\e[1;5C": forward-word
|
|
# Putty
|
|
#"\eOC": forward-word
|
|
|
|
#"\e[5C": forward-word
|
|
#"\e\e[C": forward-word
|
|
|
|
#History
|
|
#UP
|
|
"\e[1;5A": history-search-backward
|
|
#DOWN
|
|
"\e[1;5B": history-search-forward
|
|
|
|
# Ignore case sensitive in bash completion
|
|
set completion-ignore-case on
|
|
|
|
set colored-stats On
|
|
|
|
#set show-all-if-ambiguous On
|
|
#set show-all-if-unmodified On
|
|
|
|
set revert-all-at-newline On
|
|
|
|
set skip-completed-text On
|
|
|
|
#set completion-prefix-display-length 9
|
|
|
|
# Add sudo on start of line
|
|
# Alt-s:
|
|
"\es": "\C-asudo \C-e"
|
|
|
|
"\em": shell-forward-word
|
|
"\eq": shell-backward-word
|
|
# Alt-f:
|
|
#"\ef": "\C-a\ed"
|
|
"\ef": "\C-a\em"
|
|
|
|
|
|
# HOME and END
|
|
#"\e[1~": beginning-of-line
|
|
#"\e[4~": end-of-line
|
|
#"\e[3~": kill-word
|