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
0
votes
0 answers

Home/End/PgUp/PgDn keys not working properly with VS Code (with vim extension)

This has been bugging me since a long time and even after lots of researching, I couldn't find a solution. I am using vim extension for vs code. So the issue is basically, While in insert mode, if I press (say) Home key to go to the beginning of…
Aditya Agarwal
  • 221
  • 2
  • 11
0
votes
0 answers

How to preserve yanked text in buffer after pasting over selection in Visual mode using VSCode Vim extension?

I am using the Vim extension in Visual Studio Code and I'm facing an issue with the buffer behavior. When I yank some text and then paste it over a selection in visual mode, the yanked text gets replaced in the buffer with the text that…
0
votes
1 answer

How can I resolve the issue where pressing J in VSCode's Vim extension "waits for the second chord" even after a fresh installation?

When pressing J, it "waits for the second chord". https://share.cleanshot.com/lLsKvvJ0 The extension is freshly installed for the fifth time and it still occurs; I checked the ~/.vscode/extensions directory after uninstalling to see if there were…
Kamil
  • 27
  • 5
0
votes
1 answer

vscode vim fix-indentation with = not working

I am using below versions of vscode and vscode-vim extentions. OS: MAC OSX 13.X VSCode: 1.77.3 VScodeVim: 1.25.2 Issue: python_var = some_python_function(arg_a, arg_b, arg_c, arg_d) # ==…
0
votes
0 answers

When I toggle from Vim mode in VS Code, my cursor changes to "line" type even though I had cursor set to block throughout VS code

enter image description hereI have "editor.cursorStyle": "block" in settings.json but whenever I toggle back from Vim mode, my cursor changes to "line" automatically. In Vim it is set to block and line depending on the mode I am in. Is this a bug…
0
votes
0 answers

In VSCode, Exit "insert" mode (when using vim plugin) via keybinding

I want to create a key binding that when I press 'f+j' key (f AND k) keys when I am in "insert" mode, exit to visual mode. I tried this on the keybinding.json but did not work: { "key": "fj", "command": "extension.vim_escape", "when":…
campescassiano
  • 809
  • 5
  • 18
0
votes
0 answers

How to totally invert "J" and "K" commands in Vim plugin for VsCode?

I'm asking if it's possible to invert the "J" and "K" keybindings, cause I've managed to change all the normal mappings but i didn't found anything about how to change the "buffer" related to some commands like Delete,copy, paste etc. in normal…
0
votes
0 answers

Overwin search using vscode vim?

I am wondering if there is a way to achieve the easymotion overwin search or something similar in vscode vim. It seems it is not supported by default there (maybe due to different concepts of vscode editor groups and vim window?). Thanks!
Jason Song
  • 145
  • 1
  • 9
0
votes
1 answer

how to effeciently search and change a specific text vim

I am very new to vim and I am using vs code vim extension. I have to frequently replace some words for that I use * command example is shown below const FooBar = ()=>{ //some code } export default FooBar If I want to change FooBar to say JhonDoe…
Nisha Dave
  • 669
  • 1
  • 9
  • 25
0
votes
1 answer

VS Code How to Jump OUT of a bracket

In the middle of a pair of brackets, I want to move the cursor OUT of the bracket. That is (This is some| text) --> (This is some text)| I notice that there is a Go to Bracket command which moves the cursor TO the bracket, i.e., (This is some|…
atlas
  • 15
  • 1
  • 6
0
votes
0 answers

Vim bind to execute vscode snippet

I was trying to create a vim binding to execute a snippet in vscode I installed a react snippets extension, and instead of manually writing rafce, accepting the autocomplete and pressing Esc, I wanted to bind c to do it automatically. I…
zechuegui
  • 3
  • 1
  • 5
0
votes
0 answers

VSCodeVim Extension substitute keybindings

With the VSCodeVim Extension, I'd like to map a keybinding (leader + "p") to a substitute command that wraps the text on the current line with "print(TEXT)", so that e.g., f'The value of `x` is {x}.' Becomes print(f'The value of `x` is {x}.') But…
tef2128
  • 740
  • 1
  • 8
  • 19
0
votes
1 answer

How do I get hop to work with vscode neovim?

In my init.lua I have: require("base") -- general settings require("highlights") -- colourscheme and other highlights require("keymaps") -- keymaps require("plugins") -- plugins require("hop") -- hop require("bootstrap") -- packer…
55 Cancri
  • 1,075
  • 11
  • 23
0
votes
1 answer

How to make backticks `` be treated as quotes in VIM?

I am writing in TypeScript and would like commands like ciq to let me change the inner contents of a template literal. However, the q part of the command seems to only treat single and double quote marks as valid. Is there any easy fix for this?
0
votes
1 answer

How to map "Go To Implementation" using VsCode Vim?

I want to map something like gi to open a Typescript interface implementation for example. In VsCode the shortcut is Ctrl + F12 and I tried to add a map like this inoremap gi in .vimrc file but that does not work. I also tried to do that in…
Jancer Lima
  • 744
  • 2
  • 10
  • 19
1 2 3
8 9