blob: b3084de666aa261a6e56bf12fb185cfcaab5fcb6 (
plain)
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
|
# ex-mode package
ex-mode for Atom's vim-mode
## Use
Install both [vim-mode](https://github.com/atom/vim-mode) and ex-mode. Type `:` in command mode. Enter `w` or `write`.
## Extend
Use the service to register commands, from your own package, or straight from `init.coffee`:
```coffee
# in Atom's init.coffee
atom.packages.onDidActivatePackage (pack) ->
if pack.name == 'ex-mode'
Ex = pack.mainModule.provideEx()
Ex.registerCommand 'z', -> console.log("Zzzzzz...")
```
See `lib/ex.coffee` for some examples commands. Contributions are very welcome!
## Status
Groundwork is done. More ex commands are easy to add and will be coming as time permits and contributions come in.
## License
MIT
|