diff options
| author | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-02-03 09:17:13 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-02-03 09:17:13 +0200 |
| commit | dd1a8e224dc771c9d8164813b93e4a26ab4c7660 (patch) | |
| tree | 775b174fccd441f33da2cbc9cb7e25e91830bf57 /doc | |
| parent | 398ec6f2967245a3d29d2d281e9df655678b5de7 (diff) | |
Introduce a common prefix for project lifecycle command keybindings
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/modules/ROOT/pages/usage.adoc | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/modules/ROOT/pages/usage.adoc b/doc/modules/ROOT/pages/usage.adoc index 06ed9c1..1aa1602 100644 --- a/doc/modules/ROOT/pages/usage.adoc +++ b/doc/modules/ROOT/pages/usage.adoc @@ -134,8 +134,10 @@ You need to know only a handful of Projectile commands to start benefiting from * Toggle between related files (e.g. `foo.h` <-> `foo.c` and `Gemfile` <-> `Gemfile.lock`) (kbd:[s-p a]) * Run a shell command in the root of the project (kbd:[s-p !] for a sync command and kbd:[s-p &] for an async command) * Run various pre-defined project commands like: -** build/compile project (kbd:[s-p c]) -** test project (kbd:[s-p T]) +** build/compile project (kbd:[s-p c c]) +** test project (kbd:[s-p c t]) +** install project (kbd:[s-p c i]) +** run project (kbd:[s-p c r]) The next section lists many more commands, but the basics can get you pretty far. @@ -272,15 +274,21 @@ Here's a list of the interactive Emacs Lisp functions, provided by Projectile: | kbd:[s-p &] | Runs `async-shell-command` in the root directory of the project. -| kbd:[s-p C] +| kbd:[s-p c o] | Runs a standard configure command for your type of project. -| kbd:[s-p c] +| kbd:[s-p c c] | Runs a standard compilation command for your type of project. -| kbd:[s-p P] +| kbd:[s-p c t] | Runs a standard test command for your type of project. +| kbd:[s-p c i] +| Runs a standard install command for your type of project. + +| kbd:[s-p c r] +| Runs a standard run command for your type of project. + | kbd:[s-p t] | Toggle between an implementation file and its test file. |
