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

how to typing with dvorak / colemak while in insert mode, but retaining vim’s normal key bindings in vscode vim?

I want to use dvorak layout to code in vscode,but i have a mass configure file in vscode vim based on the qwerty keyboard layout and i dont want to change my configure file. So how to use dvorak when i was typing while in insert mode in vscode vim…
0
votes
2 answers

How to delete from a cursor untill the end of a close bracket (bracket is not in the same line of the cursor)

Sometimes I need to delete from half till end of the scope, how to do that in vim I know that I can delete everything inside {} with di{ but I want to delete just half Here is a ScreenShot for more details: or how to dele this part of code: I…
Benjamin
  • 1
  • 1
0
votes
0 answers

VimVscode remap to make deleted text not enter the buffer register/clipboard

Update 17 March, 2023: I've used Vim much more now and I have realized the utility in the delete-to-clipboard behavior. If I have this issue, I'll just use Win+V to go back a couple entries in my clipboard. The default behavior of d and x is to add…
Nate
  • 56
  • 7
0
votes
0 answers

Vim (key-bindings) with Visual Studio Code vim extension

This is in my .vimrc file: :nmap p :pu I'm looking for the equivalent in vs-code(vim extension), and I tried the following but it didn't work: "vim.normalModeKeyBindings": [ { "before": ["p"], "after": ["p","u",""] …
colorless
  • 47
  • 5
0
votes
0 answers

Vscode vim key remapping for append "a" key

I am having a hard time adjusting to vscode vim i want to remap append mode key "a" to key "h" . what should I type in command <"help plzz">
0
votes
0 answers

how to rebind capslock to esc in vscodevim

I want to rebine the capslock key to esc in the vim on vscode.I configure my vim in the setting.json. "vim.insertModeKeyBindings": [ { "before": ["j", "j"], "after": [""] }, { "before": ["capslock"], "after"…
Half Dream
  • 11
  • 3
0
votes
0 answers

Vim for Visual Studio - Ctrl+C Disabled Still Enters Normal Mode

I have set the following setting in VIM for Visual Studio But when I press ctrl+c I still enter NORMAL mode. I also tried to set my own vimrc and add the ctrl-c remapping from there # inside ~/.vimrc map "+y But it still enters NORMAL mode,…
user3755529
  • 1,050
  • 1
  • 10
  • 30
0
votes
2 answers

Switch multiple panes without repeat keystrokes in VSCodeVim

Say I have three panes arranged like the following. ------------------- | | | | | A | B | C | | | | | ------------------- If I was in pane A, normally, I would navigate to pane C using CTRLw+l, CTRLw+l. Is there a…
Jaan
  • 330
  • 2
  • 9
0
votes
1 answer

How do I find out the names of various Visual Studio Code commands when they aren't displayed in a camelCase convention?

I'm using the VSCodeVim extension and am trying to configure some shortcuts for normal mode without the need of turning the extension off then on again via its togglevim command. I'm trying to add the "View: Close Editor", "View: Open Previous…
zecuse
  • 125
  • 1
  • 1
  • 8
0
votes
2 answers

How do I efficiently jump over a closing character (close-paren, closing-quote, etc) when using Vim?

I've recently started trying to learn Vim by setting up Vim keybindings in VSCode. One thing I've noticed is that when I open a quote "", parenthesis (), or bracket {}, VSCode will helpful add the closing quote/paren/bracket for me. Since I'm now…
DRJ
  • 25
  • 5
0
votes
0 answers

vscode key-binding notworking

I try to remap "$" to "L" in vscode vim so that I can jump quickly to the end of the line. I am trying using the following jason data. However, vscode keep giving me the following feedback:
Hamilton
  • 171
  • 1
  • 8
0
votes
1 answer

How to keep selection on copy with VSCodeVim

When I select code in visual mode or with the mouse and then press Cmd+C, I lose the selection. This does not happen when VSCodeVim is turned off. How do I have to configure VSCodeVim to keep the selection on pressing Cmd+C? I already tried the…
303
  • 888
  • 1
  • 11
  • 31
0
votes
1 answer

Is there any way to enclose a variable with print() statement or any function in vim especially using vim vs code extension

suppose I have a variable named a_variable is there a surround or some combination of keystrokes which will do print(a_variable) or print("a_variable: ", a_variable) when my cursor in on the line where a_variable is defined ? I could not find…
Sanket Wagh
  • 156
  • 1
  • 14
0
votes
1 answer

Vim: Moving cursor to the end of a block

Given that I am in the middle of a code block, I want to go to the end of the block without using h,j,k,l. I am looking for similar behaviour with %, which will also work when my cursor is somewhere in the code block. Example: I want to move the…
skynyrd
  • 942
  • 4
  • 14
  • 34
0
votes
1 answer

pycharm vim extension: How to remap “k+j” to Escape key?

I wanted to know how I can use the same setting in pycharm as in VSCode. "vim.insertModeKeyBindings": [ { "before": ["k", "j"], "after": [""] } ]
1 2 3
8 9