@@ -41,11 +41,11 @@ You can learn more about Projectile's notion of a project xref:projects.adoc[her
4141
4242You need to know only a handful of Projectile commands to start benefiting from it.
4343
44- * Find file in current project (+++< kbd>+++ s-p f+++</kbd>+++ )
45- * Switch project (+++< kbd>+++ s-p p+++</kbd>+++ )
46- * Grep in project (+++< kbd>+++ s-p s g+++</kbd>+++ )
47- * Replace in project (+++< kbd>+++ s-p r+++</kbd>+++ )
48- * Invoke a command via the Projectile Commander (+++< kbd>+++ s-p m+++</kbd>+++ )
44+ * Find file in current project (kbd:[ s-p f] )
45+ * Switch project (kbd:[ s-p p] )
46+ * Grep in project (kbd:[ s-p s g] )
47+ * Replace in project (kbd:[ s-p r] )
48+ * Invoke a command via the Projectile Commander (kbd:[ s-p m] )
4949
5050The next section lists many more commands, but the basics can get you pretty far.
5151
@@ -61,160 +61,160 @@ Here's a list of the interactive Emacs Lisp functions, provided by Projectile:
6161|===
6262| Keybinding | Description
6363
64- | +++< kbd>+++ s-p f+++</kbd>+++
64+ | kbd:[ s-p f]
6565| Display a list of all files in the project. With a prefix argument it will clear the cache first.
6666
67- | +++< kbd>+++ s-p F+++</kbd>+++
67+ | kbd:[ s-p F]
6868| Display a list of all files in all known projects.
6969
70- | +++< kbd>+++ s-p g+++</kbd>+++
70+ | kbd:[ s-p g]
7171| Display a list of all files at point in the project. With a prefix argument it will clear the cache first.
7272
73- | +++< kbd>+++ s-p 4 f+++</kbd>+++
73+ | kbd:[ s-p 4 f]
7474| Jump to a project's file using completion and show it in another window.
7575
76- | +++< kbd>+++ s-p 4 g+++</kbd>+++
76+ | kbd:[ s-p 4 g]
7777| Jump to a project's file based on context at point and show it in another window.
7878
79- | +++< kbd>+++ s-p 5 f+++</kbd>+++
79+ | kbd:[ s-p 5 f]
8080| Jump to a project's file using completion and show it in another frame.
8181
82- | +++< kbd>+++ s-p 5 g+++</kbd>+++
82+ | kbd:[ s-p 5 g]
8383| Jump to a project's file based on context at point and show it in another frame.
8484
85- | +++< kbd>+++ s-p d+++</kbd>+++
85+ | kbd:[ s-p d]
8686| Display a list of all directories in the project. With a prefix argument it will clear the cache first.
8787
88- | +++< kbd>+++ s-p 4 d+++</kbd>+++
88+ | kbd:[ s-p 4 d]
8989| Switch to a project directory and show it in another window.
9090
91- | +++< kbd>+++ s-p 5 d+++</kbd>+++
91+ | kbd:[ s-p 5 d]
9292| Switch to a project directory and show it in another frame.
9393
94- | +++< kbd>+++ s-p T+++</kbd>+++
94+ | kbd:[ s-p T]
9595| Display a list of all test files(specs, features, etc) in the project.
9696
97- | +++< kbd>+++ s-p l+++</kbd>+++
97+ | kbd:[ s-p l]
9898| Display a list of all files in a directory (that's not necessarily a project)
9999
100- | +++< kbd>+++ s-p s g+++</kbd>+++
100+ | kbd:[ s-p s g]
101101| Run grep on the files in the project.
102102
103- | +++< kbd>+++ M-- s-p s g+++</kbd>+++
103+ | kbd:[ M-- s-p s g]
104104| Run grep on `projectile-grep-default-files` in the project.
105105
106- | +++< kbd>+++ s-p v+++</kbd>+++
106+ | kbd:[ s-p v]
107107| Run `vc-dir` on the root directory of the project.
108108
109- | +++< kbd>+++ s-p V+++</kbd>+++
109+ | kbd:[ s-p V]
110110| Browse dirty version controlled projects.
111111
112- | +++< kbd>+++ s-p b+++</kbd>+++
112+ | kbd:[ s-p b]
113113| Display a list of all project buffers currently open.
114114
115- | +++< kbd>+++ s-p 4 b+++</kbd>+++
115+ | kbd:[ s-p 4 b]
116116| Switch to a project buffer and show it in another window.
117117
118- | +++< kbd>+++ s-p 5 b+++</kbd>+++
118+ | kbd:[ s-p 5 b]
119119| Switch to a project buffer and show it in another frame.
120120
121- | +++< kbd>+++ s-p 4 C-o+++</kbd>+++
121+ | kbd:[ s-p 4 C-o]
122122| Display a project buffer in another window without selecting it.
123123
124- | +++< kbd>+++ s-p a+++</kbd>+++
124+ | kbd:[ s-p a]
125125| Switch between files with the same name but different extensions.
126126
127- | +++< kbd>+++ s-p 4 a+++</kbd>+++
127+ | kbd:[ s-p 4 a]
128128| Switch between files with the same name but different extensions in other window.
129129
130- | +++< kbd>+++ s-p 5 a+++</kbd>+++
130+ | kbd:[ s-p 5 a]
131131| Switch between files with the same name but different extensions in other frame.
132132
133- | +++< kbd>+++ s-p o+++</kbd>+++
133+ | kbd:[ s-p o]
134134| Runs `multi-occur` on all project buffers currently open.
135135
136- | +++< kbd>+++ s-p r+++</kbd>+++
136+ | kbd:[ s-p r]
137137| Runs interactive query-replace on all files in the projects.
138138
139- | +++< kbd>+++ s-p i+++</kbd>+++
139+ | kbd:[ s-p i]
140140| Invalidates the project cache (if existing).
141141
142- | +++< kbd>+++ s-p R+++</kbd>+++
142+ | kbd:[ s-p R]
143143| Regenerates the projects `TAGS` file.
144144
145- | +++< kbd>+++ s-p j+++</kbd>+++
145+ | kbd:[ s-p j]
146146| Find tag in project's `TAGS` file.
147147
148- | +++< kbd>+++ s-p k+++</kbd>+++
148+ | kbd:[ s-p k]
149149| Kills all project buffers.
150150
151- | +++< kbd>+++ s-p D+++</kbd>+++
151+ | kbd:[ s-p D]
152152| Opens the root of the project in `dired`.
153153
154- | +++< kbd>+++ s-p 4 D+++</kbd>+++
154+ | kbd:[ s-p 4 D]
155155| Opens the root of the project in `dired` in another window.
156156
157- | +++< kbd>+++ s-p 5 D+++</kbd>+++
157+ | kbd:[ s-p 5 D]
158158| Opens the root of the project in `dired` in another frame.
159159
160- | +++< kbd>+++ s-p e+++</kbd>+++
160+ | kbd:[ s-p e]
161161| Shows a list of recently visited project files.
162162
163- | +++< kbd>+++ s-p left+++</kbd>+++
163+ | kbd:[ s-p left]
164164| Switch to the previous project buffer.
165165
166- | +++< kbd>+++ s-p right+++</kbd>+++
166+ | kbd:[ s-p right]
167167| Switch to the next project buffer.
168168
169- | +++< kbd>+++ s-p E+++</kbd>+++
169+ | kbd:[ s-p E]
170170| Opens the root `dir-locals-file` of the project.
171171
172- | +++< kbd>+++ s-p s s+++</kbd>+++
172+ | kbd:[ s-p s s]
173173| Runs `ag` on the project, performing a literal search. Requires the presence of `ag.el`. With a prefix argument it will perform a regex search.
174174
175- | +++< kbd>+++ s-p !+++</kbd>+++
175+ | kbd:[ s-p !]
176176| Runs `shell-command` in the root directory of the project.
177177
178- | +++< kbd>+++ s-p &+++</kbd>+++
178+ | kbd:[ s-p &]
179179| Runs `async-shell-command` in the root directory of the project.
180180
181- | +++< kbd>+++ s-p C+++</kbd>+++
181+ | kbd:[ s-p C]
182182| Runs a standard configure command for your type of project.
183183
184- | +++< kbd>+++ s-p c+++</kbd>+++
184+ | kbd:[ s-p c]
185185| Runs a standard compilation command for your type of project.
186186
187- | +++< kbd>+++ s-p P+++</kbd>+++
187+ | kbd:[ s-p P]
188188| Runs a standard test command for your type of project.
189189
190- | +++< kbd>+++ s-p t+++</kbd>+++
190+ | kbd:[ s-p t]
191191| Toggle between an implementation file and its test file.
192192
193- | +++< kbd>+++ s-p 4 t+++</kbd>+++
193+ | kbd:[ s-p 4 t]
194194| Jump to implementation or test file in other window.
195195
196- | +++< kbd>+++ s-p 5 t+++</kbd>+++
196+ | kbd:[ s-p 5 t]
197197| Jump to implementation or test file in other frame.
198198
199- | +++< kbd>+++ s-p z+++</kbd>+++
199+ | kbd:[ s-p z]
200200| Adds the currently visited file to the cache.
201201
202- | +++< kbd>+++ s-p p+++</kbd>+++
202+ | kbd:[ s-p p]
203203| Display a list of known projects you can switch to.
204204
205- | +++< kbd>+++ s-p S+++</kbd>+++
205+ | kbd:[ s-p S]
206206| Save all project buffers.
207207
208- | +++< kbd>+++ s-p m+++</kbd>+++
208+ | kbd:[ s-p m]
209209| Run the commander (an interface to run commands with a single key).
210210
211- | +++< kbd>+++ s-p ESC+++</kbd>+++
211+ | kbd:[ s-p ESC]
212212| Switch to the most recently selected Projectile buffer.
213213|===
214214
215215If you ever forget any of Projectile's keybindings just do a:
216216
217- +++< kbd>+++ s-p C-h+++</kbd>+++
217+ kbd:[ s-p C-h]
218218
219219It is possible to add additional commands to
220220`projectile-command-map` referenced by the prefix key in
0 commit comments