Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 931 Bytes
# set editing-mode vi
# set keymap vi
set bell-style visible
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
set keymap vi-insert
"jj": vi-movement-mode
"\C-w": backward-kill-word
"\C-p": history-search-backward
$endif
# Use the text that has already been typed as the prefix for searching through
# commands (i.e. more intelligent Up/Down behavior)
"\e[A": history-search-backward
"\e[B": history-search-forward
# Completion tweaks
set completion-ignore-case on
set completion-map-case on
set show-all-if-ambiguous on
set mark-symlinked-directories on
set match-hidden-files on
# set visible-stats on
set skip-completed-text on
set colored-stats on
# Allow UTF-8 input and output
set input-meta on
set output-meta on
set convert-meta off
# Bash-specific mappings and settings
$if Bash
Space: magic-space
\C-w: backward-kill-word
"\C-n": menu-complete
$endif