Vim: ctrl+v no longer pastes in insert mode

Created on 11 May 2018  Â·  12Comments  Â·  Source: VSCodeVim/Vim

Issue Type: Bug

In the past I've been able to paste text via ctrl+v when in insert mode. Recently however that shortcut has stopped working.

Extension version: 0.11.6
VS Code version: Code 1.23.0 (7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45, 2018-05-03T16:44:55.614Z)
OS version: Windows_NT x64 6.1.7601


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-4930MX CPU @ 3.00GHz (8 x 3192)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled|
|Memory (System)|31.94GB (18.82GB free)|
|Process Argv|C:Program FilesMicrosoft VS CodeCode.exe|
|Screen Reader|yes|
|VM|0%|


kinbug

Most helpful comment

I enjoyed being able to use Ctrl-v from insert mode to paste.

It worked like this:
if normal mode > C-v = Visual Block Mode
if insert mode > C-v = Paste

Is this a side effect of #2581?

All 12 comments

该怎么办。。。

ctrl + shift + v works for me.

hi
Copy: "yy
Paste: "
p

vim.useCtrlKeys:false, now, you can use ctrl + c, ctrl + f, ctrl+d... etc.

Ok but if there's no vim command that conflicts with ctrl+v then I shouldn't need to set vim.useCtrlKeys to false right? If so then this still looks like a bug since ctrl+v doesn't appear to be an implemented vim command in this extension.

ctrl+v is for visual block mode

I want to use paste and visual block at the same time.
So I map:

        {
            "before": [
                "<C-l>"
            ],
            "after": [
                "<C-v>"
            ]
        }

But now C-v cannot paste. And I cannot disable handle C-v because I need visual block.
What can I do?

@xconverge

I am a user of ideavim too. And it can distinguish the original key shot and vim key shot. That may help.

And I also try

        {
            "before": [
                "<C-v>"
            ],
            "after": [
                ""
            ]
            "commands": [
            {
                "command": "editor.action.clipboardPasteAction",
                "args": []
            }
        ]
        }

But I don't know why it cause my vscode stuck at every input so I cannot use this setting.

I enjoyed being able to use Ctrl-v from insert mode to paste.

It worked like this:
if normal mode > C-v = Visual Block Mode
if insert mode > C-v = Paste

Is this a side effect of #2581?

Possibly same as #2624.
This should be fixed at master, or the next release.

fixed in #2762

Was this page helpful?
0 / 5 - 0 ratings

Related issues

waltiam picture waltiam  Â·  3Comments

elithrar picture elithrar  Â·  3Comments

jaredly picture jaredly  Â·  3Comments

ACollectionOfAtoms picture ACollectionOfAtoms  Â·  3Comments

cckowin picture cckowin  Â·  3Comments