Free for Mac and Windows
Keep keyframe handles level in Premiere Pro
While you hold a shortcut, Curve Lock grabs the nearest handle and keeps it level, so a drag only changes how long the ease lasts.
Get Curve Lock
and unzip it. You get a Curve Lock folder with a Mac folder, a Windows folder and a copy of this guide.
Set it up on a Mac
Curve Lock runs inside Hammerspoon, a free and open source app for small Mac tools. Setup takes about five minutes.
- Download Hammerspoon from hammerspoon.org, unzip it, move Hammerspoon to your Applications folder and open it.
- When it asks for Accessibility, click Open System Settings and turn on Hammerspoon under Privacy & Security, Accessibility. Curve Lock needs this to press and move the mouse.
- Double-click CurveLock.spoon in the Mac folder. Hammerspoon installs it.
- Click the Hammerspoon icon in the menu bar and choose Open Config. Add this line to the end of the file that opens, and save it:
hs.loadSpoon("CurveLock"):start()If you set up Handle Lock before, take it out first: delete handle-lock.lua and find-handle.lua from
~/.hammerspoon, and therequire("handle-lock")line from this file. - Click the Hammerspoon icon again and choose Reload Config. A small ↔ arrow appears in the menu bar. Curve Lock is running.
- The first time you press Caps Lock, macOS asks to let Hammerspoon record the screen. Allow it under Privacy & Security, Screen & System Audio Recording, then quit and reopen Hammerspoon.
Curve Lock looks at the few points around the cursor to find the handle, and nothing leaves your Mac. Without it, the lock still keeps the cursor level and you drag the handle yourself.
To start it at login, choose Preferences from the Hammerspoon menu and turn on Launch Hammerspoon at login.
While Curve Lock runs, Caps Lock is its shortcut, so it no longer switches capitals and stays off. Quitting Hammerspoon gives it back.
Set it up on Windows
Curve Lock runs in AutoHotkey, a free app for small Windows tools.
- On autohotkey.com, click Download, then Download v2.0, and run the installer. Or, in a terminal:
winget install AutoHotkey.AutoHotkey - Put curve-lock.ahk from the Windows folder somewhere you'll keep it, for example Documents\Curve Lock.
- Double-click curve-lock.ahk. A green H icon appears in the system tray, and Curve Lock is running.
On Windows 11 it starts among the hidden icons: click the ^ arrow at the right end of the taskbar to see it.
- To start it with Windows, press Win+R, type
shell:startup, press Enter, and put a shortcut to curve-lock.ahk in the folder that opens.
While Curve Lock runs, Caps Lock is its shortcut, so it no longer switches capitals and stays off. To get it back, right-click the green H icon and choose Exit.
Use it
The shortcut is Caps Lock, on Mac and Windows.
Hold the shortcut
With the cursor near a handle, the handle is picked up for you. Move the mouse left or right and it follows at its height, at your mouse's usual speed. Let go to drop it.
Tap it
The handle stays held until you click or tap Caps Lock again, so you can move it without holding a key.
- A click always lets go.
- Away from a handle nothing is picked up. On a Mac the cursor still keeps level while the lock is on; on Windows nothing happens.
- On a Mac the ↔ arrow in the menu bar is bright while the lock is on.
Ease a keyframe in Premiere Pro
- In Effect Controls, set the keyframe to Ease In or Ease Out (right-click it, Temporal Interpolation).
- Click the arrow beside the property's name to open its graphs.
- Click the keyframe. Premiere only shows handles on selected keyframes.
- Point at the handle, or a little beside it, hold the shortcut, and move the mouse left or right. The handle stays level, so only the length of the ease changes.
Change the shortcut
Mac
In Finder, choose Go, then Go to Folder, type ~/.hammerspoon/Spoons/CurveLock.spoon and press Return. Open curve-lock.lua in TextEdit and find this line near the top:
local KEY, MODS = "capslock", {}- Change
"capslock"to the key you want, such as"f13"or"l". - To add modifiers, list them in the braces:
"ctrl","alt"(Option) or"cmd", for example{ "ctrl", "alt" }. - Save the file, then choose Reload Config from the Hammerspoon menu. Caps Lock works as usual again.
Windows
Right-click curve-lock.ahk, open it in Notepad and change this line:
SHORTCUT := "CapsLock"For example to "F13" or "^!h" (Ctrl+Alt+H). Save it and double-click the file again.
Avoid Shift on its own: Premiere ignores a drag that starts with Shift held on a velocity handle. Avoid shortcuts you already use in Premiere, since Curve Lock takes the key over everywhere.
If something doesn't work
- No ↔ arrow after Reload Config (Mac)
- Check that the
hs.loadSpoonline is in your config and that Hammerspoon is on in System Settings, Privacy & Security, Accessibility. Then choose Console from the Hammerspoon menu to see any error. - No green H icon (Windows)
- Check that AutoHotkey v2 is installed. Version 1 can't run Curve Lock.
- The handle isn't picked up
- Click the keyframe first so its handles show, and point close to the handle. On a Mac, check that Hammerspoon is on under Privacy & Security, Screen & System Audio Recording.
- The mouse feels stuck
- Click once. A click always lets go.
- Caps Lock no longer switches capitals
- That's expected while Curve Lock runs. To get it back, quit Hammerspoon (Mac) or right-click the green H icon and choose Exit (Windows), or change the shortcut. If Hammerspoon crashed and Caps Lock still does nothing, open Hammerspoon and quit it again.
- Caps Lock does nothing (Mac)
- An app that remaps Caps Lock itself, such as Karabiner-Elements, takes the key first. Change Curve Lock's shortcut to another key.
Still stuck? Write to me at nick@leyero.tools, and I'll help.
Remove it
Mac
Delete CurveLock.spoon from ~/.hammerspoon/Spoons and the hs.loadSpoon line from your config, then choose Reload Config. To remove Hammerspoon as well, quit it and move it from Applications to the Trash.
Windows
Right-click the green H icon and choose Exit, then delete curve-lock.ahk and its shortcut in shell:startup. To remove AutoHotkey as well, uninstall it in Settings, Apps.