Created
February 25, 2019 16:54
-
-
Save zentrification/f245511a8daf397b61397f46f147ef50 to your computer and use it in GitHub Desktop.
Pry settings
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
set blink-matching-paren on | |
set completion-ignore-case on | |
set completion-map-case on | |
set completion-query-items 30 | |
set editing-mode vi | |
set show-all-if-ambiguous on | |
set visible-stats on | |
# need to set up/down arrows to search in both modes | |
set keymap vi-command | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
set keymap vi-insert | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
TAB: menu-complete |
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
require 'rubygems' | |
require 'irb/completion' | |
IRB.conf[:AUTO_INDENT] = true | |
IRB.conf[:EVAL_HISTORY] = 1000 | |
IRB.conf[:SAVE_HISTORY] = 1000 | |
IRB.conf[:HISTORY_FILE] = File::expand_path("~/.irb_history") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment