Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Implement more commands #192

@marijnh

Description

@marijnh

Those without complicated dependencies can all go in the commands package. I think basing our default set of commands on what VS Code provides out of the box, and providing the same keybindings, would be a good strategy.

See also #101

From a quick glance at the VS Code config, I guess we could start with:

  • addCursorAbove / addCursorBelow
  • deleteLine
  • foldAll / unfoldAll (in the fold package)
  • expandSelection / shrinkSelection (select the next bigger / smaller syntax tree node around the selection --- would require tracking some kind of core selection)
  • goToBracket (in the matchbrackets package)
  • indentLine / dedentLine
  • insertLineAbove / insertLineBelow
  • moveLineDown / moveLineUp
  • trimTrailingWhitespace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions