Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

The 'c' keybind sometimes doesn't drop into insert mode #47

Open
Morgawr opened this issue Dec 12, 2014 · 3 comments
Open

The 'c' keybind sometimes doesn't drop into insert mode #47

Morgawr opened this issue Dec 12, 2014 · 3 comments

Comments

@Morgawr
Copy link

Morgawr commented Dec 12, 2014

I tend to use the 'c' character a lot to delete + insert text in a single keystroke. Sometimes after I have been working for a while, I realize that hitting 'c'+something (like 'cw' or 'ct(' ) it will delete the contents but not drop me into insert mode.
I fear this might be related to bug #38 but I am not sure.

@Morgawr Morgawr changed the title The 'c' keybind sometimes doesn't drop into instert mode The 'c' keybind sometimes doesn't drop into insert mode Dec 12, 2014
@cldwalker
Copy link
Member

I can't reproduce this on osx 10.9. Please provide more info to make this reproducible.

@zaz
Copy link

zaz commented Feb 12, 2015

I have the exact same issue on Arch Linux, LightTable 0.7.2, Vim 0.1.0. The bug doesn't seem to affect me on CodeMirror's vim demo, but as Morgawr said, it only arises after working for a while.

Any suggestions on debugging this? Is there some way to log all keypresses to a file, for example?

@zaz
Copy link

zaz commented Feb 22, 2015

Possibly related error:

Uncaught TypeError: Cannot read property 'line' of undefined
  codemirror.js [1052]  clipPos
  codemirror.js [6567]  createObj.setBookmark
  codemirror.js [6684]  anonymous
         vim.js [1918]  operators.change
         vim.js [1490]  commandDispatcher.evalInput
         vim.js [1063]  commandDispatcher.processMotion
         vim.js [1038]  commandDispatcher.processCommand
         vim.js [738]   vimApi.handleKey
         vim.js [4603]  anonymous
  codemirror.js [3162]  doHandleBinding
  codemirror.js [3219]  anonymous
  codemirror.js [4909]  lookup
  codemirror.js [4924]  CodeMirror.lookupKey
  codemirror.js [3218]  handleCharBinding
  codemirror.js [3277]  onKeyPress
  codemirror.js [2146]  anonymous

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants