The plugin adds a single hotkey of: Ctrl+Shift+' (think of it like using double quotes to indicate "same as above" in written text)
I wrote this because I often had to write code like this:
- Code: Select all
var UrlReader = require("lib/net/url/Reader"),
UrlWriter = require("lib/net/url/Writer");
As you get to the "=" sign, with AsAbove you can just hit the hotkey as many times as you need rather than breaking your flow to move up and copy to the clipboard.
It works with multiple cursors, as well as with selections and multiple selections.
Installation via Package Control.
Repo here: https://github.com/spadgos/sublime-AsAbove