Skip to content

Commit

Permalink
stole seth's inputrc
Browse files Browse the repository at this point in the history
  • Loading branch information
sontek committed Dec 28, 2010
1 parent 1f77ec3 commit 586e9a7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions _inputrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
set editing-mode vi

# Adds punctuation as word delimiters
set bind-tty-special-chars off

# Completion Options
set page-completions on
set completion-ignore-case on
set completion-query-items 200
set show-all-if-ambiguous on
set show-all-if-unmodified on
set visible-stats on

# Useful stuff for UTF-8
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off

$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history

set keymap vi-insert
"\C-l": clear-screen
"\C-w": backward-kill-word
# auto-complete from the history
"\C-p": history-search-backward
"\C-n": history-search-forward
$endif

# IPython needs this to appear at the bottom of the
# file for clear-screen to work
set keymap vi

0 comments on commit 586e9a7

Please sign in to comment.