mirror of
https://github.com/makew0rld/amfora.git
synced 2024-06-01 18:31:08 +00:00
adding keybindings to default-config.toml and help.go
This commit is contained in:
parent
b6da629623
commit
6c8fde70aa
|
@ -190,6 +190,11 @@ underline = true
|
|||
# bind_end: same but the for the end (bottom left)
|
||||
# bind_url_handler_open: Open highlighted URL with URL handler (#143)
|
||||
|
||||
# Search
|
||||
# bind_search = "/"
|
||||
# bind_next_match = "n"
|
||||
# bind_prev_match = "N"
|
||||
|
||||
[url-handlers]
|
||||
# Allows setting the commands to run for various URL schemes.
|
||||
# E.g. to open FTP URLs with FileZilla set the following key:
|
||||
|
|
|
@ -187,6 +187,11 @@ underline = true
|
|||
# bind_end: same but the for the end (bottom left)
|
||||
# bind_url_handler_open: Open highlighted URL with URL handler (#143)
|
||||
|
||||
# Search
|
||||
# bind_search = "/"
|
||||
# bind_next_match = "n"
|
||||
# bind_prev_match = "N"
|
||||
|
||||
[url-handlers]
|
||||
# Allows setting the commands to run for various URL schemes.
|
||||
# E.g. to open FTP URLs with FileZilla set the following key:
|
||||
|
|
|
@ -49,6 +49,9 @@ var helpCells = strings.TrimSpace(
|
|||
"%s\tSave the current page to your downloads.\n" +
|
||||
"%s\tView subscriptions\n" +
|
||||
"%s\tAdd or update a subscription\n" +
|
||||
"%s\tSearch the page content for a string\n" +
|
||||
"%s\tFind next search match\n" +
|
||||
"%s\tFind previous search match\n" +
|
||||
"%s\tQuit\n")
|
||||
|
||||
var helpTable = cview.NewTextView()
|
||||
|
@ -110,6 +113,9 @@ func helpInit() {
|
|||
config.GetKeyBinding(config.CmdSave),
|
||||
config.GetKeyBinding(config.CmdSub),
|
||||
config.GetKeyBinding(config.CmdAddSub),
|
||||
config.GetKeyBinding(config.CmdSearch),
|
||||
config.GetKeyBinding(config.CmdNextMatch),
|
||||
config.GetKeyBinding(config.CmdPrevMatch),
|
||||
config.GetKeyBinding(config.CmdQuit),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user