Configure Rebel Readline

Configure rebel readline

In ~/.clojure/rebel_readline.edn you can provide a map with the following options:

  1. :key-map - either :viins or :emacs. Defaults to :emacs
  2. :color-theme - either :light-screen-theme or :dark-screen-theme
  3. :highlight - boolean, whether to syntax highlight or not. Defaults to true
  4. :completion - boolean, whether to complete on tab. Defaults to true
  5. :eldoc - boolean, whether to display function docs as you type.
  6. Defaults to true
  7. :indent - boolean, whether to auto indent code on newline. Defaults to true
  8. :redirect-output - boolean, rebinds root *out* during read to protect linereader
  9. Defaults to true
  10. :key-bindings - map of key-bindings that get applied after all other key
  11. bindings have been applied

For example, to change the default keybindings to vi, edit ~/.clojure/rebel_readline.edn and add

  1. {:key-map :viins}