Module lua.nd.shortcuts

Set up shortcuts Only enabled when working on a zettel/note

Functions

sc.map (shortcut, exec) Map a shortcut to a function.
sc.setup (opts) Set up shortcuts from given options.


Functions

sc.map (shortcut, exec)
Map a shortcut to a function.

Parameters:

  • shortcut string: The shortcut to set up, vim notation
  • exec string: Lua code to execute
sc.setup (opts)
Set up shortcuts from given options.

Parameters:

  • opts table: Table of options/shortcuts
generated by LDoc 1.4.6 Last updated 2021-12-19 19:09:44