cemeth /.inputrc

# ~/.inputrc                                             -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------
# Use `bind -v` to see current settings
#-----------------------------------------------------------------------------

set convert-meta off
set input-meta on
set output-meta on

set bell-style visible
set completion-ignore-case on
set show-all-if-ambiguous on
set visible-stats on

# History search when using up/down keys
"\e[A":history-search-backward
"\e[B":history-search-forward

# If the above prevents Left and Right from working, try this:
#"\e[C": forward-char
#"\e[D": backward-char

$if Bash
    Space: magic-space
$endif

# M-o: load previous command and position the cursor for typing an option
#   C-p = previous line
#   C-A = start of line
#   M-f = forward a word, past the command
#   ' ' = insert a space
"\M-o": "\C-p\C-a\M-f "

#-----------------------------------------------------------------------------
#vim: set fenc=utf-8 ft=readline sts=4 sw=4 ts=4 et :