diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index 0fc5ec9..4476272 100644 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -1,8 +1,2 @@ // Place your key bindings in this file to override the defaultsauto[] -[ - { - "key": "shift+k", - "command": "editor.action.showHover", - "when": "editorTextFocus" - } -] \ No newline at end of file +[] diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 3a3e3a2..4d9feed 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -1,5 +1,19 @@ { "workbench.colorTheme": "Solarized Dark", + "workbench.startupEditor": "none", "files.autoSave": "afterDelay", - "workbench.startupEditor": "none" -} + "vim.normalModeKeyBindings": [ + { + "before": ["K"], + "commands": ["editor.action.showHover"], + }, + { + "before": ["", "r", "f"], + "commands": ["fileutils.renameFile"], + }, + { + "before": ["", "f"], + "commands": ["editor.action.formatDocument"], + }, + ], +} \ No newline at end of file