From f58e04f6c580fcc3f401e57231e977e4e9432e2b Mon Sep 17 00:00:00 2001 From: Duff OMelia Date: Mon, 31 Dec 2012 13:36:11 -0500 Subject: [PATCH] Add .editrc file. libedit customization. Helps when running irb or `rails console`. So far, added vi keybindings, ctrl-r for searching, and tab completion. http://hints.macworld.com/article.php?story=20080313113705760 --- .editrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .editrc diff --git a/.editrc b/.editrc new file mode 100644 index 0000000..75f23e7 --- /dev/null +++ b/.editrc @@ -0,0 +1,3 @@ +bind -v +bind "^R" em-inc-search-prev +bind \\t rl_complete