Add git commits, diffs, or pull requests (Chat only)
@Codebase
Perform advanced codebase search
@Web
Search the web for relevant information
@Chat
Add current chat messages as context (Cmd K only)
@Definitions
Add nearby definitions as context (Cmd K only)
@https://your-link.com
Visit a specific link before responding
🛠️ Advanced Features
Codebase Indexing
Enable in Cursor Settings > Features > Codebase Indexing
Use .cursorignore file to exclude files (similar to .gitignore)
Long Context Chat (Beta)
Enable in Cursor Settings > Beta > Long Context Chat
Toggle modes with ⌘. / Ctrl+.
Custom Documentation
Add custom docs: @Docs > Add new doc
Manage in Cursor Settings > Features > Docs
🎨 UI and Customization
Command
Description
⌘K ⌘T / Ctrl+K Ctrl+T
Change color theme
⌘, / Ctrl+,
Open settings
⌘B / Ctrl+B
Toggle sidebar
⌘J / Ctrl+J
Toggle bottom panel
🚀 Pro Tips
Use @Codebase for the most accurate codebase searches
Enable “Always search the web” in settings for up-to-date information
Use Ctrl/⌘ M to toggle file reading strategies in Cmd K
Utilize @Git to generate commit messages from current diffs
Combine multiple @ symbols for powerful context in your queries
Remember, practice makes perfect! Experiment with these commands to find the workflows that boost your productivity the most. Happy coding with Cursor! 🎉