-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add flake * Add default key bind * Show help from keybind * Add custom keybind config * Merge keybind config into `Config.toml` * Drop insert mode * Add UserEvent::ForceQuit * Fix return type of Keybind::new() * Drop error print for mal keybind config * Handle StatusLine regardless UserEvent * Rename UserEvent::Confirm * Modify captal default keys * Let keybind in snake style * Fix error msg for unparsed keybind * Modify StatusLine only after AppEvent::Key * Revert "Add flake" This reverts commit d146770.
- Loading branch information
Showing
13 changed files
with
515 additions
and
280 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
force_quit = ["ctrl-c"] | ||
quit = ["q"] | ||
navigate_up = ["k", "up"] | ||
navigate_down = ["j", "down"] | ||
navigate_right = ["l", "right"] | ||
navigate_left = ["h", "left"] | ||
|
||
# close widget or cancel progress but not quit app | ||
close_or_cancel = ["esc"] | ||
help_toggle = ["?"] | ||
go_to_top = ["g"] | ||
go_to_bottom = ["shift-G"] | ||
go_to_next = ["n"] | ||
go_to_previous = ["shift-N"] | ||
scroll_down = ["ctrl-e"] | ||
scroll_up = ["ctrl-y"] | ||
page_up = ["ctrl-b"] | ||
page_down = ["ctrl-f"] | ||
half_page_up = ["ctrl-u"] | ||
half_page_down = ["ctrl-d"] | ||
select_top = ["shift-H"] | ||
select_middle = ["shift-M"] | ||
select_bottom = ["shift-L"] | ||
confirm = ["enter"] | ||
search = ["/"] | ||
|
||
# copy part of information, ex: copy the short commit hash not all | ||
short_copy = ["c"] | ||
full_copy = ["shift-C"] | ||
|
||
ref_list_toggle = ["tab"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.