diff --git a/CHANGELOG.md b/CHANGELOG.md index c3fff1e..f4f2706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## next - C-C-C-Combo Edition +* Alert on unknown command + ## 0.3.0 - Extrovert Edition * Register new commands from the outside world * Added `:tabn`, `:tabp`, `:e`, `:enew`, and a few aliases diff --git a/lib/ex-state.coffee b/lib/ex-state.coffee index 40e2632..7aff344 100644 --- a/lib/ex-state.coffee +++ b/lib/ex-state.coffee @@ -49,6 +49,7 @@ class ExState @history.unshift command catch e if (e instanceof CommandError) + atom.notifications.addError("Command error: #{e.message}") @emitter.emit('failed-to-execute') else throw e