-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.txt
68 lines (47 loc) · 2.71 KB
/
mix.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
*mix.txt* Like rake.vim but for Mix projects.
Author: Aliou Diallo <https://aliou.me>
License: Same terms as Vim itself (see |license|)
This plugin is only available if 'compatible' is not set.
INTRODUCTION *mix*
This plugin is designed to use the commands to navigate in a Mix project. It
is heavily inspired by rake.vim.
Projects are detected by searching for a Mix file (mix.exs) up the directory
hierarchy. This handles umbrella applications by checking that the Mix file
isn't in and "apps" directory.
COMMANDS *mix-commands*
*mix-:Mix*
:Mix [task] Run the Mix task.
*mix-:A*
:A [file] With no argument, edits the "alternate" file (the test
for an implementation file and vice versa). With an
argument, edit that file, relative to the project's root.
*mix-:AS*
:AS [file] Like |:A|, but horizontally split.
*mix-:AV*
:AV [file] Like |:A|, but vertically split.
*mix-:AT*
:AT [file] Like |:A|, but use a new tab.
*mix-:AD*
:AD {file} Like |:A|, but :read the file in.
*mix-:Elib*
:Elib [file] Edit an Elixir file under lib/. Variants exist for
:Slib (|:split|), :Vlib (|:vsplit|), :Tlib
(|:tabedit|), and :Dlib (|:read|).
*mix-:Emix*
:Emix [file] Edits the projects's Mix file or an umbrella
application's Mix file.
Has the same variants as |:Elib|.
*mix-:Etest*
:Etest [file] Edit a test file under test/. Defaults to the test helper.
Has the same variants as |:Elib|.
:Econfig [file] *mix-:Econfig*
Edit a configuration file under config/.
Defaults to config/config.exs.
Has the same variants as |:Elib|.
*mix-:Etask*
:Etask [file] Edit a Mix task file under lib/mix/tasks.
Has the same variants as |:Elib|.
ABOUT *mix-about*
Grab the latest version or report a bug on GitHub:
http://github.com/aliou/mix.vim
vim:tw=78:et:ft=help:norl: