cdepillabout / termonad

Terminal emulator configurable in Haskell.
https://hackage.haskell.org/package/termonad
BSD 3-Clause "New" or "Revised" License
401 stars 49 forks source link

Feature request: Vim mode key bindings #224

Open refaelsh opened 2 years ago

refaelsh commented 2 years ago

For example, here is how the requested feature is described in Alacritty: https://github.com/alacritty/alacritty/blob/master/docs/features.md#vi-mode.

I would like to propose that the same will be availible in Termonad too.

Thanks.

cdepillabout commented 1 year ago

Sorry for taking so long to respond to this. I think I just lost track of it when you originally posted it!

I think this would be an interesting feature, but as-is, it might be a fairly big change?

Before adding Vim mode key bindings, I think it might be a good idea to first implement https://github.com/cdepillabout/termonad/issues/83 and possibly https://github.com/cdepillabout/termonad/issues/215. With those in place, I think it would be a good goal to get Termonad to the place where it is flexible enough for end-users to be able to implement Vim mode key-bindings on their own through the hooks system, without it needing to be implemented directly in the Termonad code-base.

Once there is an implementation of the Vim mode key bindings through the hooks system, we could evaluate how intrusive of a change it is and how popular it is (how many people use it), and consider whether to just build it into Termonad itself.

refaelsh commented 1 year ago

Sorry for taking so long to respond to this

Everything is fine! Thank you for Termonad! I enjoy it very much.