haskell / haskell/haskeline

Add vi mode indicator

Open
#38 6 comments 6 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
247
Forks
82
PR merge metrics
No merged PRs in 30d

Description

Readline has an option: show-mode-in-prompt
that works with `editing-mode vi`
to give an indicator of the vi editing mode, in the form of the leftmost prompt character showing a '+' in insert mode, and ':' in normal mode, (it removes the character all-together when doing a search with /, I guess if it supports other command-mode commands, it would do the same thing)

It would be great if I could get this in my ghci..
That being said, just because readline does it this way, doesn't mean it makes more sense than having something customizable in the configuration of the prompt itself.
Any thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.