]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - atom/packages/ex-mode/lib/view-model.coffee
Remove powerline config
[rbdr/dotfiles] / atom / packages / ex-mode / lib / view-model.coffee
index af96e77ce099063960a97d2154883ea73825e7f2..742d75163aec3bcc97de8d2ef9f5accce7791990 100644 (file)
@@ -1,11 +1,11 @@
-ExCommandModeInputElement = require './ex-command-mode-input-element'
+ExNormalModeInputElement = require './ex-normal-mode-input-element'
 
 class ViewModel
   constructor: (@command, opts={}) ->
     {@editor, @exState} = @command
 
 
 class ViewModel
   constructor: (@command, opts={}) ->
     {@editor, @exState} = @command
 
-    @view = new ExCommandModeInputElement().initialize(@, opts)
-    @editor.commandModeInputView = @view
+    @view = new ExNormalModeInputElement().initialize(@, opts)
+    @editor.normalModeInputView = @view
     @exState.onDidFailToExecute => @view.remove()
     @done = false
 
     @exState.onDidFailToExecute => @view.remove()
     @done = false