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
1
vote
1 answer

Is there a particular key to enter one character and exit insert mode in vim vscode extension?

I find myself adding a single letter during edits. Is there any way to add a character and exit insert mode just like replacing r but not deleting the character in Vs code vim extension? pressing i each and every time defeats the…
Sanket Wagh
  • 156
  • 1
  • 14
1
vote
0 answers

Disabling shortcuts in insertion mode with vim bindings

I am quite new to vscode, and am trying to figure out how to solve the following issue: I use vim bindings (via vscodevim), and am happy with it I have custom bindings for the main language I develop in (Coq) that I am adamant about keeping and…
YaZko
  • 41
  • 4
1
vote
1 answer

How to set a user-defined command in vscodevim

When I use vim, I set my custom settings in ~/.vimrc like this: command Noh noh command NOh noh command NOH noh so that I can execute :noh, :NOh or :NOH, which would work just like :nohl. Now I'm working with Vscode and I installed the plugin…
Yves
  • 11,597
  • 17
  • 83
  • 180
1
vote
2 answers

I only want to use normal mode and visual mode of vim in vscode

Currently I'm new to vim so I installed https://marketplace.visualstudio.com/items?itemName=vscodevim.vim in vscode to get accustomed of vim. I want to disable insert mode of vim in vscode because as insert mode is enabled in vscode, the many…
user15596049
1
vote
0 answers

VS Code Vim - command to copy between registers

In VS Code Vim extension I would like to add a keyboard binding to copy between registers. I Vim one does that via mapping :let @a=@b. But let is not supported in the extension. So is there is way to do that? What I originally wanted is to make…
Igor Bukanov
  • 4,636
  • 3
  • 16
  • 23
1
vote
1 answer

vim & vscode: remapping redo to "U"

I am trying to remap the redo command to "U" do that "u" will undo and "U" will redo. I am using vim with vscode and I am trying to change the bindings with this but it is not working. "vim.normalModeKeyBindingsNonRecursive": [ { …
Jake
  • 402
  • 1
  • 4
  • 12
1
vote
0 answers

vscodevim: After being idle for a period of time, to return to 'normal' mode or clear text in command line

vscodevim vim extension in Visual Studio Code. Sometimes, I forget to hit 'escape' to return to 'normal' mode. Or, I'll have a partially written command in the text command line that I never actually hit enter to execute. Is there a way to have…
eadgbe
  • 93
  • 2
  • 9
1
vote
0 answers

Vscode: vim plugin - Maximum call stack size exceeded

In vsCode using vim plugin. I wanted to search regex in file (/), but it caused err : TaskQueue: Error running task. Failed to handle key=/. Maximum call stack size exceeded. Source: Vim (Extension) Does anyone know why is that and how to fix that?
milanHrabos
  • 2,010
  • 3
  • 11
  • 45
1
vote
0 answers

How to define a shortcut to copy code from editor to search field in VS Code using vscodevim?

How to create a shortcut that puts the selected text into the vim(!) search field. This is partially answered here. This sequence of actions is what I need Select text "+y (you can create a shortcut for this combination if you want) Ctrl-Shift-F,…
1
vote
1 answer

How do I add a keyboard shortcut to activate/disable a VSCode extension?

I want to be able to turn certain extensions on and off with a keyboard shortcut. But didn't found out how to do keybindings for extension activation Specifically I wanna do this for VSCodeVim. So that I can use it more often and become more used to…
Sindre
  • 57
  • 1
  • 9
1
vote
0 answers

How to remap to go to line number in VSCodeVim

In vim I used to map the enter key to go to line number instead of the letter G using the following settings nnoremap v:count == 0 ? "\" : "G" I tried to achieve the same result in vim for VSCode but I couldn't. Is there a way…
Ahmed Hamed
  • 181
  • 1
  • 8
1
vote
1 answer

What is the regex expression for removing pinned versions from a Pipfile?

Per the Pipenv documentation, when importing from a requirements.txt file with pipenv install -r path/to/requirements.txt it is recommended that if your requirements file has version numbers pinned, you’ll likely want to edit the new Pipfile to…
Jason R Stevens CFA
  • 2,232
  • 1
  • 22
  • 28
1
vote
1 answer

VSCodeVim - How to bind text inserts properly?

I'm trying to figure out how to create text inserts in VSCodeVim like: inoremap sys ISystem.out.println(A); vnoremap sys yOSystem.out.println(pA); but the only thing I could come up with is some…
Sampler
  • 13
  • 4
1
vote
1 answer

Is there a command to enter insert mode / normal mode or other mode in vscodevim?

I'm trying to create a very simple snippet in VSCode and I'm using vim extension. I succeed to enter insertMode after inserting my snippet. I'm not able to write anything after that. This is my python.json file: "Print": { "prefix": "print", …
1
vote
1 answer

VS Code Vim Plugin: In command mode, the s and S key commands don't do anything

I've installed vscodevim.vim plugin (https://marketplace.visualstudio.com/items?itemName=vscodevim.vim) to Visual Studio Code running on OS X. I have the setting.json that I've pasted below. For the most part everything is working. However, in…
currenthandle
  • 1,038
  • 2
  • 17
  • 34
1 2 3
8 9