Skip to content

Commit

Permalink
Bind to F7
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof committed Jul 11, 2019
1 parent cfa0759 commit b48957c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions etc/cfg_notioncore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ defbindings("WMPlex.toplevel", {
kpress(ALTMETA.."F6",
"mod_query.query_runfile(_, 'run-mailcap --action=view')"),

bdoc("Query for keybinding."),
kpress(ALTMETA.."F7",
"mod_query.query_binding(_, _sub)"),

bdoc("Query for workspace to go to or create a new one."),
kpress(ALTMETA.."F9", "mod_query.query_workspace(_)"),

Expand Down
2 changes: 1 addition & 1 deletion mod_query/mod_query.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ end

--DOC
-- Find keybindings
function mod_query.query_bindings(mplex, sub)
function mod_query.query_binding(mplex, sub)
mod_query.query(mplex, TR("Find keybinding:"), nil,
mod_query.binding_handler,
mod_query.make_completor(mod_query.complete_binding),
Expand Down

0 comments on commit b48957c

Please sign in to comment.