mcfly: move binding to ^T instead of ^R
I've found some bugs in mcfly's handling of multi-line history
entries. I still think it's a useful tool, just maybe less than I was
hoping for now...
author |
Augie Fackler <raf@durin42.com> |
date |
Wed, 01 Jul 2020 13:33:46 -0400 |
parents |
b2d9ac793cb0 |
children |
|
rev |
line source |
113
|
1 # -*- mode:ruby -*- |
|
2 IRB.conf[:AUTO_INDENT] = true |
|
3 IRB.conf[:USE_READLINE] = true |
|
4 IRB.conf[:LOAD_MODULES] = [] unless IRB.conf.key?(:LOAD_MODULES) |
|
5 unless IRB.conf[:LOAD_MODULES].include?('irb/completion') |
|
6 IRB.conf[:LOAD_MODULES] << 'irb/completion' |
|
7 end |
119
|
8 IRB.conf[:SAVE_HISTORY] = 1000 |
|
9 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" |