fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.33k stars 306 forks source link

Configurable default `vi_mode` #657

Closed v4run closed 2 months ago

v4run commented 2 months ago

Hey,

I have been trying out ly for the past few days. It's a cool project. One thing that I thought would be better to have is a way to configure the default vi mode when vi_mode is enabled. AFAIU, when vi_mode is enabled, it defaults to normal mode. So, I will have to switch to insert mode to enter the password 😅. Is there a way to configure this already, that I missed? Thank you.

I have a fork with the said change. If this is something that makes sense to be part of ly, I would love to raise a PR

AnErrupTion commented 2 months ago

@v4run So, if I understand, your change is to simply start Ly in insert mode when Vi mode is enabled, as opposed to starting in normal mode, correct?

v4run commented 2 months ago

Hmm, not exactly. Though, that is what I personally prefer. What I did was add another configuration parameter to choose the Vi mode to start with.

AnErrupTion commented 2 months ago

@v4run Right. In this case, go ahead and make a PR!