refactor: clean-up and simplify home screen keys

This commit is contained in:
CJ van den Berg 2024-03-01 23:00:29 +01:00
parent 9537c54962
commit 1d418db9b4
2 changed files with 19 additions and 6 deletions

View file

@ -89,12 +89,13 @@ pub fn render(self: *Self, theme: *const Widget.Theme) bool {
fn render_hints(self: *Self, style_base: Widget.Theme.Style, style_text: Widget.Theme.Style, style_keybind: Widget.Theme.Style) void {
const hint_text: [:0]const u8 =
\\Help ······················· :F1 / C-?
\\Open file ·················· :C-o
\\Open recent file ··(wip)···· :C-e / C-r
\\Show/Run commands ·(wip)···· :C-p / C-S-p
\\Open config file ··········· :F6
\\Quit/Close ················· :C-q, C-w
\\Help ······················· :h
\\Open file ·················· :o
\\Open recent file ··(wip)···· :e
\\Open recent project ··(wip)· :r
\\Show/Run commands ·(wip)···· :p
\\Open config file ··········· :c
\\Quit/Close ················· :q
\\
;