-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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 |