Cursor Tips

Cursor

Here are my favourite tips and tricks setting up cursor.

Document Indexing

Cursor menu top left -> Settings -> Cursor Settings -> Indexing & Doc

image.png 75.6 KB

Installation

  • Start with a minimalist installation
  • Next, install at least these plugins, and be careful to not overdo it:
    • Alpine.js Syntax Highlight by devdojo
    • Git Graph by mhutchie
    • Laravel Official VS Code extension
    • Laravel Blade Formatter
    • PHP Intelephense (you need the paid version for refactoring - called rename symbol)
    • Rainbow CSV
    • WakaTime

Keyboard Shortcuts

  • Butterfly D or ⌘ D = select word with multiple cursors!
  • SHIFT ⌘ N = shift-butterfly-n = New project
  • ⌘R W = butterfly-r-w = Close all windows
  • ⌘I = Open / Close AI window
  • ⌘N = Start new AI chat
  • ⌘ + K = Prompt an edit
  • ⌘ + L = Select a piece of code and ask anything about it
  • ⌘ + Enter = Chat with codebase (in chat window first)