nRepeat
A port of the repeat functionality of the universal-argument from Emacs to SublimeText3.
Details
Installs
- Total 1K
- Win 596
- Mac 458
- Linux 274
Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime-nRepeat
A port of the repeat functionality of the universal-argument from Emacs to SublimeText3.
Installation
The easiest way to install this plugin is through the Package Control Plugin. Open the Command Palette (ctrl+shift+p
on Windows/Linux and cmd+shift+p
on OS X) and type Package Control: Install Package
. Confirm with Enter
and type nRepeat
. Again confirm with Enter
and the plugin will be installed. Upon finished installation you should see a short message about this plugin.
If you want to install the plugin manually instead, navigate to the Packages
folder:
- Windows:
%APPDATA%/Sublime Text 3/Packages
- OS X:
~/Library/Application Support/Sublime Text 3/Packages
- Linux:
~/.config/sublime-text-3/Packages
Either directly clone this repository via git clone https://github.com/bfrascher/Sublime-nRepeat.git
or download the repository as a zip file and extract it here into a new folder nRepeat
.
Version
This is version 0.1.2 of the plugin. Fixed the problem where selected text regions would be deleted, when running this plugin.
Usage
Type alt+r
and then enter the number of times you want the next input to be repeated by simply typing in the digits. The first command or non-digit after typing alt+r
will be the repeated input. If you want to repeat a digit, simply type alt+r
again, followed by the digit to be repeated.
You don't need to input a number, any non-digit input after the first alt+r
will be repeated 4 times. You can chain this by typing multiple alt+r
in succession. The non-digit input will then be repeated 4n times, where n is the number of alt+r
entered.
On typing alt+r
all your regions will temporarily disappear. Do not panic!. They will come back after the command is finished executing. When you insert characters via this command, they will appear either in front of, or behind your selected text, depending on your text cursor position.
The plugin works well with multiple selection regions.