vim-mode icon indicating copy to clipboard operation
vim-mode copied to clipboard

Uncaught TypeError: Cannot read property 'split' of undefined

Open leebo opened this issue 9 years ago • 16 comments

  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

leebo avatar Dec 23 '15 19:12 leebo

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

atom

SchDen avatar Dec 30 '15 12:12 SchDen

+1

alexisvincent avatar Jan 09 '16 08:01 alexisvincent

Same here.

metalelf0 avatar Jan 11 '16 08:01 metalelf0

Same problem.

rafaelndev avatar Jan 15 '16 17:01 rafaelndev

[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

aborilov avatar Jan 16 '16 18:01 aborilov

Same here

quoder avatar Jan 19 '16 19:01 quoder

same here

maple-leaf avatar Jan 21 '16 07:01 maple-leaf

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.

carlosdcastillo avatar Jan 27 '16 01:01 carlosdcastillo

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 avatar Jan 27 '16 03:01 aborilov

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

aborilov avatar Jan 27 '16 03:01 aborilov

what happens if you try changing tabs?

On Tue, Jan 26, 2016 at 10:46 PM, Pavel [email protected] 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 .

carlosdcastillo avatar Jan 27 '16 03:01 carlosdcastillo

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

aborilov avatar Jan 27 '16 03:01 aborilov

can you send me a screen shot?

On Tue, Jan 26, 2016 at 10:53 PM, Pavel [email protected] 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 .

carlosdcastillo avatar Jan 27 '16 03:01 carlosdcastillo

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

aborilov avatar Jan 27 '16 03:01 aborilov

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 [email protected] 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 .

carlosdcastillo avatar Jan 27 '16 04:01 carlosdcastillo

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

aborilov avatar Jan 27 '16 04:01 aborilov