reujab / silver

A cross-shell customizable powerline-like prompt with icons
MIT License
453 stars 30 forks source link

Add option for key mapping #11

Closed drahnr closed 5 years ago

drahnr commented 5 years ago

As with most zsh themes, arrow up, insert, home, end, pos1 are not mapped.

Adding a switch to the eval subcommand would be awesome to autogenerate the expected key mappings.

reujab commented 5 years ago

I don't understand what you mean. Couldn't you use oh-my-zsh or something to map those keys?

On Jun 16, 2019, at 2:18 PM, Bernhard Schuster notifications@github.com wrote:

As with most zsh themes, arrow up, insert, home, end, pos1 are not mapped.

Adding a switch to the eval subcommand would be awesome to autogenerate the expected key mappings.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

drahnr commented 5 years ago

Yes, I could, but optimally this would just fall out of silver or is this out of scope?

reujab commented 5 years ago

Mapping keys seems out of scope for a prompt unless it can't be done with a framework like oh-my-zsh. I use oh-my-zsh with silver every day, and I feel it's more appropriate to have the keybindings (and every other sane default oh-my-zsh provides) handled by the framework.

On Jun 16, 2019, at 4:02 PM, Bernhard Schuster notifications@github.com wrote:

Yes, I could, but optimally this would just fall out of silver or is this out of scope?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.