mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #70] [MERGED] Support multiple keybindings to a single command #82
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/hackernews-TUI/pull/70
Author: @aome510
Created: 4/28/2022
Status: ✅ Merged
Merged: 4/28/2022
Merged by: @aome510
Base:
main← Head:rewrite-keymap📝 Commits (10+)
1fde52bfix command typo in README5125e6btry to deserialize toml value as either vec or string193ce1dparse key strings into a list ofevent::Event682d021use multipleevent::Eventto represent theKeystructa37630fhandle formatting key with multiple events393e958renameKeytoKeys01b807cadd[back]button30e1f32update defaults for some of edit/global keymap5dbf5cfupdate ROADMAPe34480eremove backtick when displaying help view📊 Changes
10 files changed (+339 additions, -262 deletions)
View changed files
📝
README.md(+40 -39)📝
config.md(+13 -6)📝
examples/hn-tui.toml(+7 -7)📝
hackernews_tui/src/config/keybindings.rs(+256 -194)📝
hackernews_tui/src/utils.rs(+7 -0)📝
hackernews_tui/src/view/article_view.rs(+2 -2)📝
hackernews_tui/src/view/comment_view.rs(+2 -2)📝
hackernews_tui/src/view/help_view.rs(+6 -6)📝
hackernews_tui/src/view/search_view.rs(+5 -5)📝
hackernews_tui/src/view/story_view.rs(+1 -1)📄 Description
Brief description of changes
[back]button to the application's footerBreaking changes
global_keymap.quitglobal_keymap.goto_previous_viewglobal_keymap.goto_search_viewedit_keymap.move_cursor_leftedit_keymap.move_cursor_rightedit_keymap.move_cursor_to_beginedit_keymap.move_cursor_to_end🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.