Skip to content

Commit b1824c2

Browse files
authored
docs: projectionist commands (#86)
1 parent 85206de commit b1824c2

File tree

1 file changed

+88
-6
lines changed

1 file changed

+88
-6
lines changed

README.md

Lines changed: 88 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,92 @@ You can run any `mix` command in your project, complete with... autocomplete!
204204

205205
## Projectionist
206206

207-
[vim-projectionist](https://github.com/tpope/vim-projectionist) definitions are provided for:
207+
[vim-projectionist](https://github.com/tpope/vim-projectionist) integration!
208208

209-
- Elixir files
210-
- Phoenix Views
211-
- Phoenix Controllers
212-
- Phoenix Channels
213-
- Wallaby/Hound Feature tests
209+
:Esource {args}
210+
211+
: Create or edit a regular source module.
212+
213+
```vim
214+
Esource my_app/accounts/team
215+
```
216+
217+
:Etest {args}
218+
219+
: Create or edit a regular test module.
220+
221+
```vim
222+
Etest my_app/accounts/team
223+
```
224+
225+
:Etask {args}
226+
227+
: Create or edit a Mix task module.
228+
229+
```vim
230+
Etask server.start
231+
```
232+
233+
:Econtroller {args}
234+
235+
: Create or edit a Phoenix controller module.
236+
237+
```vim
238+
Econtroller my_project_web/users
239+
```
240+
241+
:Eview {args}
242+
243+
: Create or edit a Phoenix view module.
244+
245+
```vim
246+
Eview my_project_web/users
247+
```
248+
249+
:Ehtml {args}
250+
251+
: Create or edit a Phoenix HTML module.
252+
253+
```vim
254+
Ehtml my_project_web/users
255+
```
256+
257+
:Ejson {args}
258+
259+
: Create or edit a Phoenix JSON module.
260+
261+
```vim
262+
Ejson my_project_web/users
263+
```
264+
265+
:Ecomponent {args}
266+
267+
: Create or edit a Phoenix.Component module.
268+
269+
```vim
270+
Ecomponent my_project_web/users
271+
```
272+
273+
:Eliveview {args}
274+
275+
: Create or edit a Phoenix.LiveView module.
276+
277+
```vim
278+
Eliveview my_project_web/users
279+
```
280+
281+
:Elivecomponent {args}
282+
283+
: Create or edit a Phoenix.LiveComponent module.
284+
285+
```vim
286+
Elivecomponent my_project_web/users
287+
```
288+
289+
:Echannel {args}
290+
291+
: Create or edit a Phoenix channel module.
292+
293+
:Efeature {args}
294+
295+
: Create or edit a Wallaby test module.

0 commit comments

Comments
 (0)