-
-
Save colinta/c6b707fb7f181086b332435ffa2401bb to your computer and use it in GitHub Desktop.
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
set show-all-if-ambiguous on | |
set expand-tilde off | |
set visible-stats off | |
set blink-matching-paren on | |
set mark-symlinked-directories on | |
set skip-completed-text on | |
# default is backward-kill-shell-word I think | |
"\C-w": backward-kill-word | |
# do this line, then the next in history | |
"\C-n": operate-and-get-next | |
# shift-up | |
"\e[1;2A": history-search-backward | |
# or shift-tab | |
"\e[Z": history-search-backward | |
# meta-up | |
"\e[1;9A": "\C-p\C-a\ef\C-w" | |
# meta-down | |
"\e[1;9B": next-history | |
# right | |
"\e[C": forward-char | |
# left | |
"\e[D": backward-char | |
# shift-right | |
"\e[1;2C": "\C-t" | |
# shift-left | |
"\e[1;2D": "\e[D\C-t\e[D" | |
$if Bash | |
Space: magic-space | |
$endif | |
# handy shortcut - shift-down exposes a useful 'less' command | |
"\e[1;2B": "| less -iS" | |
"\C-q": quoted-insert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment