# Is there a shortcut to repeat the last operation in Blender

I'm currently doing a lot of UV mapping work and I find myself repeating the same long shortcuts over and over. For example, aligning the selected uvs in y can be done by pressing s, y, 0 (scale y to 0) then enter to confirm. Since I'm doing this over and over again, I was wondering if there is a Blender shortcut to repeat the last operation, similar to the repeat key ('g') in Maya.

By the way, I know there is actually an align function, but even that requires a couple of of key presses and it's another shortcut to remember, where I find scaling to 0 more intuitive, so repeat is what I'm after here.

• by the way there is way to do all this work by 1 click using the UV squares addon. – Omar Emara Dec 18 '14 at 11:38

Yes.

F3 will give you a list of recent actions. After selecting one action from the list, the next time you press F3 the list will be positioned with the same action under the cursor. This makes it very easy to call the same action over and over quickly by pressing F3 LMB (without having to move the mouse), or F3⏎ Enter.

In the 3D view you can call the previous action with ⇧ ShiftR, however this doesn't seem to work in the UV editor.

Another option is to add a custom shortcut for the align operators.

To do this add a new shortcut in ⎈ Ctrl⎇ AltU> User preferences > Input. You probably want to define it in some reasonable context like Image > UV editor, so expand the corresponding sections and click New shortcut at the bottom of the UV editor section.

Then put uv.align as the operator and assign a key combination:

Note that you also have the option to change the various parameter the operator is called with when the shortcut is pressed (though in this case there is only one parameter):

Even if the drop down appears grayed out, you can probably still change it. It will appeared grayed out if no parameter is specified, in which case the default it used.

• That works well. Thanks! As a side note, since I use a tablet, it's sometimes hard to keep the cursor in the same position, so hitting enter instead of LMB works better. – MrFlamey Dec 18 '14 at 11:09
• @MrFlamey Ah, yes. I don't have a tablet (unfortunately), so using the mouse is faster for me (I usually keep one hand on the keyboard and one on the mouse). I added it to the answer :) – gandalf3 Dec 18 '14 at 11:20
• How about on a Mac? F3 brings up Mission Control in MacOS. – MicroMachine Jan 2 '18 at 20:31

You can easily copy Ctrl+C one or more actions from the Info Panel (grow it vertically a bit) and paste Ctrl+V them at once into the Python-Console. This executes choosen actions done in the past. You can also manage them as recorded script blocks in any editor of you choice even the Blender internal text-editor.

• This is hugely helpful for repeating a large sequence of actions on different primitives. That's awesome – Jibb Smart Mar 29 '19 at 2:02

It's also possible to press Shift R in some modes to repeat the last operation like grab, or add a face. But this only replys the last action and only one, so select and align wont be possible, but extrude and move it on unit would work when it's done once. (Not Extrude and grab)