question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Insert-mode selections do not work

See original GitHub issue

What did you do?

Select some text while in insert mode, for example with the mouse or Shift+arrow.

Then type something that operates on the text (that works in vanilla VS Code) for example ( to surround with parentheses.

What did you expect to happen?

I expected the editor to go into some sort of Insert-mode selection, more similar to regular VS Code selection that Vim modes, where I could type into the selection to replace it, or type (, [, {, ', ", backtick, etc. to surround the selection with pairs of characters.

What happened instead?

The editor went straight into Vim visual mode, where those keys don’t do anything.

Technical details:

  • VSCode Version: 1.3.1
  • VsCodeVim Version: 0.1.3
  • OS: Mac OS X

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:10
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

3reactions
everpointercommented, Aug 10, 2016

Sorry, I understand. Thumb up issues means create a new issue? Not sure these github workflow and currently not able to contribute the code. Thanks to the reply.

3reactions
tobiacommented, Jul 19, 2016

It also breaks snippets that have variable parts, unless I’m missing something.

Read more comments on GitHub >

github_iconTop Results From Across the Web

visual mode - Comment-out in vim with Shift-i not working
If you used V for line based visual selections, I will only enter insert mode for the very first line. However when you...
Read more >
Vim: Why does noremap not work in insert mode?
That's easy to explain: In insert mode mappings, Vim doesn't automatically switch to normal mode (you may want to stay in insert mode,...
Read more >
Vintage - Keep selection going from Visual to Insert mode
I am having a bit of an issue though, is it at all possible to go from Visual Mode to Insert Mode and...
Read more >
Editor Options - RAD Studio - Embarcadero DocWiki
Insert mode. Inserts text at the cursor without overwriting existing text. If Insert Mode is disabled, text at the cursor is overwritten. (Use...
Read more >
Select Text without jump between Insert Mode / Visual Mode
switch to visual mode and extend selection upwards :imap <S-Up> <esc>v<Up> ... Remapping C-Insert does not work for me in terminal :vmap <C-Ins>...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found