Skip to content

GEkuL/ulauncher-cursor-recent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ulauncher-cursor-recent

💻 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.

Install

Requirements

  • Ulauncher 5
  • Python >= 3
  • fuzzywuzzy module. Install this using pip: pip install fuzzywuzzy

Steps

  1. Ulauncher > Preferences > Extensions > Add extension

  2. Paste the following URL:

https://github.com/gekul/ulauncher-cursor-recent
  1. 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.

    1. sudo nano /bin/cursor and
    2. paste (ctrl+shift+v):
      #!/bin/bash
      cd /your/path/to/AppImageBinary
      ./cursor-*.AppImage $1 $2
      
    3. 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.

Usage

Default keyword to trigger this extension is r. This can be changed in the preferences.

License

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.

About

💻 Open recent Cursor folders and files using Ulauncher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%