Ex mode for Atom
Find a file
jazzpi 42a44ee9e1 Add specs; minor changes to some commands
`:tabedit` now works as an alias to `:edit` with a path and
  as an alias to `:tabnew` without.
`:tabnew` is a new command that opens a new tab with a new file if used
 without a path and works as an alias to `:tabedit` with one.
`:tabclose` now works as a proper alias to `:quit` (i.e. passes the arguments)
`:edit` now works more like before - it opens a given path in a new tab.
 It also doesn't do anything if the file was modified since the last commit,
 unless forced by using `:edit!`
`:write` works properly again and doesn't overwrite files, unless forced by
 using `:write!`
`:xit` is now called `:xit` and not just `:x`
`:substitute` now properly replaces multiple groups (`:s/(a)b(c)/X\1\2X\0`)
2015-07-29 19:13:13 +02:00
keymaps working title 2015-02-19 18:11:25 +01:00
lib Add specs; minor changes to some commands 2015-07-29 19:13:13 +02:00
spec Add specs; minor changes to some commands 2015-07-29 19:13:13 +02:00
styles Update ex-mode.less 2015-06-23 18:12:02 +12:00
.gitignore blank package 2015-02-19 08:29:59 +01:00
CHANGELOG.md update changelog 2015-07-28 11:56:45 +02:00
LICENSE.md blank package 2015-02-19 08:29:59 +01:00
package.json Add specs; minor changes to some commands 2015-07-29 19:13:13 +02:00
README.md extensibility via services 2015-02-23 14:59:33 +01:00

ex-mode package

ex-mode for Atom's vim-mode

Use

Install both 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:

# 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