shagabutdinov / sublime-repeat-command

Repeat last or next command specified count times
Other
2 stars 1 forks source link

Sublime RepeatCommand plugin

Repeats last or next command specified count times.

Demo

Demo

Installation

This plugin is part of sublime-enhanced plugin set. You can install sublime-enhanced and this plugin will be installed automatically.

If you would like to install this package separately check "Installing packages separately" section of sublime-enhanced package.

Features

  1. Repeat last command

  2. Remove next command specified count of times

Usage

Hit shortcuts to repeat last or next command.

Example:

  # before
  call1() # <- cursors at this line
  call2()
  call3()
  call4()

  # after "repeat next command 3 times, delete line"
  call4()

Commands

Description Keyboard shortcuts
Repeat next, <1> alt+1
Repeat next, <2> alt+2
Repeat next, <3> alt+3
Repeat next, <4> alt+4
Repeat next, <5> alt+5
Repeat next, <6> alt+6
Repeat next, <7> alt+7
Repeat next, <8> alt+8
Repeat next, <9> alt+9
Repeat next, <0> alt+0
Cancel repeat escape
Repeat last alt+x

Dependencies

None