coffreobsidian/command_list/Raccourcis Cursor.md
2025-05-07 16:15:33 +02:00

59 lines
3.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🧠 Raccourcis Clavier Utiles — VS Code & Cursor
## 🔎 Navigation
| Action | Windows / Linux | macOS |
|--------------------------------------|------------------------|--------------------|
| Aller à un fichier | `Ctrl + P` | `Cmd + P` |
| Aller à une définition | `F12` | `F12` |
| Aller à une ligne | `Ctrl + G` | `Cmd + G` |
| Palette de commandes | `Ctrl + Shift + P` | `Cmd + Shift + P` |
| Rechercher dans projet | `Ctrl + Shift + F` | `Cmd + Shift + F` |
| Bascule entre éditeurs | `Ctrl + Tab` | `Cmd + Tab` |
| Ouvrir lexplorateur latéral | `Ctrl + B` | `Cmd + B` |
## 🧑‍💻 Édition de Code
| Action | Windows / Linux | macOS |
|--------------------------------------|------------------------|--------------------|
| Formater le document | `Shift + Alt + F` | `Shift + Option + F`|
| Commenter / Décommenter | `Ctrl + /` | `Cmd + /` |
| Sélection suivante | `Ctrl + D` | `Cmd + D` |
| Copier une ligne vers le bas | `Shift + Alt + ↓` | `Option + Shift + ↓`|
| Supprimer une ligne | `Ctrl + Shift + K` | `Cmd + Shift + K` |
| Déplacer une ligne ↑ ↓ | `Alt + ↑ / ↓` | `Option + ↑ / ↓` |
| Curseur multiple | `Alt + Click` | `Option + Click` |
## 📁 Fichiers & Fenêtres
| Action | Windows / Linux | macOS |
|--------------------------------------|------------------------|--------------------|
| Nouveau fichier | `Ctrl + N` | `Cmd + N` |
| Enregistrer | `Ctrl + S` | `Cmd + S` |
| Fermer longlet | `Ctrl + W` | `Cmd + W` |
| Rechercher dans le fichier | `Ctrl + F` | `Cmd + F` |
| Remplacer dans le fichier | `Ctrl + H` | `Cmd + H` |
## 🧠 Cursor / IA
| Action | Windows / Linux | macOS |
|--------------------------------------|------------------------|--------------------|
| Ouvrir lassistant (Continue) | `Ctrl + L` | `Cmd + L` |
| Générer / compléter automatiquement | `Tab` | `Tab` |
| Ask Cursor (ou Continue) | `Ctrl + Shift + L` | `Cmd + Shift + L` |
## 🛠 Terminal
| Action | Windows / Linux | macOS |
|--------------------------------------|------------------------|--------------------|
| Ouvrir le terminal intégré | `` Ctrl + ` `` | `` Cmd + ` `` |
| Nouveau terminal | `Ctrl + Shift + `` | `Cmd + Shift + `` |
## 💡 Refactoring
| Action | Windows / Linux | macOS |
|--------------------------------------|------------------------|--------------------|
| Renommer une variable | `F2` | `F2` |
| Actions rapides (Quick Fix) | `Ctrl + .` | `Cmd + .` |
| Rechercher un symbole | `Ctrl + T` | `Cmd + T` |