Skip to content

Commit

Permalink
enable vi mode in irb and pry
Browse files Browse the repository at this point in the history
  • Loading branch information
claytron committed May 25, 2016
1 parent 8aab0a7 commit 7eeaf5e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Use vi mode
bind -v

# Tab to complete
bind \\t rl_complete

# Reverse search through history
bind "^R" em-inc-search-prev

# Alternative to ESC
bind "jk" vi-command-mode

# Clear the screen
bind "^L" ed-clear-screen

0 comments on commit 7eeaf5e

Please sign in to comment.