Created
June 3, 2024 11:04
-
-
Save hasssan/3bb6fde3269ac08bd876fbdefe7169ab to your computer and use it in GitHub Desktop.
Keybinding for vscode vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vim.normalModeKeyBindings": [], | |
"vim.visualModeKeyBindings": [ | |
{ | |
"before": [ | |
">" | |
], | |
"commands": [ | |
"editor.action.indentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"<" | |
], | |
"commands": [ | |
"editor.action.outdentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"K" | |
], | |
"commands": [ | |
"editor.action.moveLinesUpAction" | |
] | |
}, | |
{ | |
"before": [ | |
"J" | |
], | |
"commands": [ | |
"editor.action.moveLinesDownAction" | |
] | |
}, | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": [ | |
"leader", | |
"<space>" | |
], | |
"commands": [ | |
"workbench.action.files.save" | |
] | |
}, | |
// https: //github.com/VSCodeVim/Vim/issues/2007 | |
{ | |
"before": [ | |
"u" | |
], | |
"after": [], | |
"commands": [ | |
{ | |
"command": "undo" | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<C-r>" | |
], | |
"after": [], | |
"commands": [ | |
{ | |
"command": "redo" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment