Ex mode for Atom
Find a file
Jasper v. B a450f5853f Update contributing guidelines
LongLiveCHIEF no longer maintains this repository and I'm watching it, so the @mentions are unnecessary. Also, only collaborators can assign issues so step #2 doesn't work anyways.
2016-08-15 23:31:08 +02:00
.github Update contributing guidelines 2016-08-15 23:31:08 +02:00
keymaps working title 2015-02-19 18:11:25 +01:00
lib Merge pull request #159 from jazzpi/split-options-set 2016-08-14 21:52:32 +02:00
spec Merge pull request #159 from jazzpi/split-options-set 2016-08-14 21:52:32 +02:00
styles distinguish prefix from input 2015-08-03 12:21:01 +02:00
.gitignore blank package 2015-02-19 08:29:59 +01:00
.travis.yml travis: install vim-mode 2015-07-30 08:55:14 +02:00
CHANGELOG.md Wrong version in CHANGELOG 2016-08-03 12:24:04 +02:00
LICENSE.md blank package 2015-02-19 08:29:59 +01:00
package.json Prepare 0.12.0 release 2016-08-14 21:54:02 +02:00
README.md Make aliasing more prominent 2016-02-18 18:12: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...")

You can also add aliases:

atom.packages.onDidActivatePackage (pack) ->
  if pack.name == 'ex-mode'
    Ex = pack.mainModule.provideEx()
    Ex.registerAlias 'WQ', 'wq'
    Ex.registerAlias 'Wq', 'wq'

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