Coding trackpad gestures
Five trackpad gestures for Cursor, VS Code, Windsurf, Trae, Kiro and VSCodium, for the moves you make between lines of code: search every file, switch editors, bring back the one you just closed, and open the Command Palette.
The code editor gestures
Three finger tap
Search every file for the text you selected, instead of ⇧⌘F. Rest three fingers lightly, then lift together.
Hold two, tap a third on their left
Go to the editor tab on the left, instead of ⌥⌘←. Rest two fingers, then tap a third to their left.
Hold two, tap a third on their right
Go to the editor tab on the right, instead of ⌥⌘→. Rest two fingers, then tap a third to their right.
Hold two, tap a third between them
Reopen the editor tab you just closed, instead of ⇧⌘T. Rest two fingers apart, then tap a third between them.
Four finger tap
Open the Command Palette, instead of ⇧⌘P. Rest four fingers lightly, then lift together.
Add them to your trackpad
- Install GlissTouch, the trackpad utility for macOS, and give it Accessibility when it asks.
- Press Add to GlissTouch above. GlissTouch opens with the five gestures ticked.
- Untick any you don’t want, then press Add. They work in your editor right away.
Prefer to look first? Download the file gives you the same pack as a GlissTouch backup, which Settings › Backup › Import opens in version 0.5.1 or later.
Before you add them
These Multi-Touch gestures run only while one of these editors is in front: VS Code, VS Code Insiders, VSCodium, Cursor, Windsurf, Trae or Kiro. In every other app your trackpad does what it did before. Want them everywhere? Before you press Add, tick Use them in all apps.
If you already use one of these gestures in those editors, GlissTouch keeps yours and leaves that one out. The list says which gesture it is and what it already does.
The free plan runs 5 gestures. If you’ve saved some already, GlissTouch adds as many as fit and marks the rest as Pro. Everything here works the same on a MacBook trackpad and a Magic Trackpad.
Why put your code editor on the trackpad
When you’re reading code with a hand on the trackpad, reaching for ⇧⌘F or ⇧⌘P breaks the flow. Select a name and tap with three fingers to search every file for it, or tap with four to open the Command Palette. The editor fills in the search only when the selection is on one line. The gestures run only in your code editor, so the same taps can do other things in Safari or Finder.
Cursor, Windsurf, Trae, Kiro and VSCodium are all built on VS Code and keep its default shortcuts, so one pack covers all of them. If you changed a keybinding in your editor, change the gesture’s shortcut in GlissTouch to match.