Questions tagged [vscodevim]

for questions related to the extension vscodevim for editor Visual Studio Code.

Extension for editor Visual Studio Code to emulate vim.

130 questions
2
votes
2 answers

How to efficiently copy code from editor to search field in VS Code using vscodevim?

This is currently how I copy code from an editor to a search field in VS code using vscodevim. Select text in editor somehow Right click to open up the contextual menu (since pressing Ctrl+C does not seem to work on Ubuntu, even when in input mode,…
user1283776
  • 19,640
  • 49
  • 136
  • 276
2
votes
1 answer

Is "Expresssion Register" not supported by the VsCodeVim extension?

I've been learning vim recently and I've been using the vscodevim extension to get the shortcuts in Visual Studio Code. Yesterday I came across this tutorial which uses to 'Expression Register' to do simple calculations. This worked when using vim…
2
votes
2 answers

Surround a text/word with braces using vscodevim

Is there is any shortcut to wrap in braces or quotes selected text/word in vscodevim plugin? Thanks in advance!
i474232898
  • 781
  • 14
  • 25
2
votes
2 answers

vscode + vim: commenting line doesn't move cursor down

How to make Visual Studio Code move my cursor one line down, after commenting current line with ctrl + / shortcut? I tried (in user settings): "vim.normalModeKeyBindings": [ { "before": [""], "after": ["", "j"] …
Kossak
  • 1,273
  • 1
  • 16
  • 31
2
votes
1 answer

Visual Studio Code Vim: How do I bind shift-space

I'm trying to use Vim mode in Visual Studio Code, using their VSCodeVim extension In my old vimrc it looks like: map In Code's settings.json I've tried: "vim.insertModeKeyBindingsNonRecursive": [ { "before":…
Bukov
  • 650
  • 8
  • 19
2
votes
2 answers

How do you navigate in code completion drop downs when using vscodevim?

I try to use hjkl for navigation in VS code, but I get thrown off whenever a code completion drop down appears as I must use the arrow keys to navigate those. Is there any way around this? How do you do?
user1283776
  • 19,640
  • 49
  • 136
  • 276
1
vote
2 answers

Automatically center the screen after moving with easymotion

I am using the Vim extension for VSCode. I like to keep my cursor aligned in the middle of the screen. It's why i remapped a few keys to perform automatically zz after the commands. How is it possible with the easymotion feature ? I would like to be…
accoumar
  • 21
  • 3
1
vote
1 answer

How to remap keys in Vim VS Code?

I'm remapping keys in settings.json (VS Code) like that: "vim.normalModeKeyBindingsNonRecursive": [ { "before":[""], "commands": [ ":m-2", ] }, { "before":[""], "commands": [ …
1
vote
1 answer

How can I change the delay until a held keypress begins to repeat in VS Code?

I'm using the VS Code Vim extension, and if I want to move down and I hold j for example it will move down once, pause then continue. Is there a way to make it automatically keep going up without that pause? I've been digging through the settings…
user21318185
1
vote
1 answer

How do i use vim surround from the middle of a word to the end of a line?

printemployee.fullname(emp_1) I want to use vs code vim-surround to give me this result: print(emloyee.fullname(emp_1) I've tried yss from the cursor on e but that wraps the whole line. I've tried ysw from the cursor on e but that only wraps (…
arkosno
  • 51
  • 5
1
vote
1 answer

How can I remove the double space to dot mapping in VIM? Or why is it even useful?

In my VIM-VSCode setup, I'm trying to edit the behaviour of the double space tap when in insert mode to NOT add a dot. I'm not sure either why this is considered useful behaviour? The current fixes I found are not working and I'm not sure…
Hendrik
  • 175
  • 8
1
vote
1 answer

Is there a way that saving file in VS code triggers the return in Vim normal mode?

I start using the VSCodeVim plugin in VS Code. I regularly save my file with Cmd-S (in Mac). Following the philosophy of Practical Vim book, I consider this save point moment as a break in my thinking process. It would be cool if when I type Cmd-S,…
pom421
  • 1,731
  • 19
  • 38
1
vote
1 answer

Vim for VSCode does not work correctly occasionally for moving cursor to previous or next position (ctrl + i / o)

One of my most beloved features in Vim is using ctrl + o for moving to recent previous positions, and ctrl + i to restore (moving forward) the cursor. For some reason in my VSCode this would not work correctly all the time. Sometimes the cursor…
supersize
  • 13,764
  • 18
  • 74
  • 133
1
vote
0 answers

VSCode VIM Extension - E488 Trailing Characters

I'm trying to insert a range using: :put =range(11,15) But the error: E488: trailing characters appears. How can I resolve this issue? I am using the VIM extension for VSCode.
1
vote
2 answers

Changing VSCode-Vim Indent to 4 spaces

I am using VSCode's Vim extension and it seems like the tabs are set to two spaces, but I want to change this because I work mostly in Python, which uses 4 spaces. I have found several posts/articles about changing tab spacings in Vim, but at first…
GrayLiterature
  • 381
  • 2
  • 13
1 2 3
8 9