carlosdcastillo / vim-mode

Experimental next generation vim support for atom. This project needs a new home!
557 stars 18 forks source link

Uncaught TypeError: Cannot read property 'split' of undefined #34

Open leebo opened 8 years ago

leebo commented 8 years ago
  1. When I type something in Atom.

Atom Version: 1.2.0 System: Mac OS X 10.11.2 Thrown From: atom-neovim package, v0.10.1

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At /Users/bobo/.atom/packages/nvim-mode/lib/vim-state.coffee:114

TypeError: Cannot read property 'split' of undefined
    at g (/Users/bobo/.atom/packages/nvim-mode/lib/vim-state.coffee:114:28)

Commands

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "monokai-dark"
    ]
  }
}

Installed Packages

# User
go-to-view, v0.3.0
monokai-dark, v1.3.0

# Dev
No dev packages
SchDen commented 8 years ago

+1 I have this error on Ubuntu 14.04 and Atom 1.3.2

atom

alexisvincent commented 8 years ago

+1

metalelf0 commented 8 years ago

Same here.

rafaelndev commented 8 years ago

Same problem.

aborilov commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.4.0 System: Mac OS X 10.11.2 Thrown From: atom-neovim package, v0.10.1

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At /Users/aborilov/.atom/packages/nvim-mode/lib/vim-state.coffee:114

TypeError: Cannot read property 'split' of undefined
    at g (/Users/aborilov/.atom/packages/nvim-mode/lib/vim-state.coffee:114:28)

Commands

     -0:29.7.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -0:08.0 core:undo (atom-text-editor.editor.vim-mode.command-mode.is-focused)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages
quoder commented 8 years ago

Same here

maple-leaf commented 8 years ago

same here

carlosdcastillo commented 8 years ago

I've committed a couple of changes that improve upon a variety of things. This should not happen any more. Please give it a test and let me known.

aborilov commented 8 years ago

OK, now Atom 1.4.1 say that this plugin deprecated. But if I type some thing in atom, I can see it in nvim, but nothing in atom editor.

aborilov commented 8 years ago

after renaming directory vim-mode to nvim-mode, Atom don't say that it deprecated, but still nothing in atom editor, all inputs appears only in nvim window

carlosdcastillo commented 8 years ago

what happens if you try changing tabs?

On Tue, Jan 26, 2016 at 10:46 PM, Pavel notifications@github.com wrote:

after renaming directory vim-mode to nvim-mode, Atom don't say that it deprecated, but still nothing in atom editor, all inputs appears only in nvim window

— Reply to this email directly or view it on GitHub https://github.com/carlosdcastillo/vim-mode/issues/34#issuecomment-175375168 .

aborilov commented 8 years ago

nothing, but if I close tab, all cleared in nvim

carlosdcastillo commented 8 years ago

can you send me a screen shot?

On Tue, Jan 26, 2016 at 10:53 PM, Pavel notifications@github.com wrote:

nothing, but if I close tab, all cleared in nvim

— Reply to this email directly or view it on GitHub https://github.com/carlosdcastillo/vim-mode/issues/34#issuecomment-175375892 .

aborilov commented 8 years ago

of course, what I need to do on it? b9adcab2ac

carlosdcastillo commented 8 years ago

Close that tab. Then Go to File->Open and open an existing file. Go to File->Open and open another existing file. Then send a screen shot.

It is really close to working.

On Tue, Jan 26, 2016 at 10:58 PM, Pavel notifications@github.com wrote:

of course, what I need to do on it? [image: b9adcab2ac] https://cloud.githubusercontent.com/assets/2526284/12603394/53af8a76-c4c3-11e5-9781-4837708b8a2c.jpg

— Reply to this email directly or view it on GitHub https://github.com/carlosdcastillo/vim-mode/issues/34#issuecomment-175378273 .

aborilov commented 8 years ago

It's work on existing files! If I change tabs, it changes in nvim too. 8473d8a833