The input handling code has now been reimplemented using GNU Readline. Changes are in master and will be in the 0.4.7 release.
Basic Readline behaviour should work: See the
GNU Readline user manual, Profanity will take notice of settings in
~/.inputrc such as Vi or Emacs editing modes and any custom key bindings.
Profanity also registers with the name "profanity" so conditional bindings can be set.
This is something that has been requested for quite a while, so if anyone would like to try it out and give some feedback that'd be great.
You'll need to install the
readline-dev package for your distribution, currently this must be installed using brew (or installed to the same location as brew) on OSX.