Ex mode for Atom
Find a file
jazzpi 91f3f82730 New command defining format, minor improvements
- If the second address is empty, it is assumed to be `.`
- Regex addresses and `:substitute` now integrate with search history and
  respect case sensitivity settings
- Patterns for `:substitute` can't be delimited by
- `:set` now supports inverting options using `:set inv{option}` and
  `:set {option}!`
- New commands: `:new`, `:vnew`, `:exit`, `:xall`, `:wall`, `:qall`, `:update`
2015-07-31 12:01:47 +02:00
keymaps working title 2015-02-19 18:11:25 +01:00
lib New command defining format, minor improvements 2015-07-31 12:01:47 +02:00
spec New command defining format, minor improvements 2015-07-31 12:01:47 +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
.travis.yml travis: install vim-mode 2015-07-30 08:55:14 +02: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 New command defining format, minor improvements 2015-07-31 12:01:47 +02:00
README.md New command defining format, minor improvements 2015-07-31 12:01:47 +02: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_0_30()
    Ex.registerCommand
      name: 'z'
      priority: 1
      callback: -> 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