Vim icon indicating copy to clipboard operation
Vim copied to clipboard

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

Open Morgawr opened this issue 11 years ago • 3 comments

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 avatar Dec 12 '14 00:12 Morgawr

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

cldwalker avatar Dec 13 '14 20:12 cldwalker

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 avatar Feb 12 '15 19:02 zaz

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

zaz avatar Feb 22 '15 07:02 zaz