Skip to content

Tagirijus/MoveLines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Move Lines

A simple Silverbullet plugin which adds two new commands:

  • Move line on cursor one line up
  • Move line on cursor one line down

There already is the Outline Move Up and Outline Move Down command, but this is only for lines in lists. I wanted such a thing for lines in general.

Build

To build this plug, make sure you have SilverBullet installed with Deno. Then, build the plug with:

deno task build

Or to watch for changes and rebuild automatically

deno task watch

Then, copy the resulting .plug.js file into your space's _plug folder. Or build and copy in one command:

deno task build && cp *.plug.js /my/space/_plug/

SilverBullet will automatically sync and load the new version of the plug, just watch the logs (browser and server) to see when this happens.

Installation

If you would like to install this plug straight from Github, make sure you have the .js file committed to the repo and simply add

- github:Tagirijus/MoveLines/movelines.plug.js

to your PLUGS file, run Plugs: Update command and off you go!

About

A simple Silverbullet plugin which adds two new commands for moving lines around

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published