Last active
July 10, 2022 22:20
-
-
Save MarcoBardalesRodriguez/472e3d8e5d94d26c11a7b44bdad47ce6 to your computer and use it in GitHub Desktop.
Settings for vim extension in VScode
This file contains hidden or 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
{ | |
"workbench.colorTheme": "Monokai", | |
"editor.cursorStyle": "line", | |
"editor.wordWrap": "on", | |
"editor.bracketPairColorization.enabled": true, | |
"editor.bracketPairColorization.independentColorPoolPerBracketType": true, | |
"terminal.integrated.profiles.windows": { | |
"PowerShell": { | |
"source": "PowerShell", | |
"icon": "terminal-powershell" | |
}, | |
"Command Prompt": { | |
"path": [ | |
"${env:windir}\\Sysnative\\cmd.exe", | |
"${env:windir}\\System32\\cmd.exe" | |
], | |
"args": [], | |
"icon": "terminal-cmd" | |
}, | |
"Git Bash": { | |
"source": "Git Bash" | |
} | |
}, | |
"terminal.integrated.defaultProfile.windows": "Git Bash", | |
"editor.fontFamily": "'Fura code','Hack','Arial'", | |
"security.workspace.trust.untrustedFiles": "open", | |
"workbench.settings.openDefaultKeybindings": true, | |
"vim.easymotion": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": false, | |
"vim.hlsearch": true, | |
"vim.sneak": true, | |
"vim.easymotionMarkerooundColor": "#020202", | |
"vim.searchHighlightTextColor": "None", | |
"vim.normalModeKeyBindings": [ | |
// switch between tabs using Tab and S-tab | |
{ | |
"before": ["<tab>"], | |
"commands": ["workbench.action.nextEditor"] | |
}, | |
{ | |
"before": ["<S-tab>"], | |
"commands": ["workbench.action.previousEditor"] | |
}, | |
// move to ending of the line | |
{ | |
"before": ["<leader>", "h"], | |
"after": ["_"] | |
}, | |
// move to beginning of the line | |
{ | |
"before": ["<leader>", "l"], | |
"after": ["$"] | |
}, | |
], | |
"vim.insertModeKeyBindings": [ | |
// Use jk for exit insert mode | |
{ | |
"before": ["j", "k"], | |
"after": ["<Esc>"] | |
}, | |
], | |
"vim.visualModeKeyBindings": [ | |
// Use < and > for the sangria | |
{ | |
"before": [">"], | |
"after": [">", "g", "v"] | |
}, | |
{ | |
"before": ["<"], | |
"after": ["<", "g", "v"] | |
}, | |
// Use J and K for move text | |
{ | |
"before": ["J"], | |
"commands": ["editor.action.moveLinesDownAction"] | |
}, | |
{ | |
"before": ["K"], | |
"commands": ["editor.action.moveLinesUpAction"] | |
} | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
// save file active editor | |
{ | |
"before": ["<leader>","w"], | |
"commands": ["workbench.action.files.save"] | |
}, | |
// close active editor | |
{ | |
"before": ["<leader>", "q"], | |
"commands": ["workbench.action.closeActiveEditor"] | |
}, | |
// go to command line | |
{ | |
"before": [":"], | |
"commands": ["workbench.action.showCommands"] | |
}, | |
// split vertical in editor | |
{ | |
"before": ["<leader>", "s", "p"], | |
"commands": ["workbench.action.splitEditor"] | |
}, | |
// removing selection of text of searches | |
{ | |
"before": ["<leader>","<leader>","<leader>","<leader>"], | |
"commands": [":nohl"] | |
}, | |
], | |
"vim.leader": "<space>", | |
"vim.handleKeys": { | |
// select all | |
"<C-a": false, | |
// sidebar | |
"<C-b>": false, | |
// explorer | |
"<C-e>": false, | |
// find | |
"<C-f>": false, | |
// terminal | |
"<C-j>": false, | |
// copy | |
"<C-c>": false, | |
// cut | |
"<C-x>": false, | |
// paste | |
"<C-v>": false, | |
// re undo | |
"<C-r>": true, | |
// undo | |
"<C-z>": false, | |
// fast search file | |
"<C-space>": false, | |
// comment | |
"<C-/": true, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment