Skip to content

Instantly share code, notes, and snippets.

@jfreeze
Last active August 1, 2024 17:34
Show Gist options
  • Select an option

  • Save jfreeze/8894279 to your computer and use it in GitHub Desktop.

Select an option

Save jfreeze/8894279 to your computer and use it in GitHub Desktop.

Revisions

  1. jfreeze revised this gist Feb 9, 2014. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -7,3 +7,8 @@ source ~/.bash_profile
    # To run iex WITHOUT rlwrap

    \iex

    # Note

    You cannot have vi bindings through rlwrap AND command completion at the same time.
    The author of rlwrap explains the reason here: http://stackoverflow.com/questions/9210931/is-there-a-way-of-running-rlwrap-with-tab-completion-disabled
  2. jfreeze revised this gist Feb 9, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,3 +3,7 @@ brew install rlwrap # on OSX
    echo "alias iex='rlwrap -a foo iex'" >> ~/.bash_profile
    echo "set editing-mode vi" >> ~/.inputrc
    source ~/.bash_profile

    # To run iex WITHOUT rlwrap

    \iex
  3. jfreeze created this gist Feb 9, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # VI bindings in iex:
    brew install rlwrap # on OSX
    echo "alias iex='rlwrap -a foo iex'" >> ~/.bash_profile
    echo "set editing-mode vi" >> ~/.inputrc
    source ~/.bash_profile