Skip to content

Commit f38e95d

Browse files
zolrathmhanberg
authored andcommitted
docs: projectionist commands
1 parent 924e79b commit f38e95d

1 file changed

Lines changed: 88 additions & 6 deletions

File tree

README.md

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

202202
## Projectionist
203203

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

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

0 commit comments

Comments
 (0)