Implement :s

This commit is contained in:
jazzpi 2015-03-22 23:14:56 +01:00
parent 161c55c94f
commit f662a96afd
4 changed files with 78 additions and 6 deletions

View file

@ -1,10 +1,7 @@
ExViewModel = require './ex-view-model'
Ex = require './ex'
Find = require './find'
class CommandError
constructor: (@message) ->
@name = 'Command Error'
CommandError = require './command-error'
class Command
constructor: (@editor, @exState) ->
@ -164,4 +161,4 @@ class Command
else
throw new CommandError("Not an editor command: #{input.characters}")
module.exports = {Command, CommandError}
module.exports = Command