Skip to content

2249 - Keyboard Shortcuts

Editor keyboard shortcut bindings. This is an example of a MAML document.

maml
{
  editor: "vim"
  shortcuts: [
    {
      key: "Ctrl+Shift+P"
      action: "select_all_occurrences"
      when: "debug"
    }

    {
      key: "Ctrl+Shift+F"
      action: "debug_run"
      when: "editor"
    }

    {
      key: "Cmd+K"
      action: "select_all_occurrences"
      when: "terminal"
    }

    {
      key: "Alt+F7"
      action: "toggle_comment"
      when: "debug"
    }

    {
      key: "Ctrl+B"
      action: "find_references"
      when: "terminal"
    }

    {
      key: "Ctrl+D"
      action: "debug_run"
      when: "terminal"
    }
  ]
}

See Also