ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

n​Repeat

by bfrascher ST3

A port of the repeat functionality of the universal-argument from Emacs to SublimeText3.

Details

Installs

  • Total 905
  • Win 397
  • OS X 307
  • Linux 201
Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 0 1 1 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0
OS X 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Linux 2 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 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 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.