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

How to enable to "scroll up" in code sugguestions/hints with vscode vim instead of using arrow keys?

VScodevim has extension.vim_ctrl+j by default mapped to Ctrl+j which allows you do navigate down pop-up code suggestion windows (triggered by hitting Ctrl+Space in insert mode) like this: It also has extension.vim_ctrl+k mapped to Ctrl+k but this…
amy
  • 354
  • 1
  • 9
6
votes
1 answer

VS Code - Remap certain arrow key functionality

I'm using the vs vim extension and would like to move away from arrow keys completely, but certain windows in vs code only allow arrow key navigation. So instead of having to go up and down the list with arrow keys, I would like to use ctrl + k and…
P4ndemic
  • 151
  • 1
  • 5
5
votes
1 answer

How do I rebind Y to yank to the end of the line when using VS Code's Vim extension?

I'm using VS Code's neovim integration with neovim installed from snap. I want Y to work the same way as D and C. In ~/.config/nvim/init.vim I would add map Y y$ How do I do this in VS Code? I've tried "vim.normalModeKeyBindingsNonRecursive":…
Boris Verkhovskiy
  • 14,854
  • 11
  • 100
  • 103
5
votes
7 answers

Vim for VSCode: Remap ctrl + e to go to end of line in insert mode

I'm using Vim with VSCode. I'm trying to remap ctrl+e to got to the end of the line when in insert mode. Here is what I wrote in my settings.json: "vim.insertModeKeyBindingsNonRecursive": [{ "before": ["", "$"], "after": [""]…
J. Hesters
  • 13,117
  • 31
  • 133
  • 249
4
votes
0 answers

Registers command not working in Vim Extension for VS Code

I am using the Vim extension for VSCode. In normal mode when I type :reg to access the registers, I instead am given a pop-up text window in VSCode and the registers don't show up. What is the issue here and how can I solve it? I was expecting the…
Atharva
  • 99
  • 6
4
votes
2 answers

How can I get key repeat to work with Vim in VSCodium

I have installed VSCodium and the Vim extension from vscodevim (Mac), but I don't have any key repeat. I have tried the following terminal command, but it doesn't seem to work: defaults write com.microsoft.VSCodeExploration ApplePressAndHoldEnabled…
Kromanen
  • 43
  • 4
4
votes
0 answers

VS Code + Vim -- Enter insert mode on click

As I am gradually getting used to the Vim extension in VS code, I find myself falling back quite often to using the mouse. Is there a setting I can configure so that whenever I use the mouse to click and move my cursor, vim will automatically switch…
David Callanan
  • 5,601
  • 7
  • 63
  • 105
4
votes
2 answers

Place multiple cursors with the same word prefix in VS code vim plugin

In the vscode vim plugin, I use gb to select multiple words. I have four functions starting with handle but they are not exactly the same word. How can I put multi cursor for selecting them? Thanks in advance! handleSearchTermOnChange …
tcf01
  • 1,699
  • 1
  • 9
  • 24
4
votes
1 answer

VSCode Vim plugin folding ctrl+k ctrl+

I'm using VSCode with Vim extension enabled. By default, VSCode Ctrl+K Ctrl+number would fold the code of the entire file to the indent level set by the number. This is EXTREMELY useful for me, and I use it all the time. The problem is: with the…
Borjovsky
  • 758
  • 2
  • 10
  • 24
4
votes
0 answers

How to bind VS code actions to vim commands in VSCodeVim?

How can I bind VS code actions like workbench.action.toggleActivityBarVisibility to make new vim commands like :tglActivityBar. Here is what I tried in my vscode's settings.json: "vim.normalModeKeyBindings": [ { "before":…
Manik
  • 573
  • 1
  • 9
  • 28
4
votes
2 answers

Vim EasyMotion for VS Code not activating

Does anyone use Vim with VSCode? For some reason, my key (space), does not activate the easy-motion plugin (I made sure it is enabled in the settings), but just moves the cursor to the right once. I am new to VS Code, am I missing…
andriy
  • 105
  • 2
  • 8
4
votes
1 answer

VSCode Vim extension to search for visual mode selected text

In vim I can search for a visually selected string using a number of techniques including what can be found here: http://vim.wikia.com/wiki/Search_for_visually_selected_text Is there a way to do the same thing in VSCode with the Vim extension?
Ralph Canapa
  • 610
  • 1
  • 5
  • 21
3
votes
0 answers

Does VS Code Vim have an equivalent to Atom's vim-mode-plus toggle-preset-occurrence?

I currently use Atom with the vim-mode-plus extension as my text editor, and I have been recommended to try VS Code (with the vim extension). I am enjoying it so far, but am missing the ability to select all the occurences of the word under the…
3
votes
1 answer

VSCode Vim Settings not working for remaps with "

I have this in my settings.json for preventing vim from replacing my clipboard when I delete something: "vim.visualModeKeyBindingsNonRecursive": [ { "before": ["", "d"], "after": ["\"_d"] }, { "before":…
Amal Thundiyil
  • 307
  • 1
  • 4
  • 9
3
votes
1 answer

issue with vscode-neovim navigations

I am using VsCode on MAC OSX. I installed vscode-vim and editor works fine. Now, I installed vscode-neovim extension and updated settings.json with below "vim.enableNeovim": true, "vim.neovimPath": "/usr/local/bin/nvim" However, when I press…
1
2
3
8 9