Skip to content

master-key.pushHistoryToStack

Store a set of previously typed keybindings defined by master key to a stack. Refer to replayFromHistory for details on how to use the whenComputedRange and whenComputedIndex arguments.

Arguments

  • whenComputedRange.from: an expression specifying the first command to push to the stack
  • whenComputedRange.to: an expression specifying the last command to push to the stack
  • whenComputedIndex: an expression specifying the single command to push to the stack
  • register: (defaults to "") the specific, named stack where commands will be stored.