[haskeline] #82: Custom key actions written in Haskell
haskeline
haskeline at projects.haskell.org
Sat May 16 11:53:35 EDT 2009
#82: Custom key actions written in Haskell
------------------------+---------------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Version: 0.6 | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Changes (by judah):
* priority: major => minor
* summary: there is no history-search-backward/history-search-forward =>
Custom key actions written in Haskell
Comment:
The current key-bindings functionality is documented in the following
pages:
http://trac.haskell.org/haskeline/wiki/KeyBindings
http://trac.haskell.org/haskeline/wiki/CustomKeyBindings
By default, history search is bound to ctrl-r and ctrl-s. You can rebind
those commands to up/down by adding the following commands to a
`~/.haskeline` file:
{{{
bind: up ctrl-r
bind: down ctrl-s
}}}
I agree it would be nice to be able to define new functions in Haskell
using some sort of plugins functionality similar to that of xmonad or yi.
However, it's unclear to me whether this is feasible since those are
standalone applications, whereas Haskeline is a library used by multiple
programs.
--
Ticket URL: <http://trac.haskell.org/haskeline/ticket/82#comment:1>
haskeline <http://example.org/>
My example project
More information about the Haskeline
mailing list