Provide the vim-mode service globally

This commit is contained in:
jazzpi 2015-03-21 19:02:00 +01:00
parent 32af5b18f5
commit 1ec4589831
2 changed files with 2 additions and 1 deletions

View file

@ -32,5 +32,5 @@ module.exports = ExMode =
registerCommand: Ex.registerCommand.bind(Ex)
consumeVim: (vim) ->
console.log vim
@vim = vim
@globalExState.setVim(vim)

View file

@ -1,4 +1,5 @@
class GlobalExState
commandHistory: []
setVim: (@vim) ->
module.exports = GlobalExState