💻 Open recent Cursor folders and files using Ulauncher.
Quickly open recently-opened Cursor project directories and files.
Cursor is a fork of VS Code enhaced with AI features developed by Anysphere.
This Ulauncher plugin is a fork of ulauncher-vscode-recent by plibither8 to support Cursor as opposed to vanila VS Code.
- Ulauncher 5
- Python >= 3
fuzzywuzzy
module. Install this usingpip
:pip install fuzzywuzzy
-
Ulauncher > Preferences > Extensions > Add extension
-
Paste the following URL:
https://github.com/gekul/ulauncher-cursor-recent
-
Create cursor shortcut to be available from bash.
Reasoning
Cursor is currently distributed as an AppImage binary.Which gets updated changing the name and has no terminal command by default, therefore, can't be called by the plugin.
Thus, let's add shortcut to have your
cursor
available from bash.sudo nano /bin/cursor
and- paste (ctrl+shift+v):
#!/bin/bash cd /your/path/to/AppImageBinary ./cursor-*.AppImage $1 $2
- Save (ctrl+o) and Exit (ctrl+x)
Script Explanation
This script calls your Cursor binary with the first 2 arguments received.
This extension should now be set up and work.
Default keyword to trigger this extension is r
. This can be changed in the preferences.
This source code is released under the MIT license.
The icons were adjusted from github.com/vscode-icons/vscode-icons, which are available under the Creative Commons - ShareAlike (CC BY-SA) license.