• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

mark

Provides a buffer mark supporting select-to-mark and goto-mark
olmokramer
1.3.3 2,988
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

mark package

Original package by @mkleehammer

Provides a single "mark" per editor with the ability select the text from the mark to the cursor and to go to the mark, similar to marks in other editors.

To toggle the mark at the current position (not just line, but column), use Mark:Toggle. The mark appears as a push-pin in the gutter.

To select all text between the cursor and the mark, use Mark:Select To Mark.

The mark can be cleared by toggling the mark at the same position, but Mark:Clear Mark can be used to clear it from anywhere.

Finally, you can jump to the mark using Mark:Goto Mark.

Keybindings for all commands:

Mac OS X:

  • cmd-k cmd-k : mark:toggle
  • cmd-k cmd-a : mark:select-to-mark
  • cmd-k cmd-g : mark:clear-mark
  • cmd-k space : mark:goto-mark

Linux/Windows

  • ctrl-k ctrl-k : mark:toggle
  • ctrl-k ctrl-a : mark:select-to-mark
  • ctrl-k ctrl-g : mark:clear-mark
  • ctrl-k space : mark:goto-mark

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by