editor.action.copyLinesDownAction mapping to ctrl+alt+j #8234
Unanswered
Metaphysics0
asked this question in
Q&A
Replies: 1 comment
-
use {
"key": "alt+shift+j",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly && vim.active && vim.mode == 'Visual' || vim.mode == 'VisualLine'"
},
{
"key": "alt+shift+k",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly && vim.active && vim.mode == 'Visual' || vim.mode == 'VisualLine'"
} by settings.json 's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In vscode, pressing
alt+shift+up
(or down) copies the current selected code and duplicates it above or below.Has anyone been able to map this command to a vim keybinding?
I've tried everything
What I want to do is this:
this does not work.
However, doing this works
I don't want to use the leader key though, and would like to just use alt + shift + j ( / k)
Beta Was this translation helpful? Give feedback.
All reactions