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

line-commands

An in document command engine. Custom commands can be run directly from inside a document
  • #commands
  • #line
mguid65
0.3.0 605
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

line-commands

In document command like modification from anywhere in document.

Current commands:

Instructions: Type command and parameters in any blank line in document. The run shortcut is ctrl-alt-k. You must have your cursor in the line. This line will be deleted and the command will be parsed and processed.

 replaceone <regex> <replacement>

replace the first instance of a regex search with a given string

 replaceall <regex> <replacement>

replace all instances of a regex search with a given string

 goto <lineNumber>

move the cursor to linenumber and move screen position

 delete <lineNumber>

delete a line

 delete <startline> <endline>

delete a line or range of lines(maybe fixed)

 copy <startline> <endline>

copy texts or codes from a range of lines (beta)

Demo

Demo Only Work on GitHub

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