[vim] Inserting at beginning of line or at target in Visual Block mode doesn't work

bug

(Vikram Kamath) #1

Insertion in Visual Block Mode

I’m having problems inserting text over multiple lines in Visual Block mode

Info

  • Platform: Ubuntu
  • Platform version: Ubuntu 18.04.2 LTS (bionic)
  • App Version: (4.2.0)
  • Package (inkdrop-vim): 1.0.1

Reproduce

To reproduce:

  • Create multiple lines of text
  • <ctrl> + v to enter linewise-visual-mode
  • j j to move down over multiple lines
  • <shift> + i to insert (either at the beginning of line or ‘at target’)

The cursor moves to lines that aren’t in the selection.

Additionally, <shift> + i in visual mode doesn’t not allow insertion

Additional (Suggestion):

  • If I understand correctly, the inkdrop package is based on the Atom vim-mode package. It would be really nice if the inkdrop package was migrated to be based on the updated, feature-rich Atom-vim-mode-plus package instead.

(Takuya Matsuyama) #2

Hi Vikram,

Thank you for the report. Fixed!
Try vim@1.0.2 by ipm update.
atom-vim-mode-plus is basically not compatible with Inkdrop’s editor as it’s based on CodeMirror.


(Vikram Kamath) #3

Hi Takuya!

Thanks for the super prompt reply and the super prompt fix! I just tried it and it works! Thanks a ton!