From 5e937eca2b178605a78360da6ba7ed7f0b34721a Mon Sep 17 00:00:00 2001 From: starr-dusT Date: Tue, 29 Nov 2022 23:06:09 -0800 Subject: [PATCH] update codium keybinds --- .config/VSCodium/User/keybindings.json | 182 ++++++++++++++++++++++--- .config/VSCodium/User/settings.json | 3 +- provision/tasks/system/packages.yml | 3 +- 3 files changed, 166 insertions(+), 22 deletions(-) diff --git a/.config/VSCodium/User/keybindings.json b/.config/VSCodium/User/keybindings.json index d71f742b..da6c3c7b 100644 --- a/.config/VSCodium/User/keybindings.json +++ b/.config/VSCodium/User/keybindings.json @@ -1,9 +1,5 @@ // Place your key bindings in this file to override the defaultsauto[] [ - { - "key": "ctrl+j", - "command": "-workbench.action.togglePanel" - }, { "key": "ctrl+j", "command": "-vscode-neovim.send", @@ -27,11 +23,6 @@ "key": "ctrl+k", "command": "workbench.action.navigateUp" }, - { - "key": "ctrl+h", - "command": "-editor.action.startFindReplaceAction", - "when": "editorFocus || editorIsOpen" - }, { "key": "ctrl+h", "command": "-vscode-neovim.send", @@ -51,16 +42,6 @@ "key": "ctrl+h", "command": "workbench.action.navigateLeft" }, - { - "key": "ctrl+l", - "command": "-notebook.centerActiveCell", - "when": "notebookEditorFocused" - }, - { - "key": "ctrl+l", - "command": "-expandLineSelection", - "when": "textInputFocus" - }, { "key": "ctrl+l", "command": "-vscode-neovim.send-cmdline", @@ -74,5 +55,168 @@ { "key": "ctrl+l", "command": "workbench.action.navigateRight" + }, + { + "key": "ctrl+o k", + "command": "workbench.action.openGlobalKeybindings" + }, + { + "key": "ctrl+k ctrl+s", + "command": "-workbench.action.openGlobalKeybindings" + }, + { + "key": "ctrl+q", + "command": "-workbench.action.quit" + }, + { + "key": "ctrl+q", + "command": "workbench.action.closeActiveEditor" + }, + { + "key": "ctrl+w", + "command": "-workbench.action.closeActiveEditor" + }, + { + "key": "ctrl+shift+q", + "command": "workbench.action.reopenClosedEditor" + }, + { + "key": "ctrl+shift+t", + "command": "-workbench.action.reopenClosedEditor" + }, + { + "key": "ctrl+t a", + "command": "workbench.action.toggleActivityBarVisibility" + }, + { + "key": "ctrl+e", + "command": "-workbench.action.quickOpen" + }, + { + "key": "ctrl+e", + "command": "-cursorEnd", + "when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'" + }, + { + "key": "ctrl+e", + "command": "-workbench.action.quickOpenNavigateNextInFilePicker", + "when": "inFilesPicker && inQuickOpen" + }, + { + "key": "ctrl+t e", + "command": "workbench.action.toggleSidebarVisibility" + }, + { + "key": "ctrl+b", + "command": "-workbench.action.toggleSidebarVisibility" + }, + { + "key": "ctrl+t t", + "command": "workbench.action.terminal.toggleTerminal", + "when": "terminal.active" + }, + { + "key": "ctrl+`", + "command": "-workbench.action.terminal.toggleTerminal", + "when": "terminal.active" + }, + { + "key": "ctrl+t c", + "command": "workbench.debug.action.toggleRepl", + "when": "workbench.panel.repl.view.active" + }, + { + "key": "ctrl+shift+y", + "command": "-workbench.debug.action.toggleRepl", + "when": "workbench.panel.repl.view.active" + }, + { + "key": "ctrl+t o", + "command": "workbench.action.output.toggleOutput", + "when": "workbench.panel.output.active" + }, + { + "key": "ctrl+k ctrl+h", + "command": "-workbench.action.output.toggleOutput", + "when": "workbench.panel.output.active" + }, + { + "key": "ctrl+t p", + "command": "workbench.actions.view.problems", + "when": "workbench.panel.markers.view.active" + }, + { + "key": "ctrl+shift+m", + "command": "-workbench.actions.view.problems", + "when": "workbench.panel.markers.view.active" + }, + { + "key": "ctrl+t m", + "command": "editor.action.toggleMinimap" + }, + { + "key": "ctrl+j", + "command": "-workbench.action.togglePanel" + }, + { + "key": "ctrl+shift+k", + "command": "-editor.action.deleteLines", + "when": "textInputFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+h", + "command": "workbench.action.moveActiveEditorGroupLeft" + }, + { + "key": "ctrl+k left", + "command": "-workbench.action.moveActiveEditorGroupLeft" + }, + { + "key": "ctrl+shift+l", + "command": "workbench.action.moveActiveEditorGroupRight" + }, + { + "key": "ctrl+k right", + "command": "-workbench.action.moveActiveEditorGroupRight" + }, + { + "key": "ctrl+shift+k", + "command": "workbench.action.moveActiveEditorGroupUp" + }, + { + "key": "ctrl+k up", + "command": "-workbench.action.moveActiveEditorGroupUp" + }, + { + "key": "ctrl+shift+j", + "command": "workbench.action.moveActiveEditorGroupDown" + }, + { + "key": "ctrl+k down", + "command": "-workbench.action.moveActiveEditorGroupDown" + }, + { + "key": "ctrl+shift+h", + "command": "-workbench.action.replaceInFiles" + }, + { + "key": "ctrl+shift+j", + "command": "-workbench.action.search.toggleQueryDetails", + "when": "inSearchEditor || searchViewletFocus" + }, + { + "key": "ctrl+shift+l", + "command": "-addCursorsAtSearchResults", + "when": "fileMatchOrMatchFocus && searchViewletVisible" + }, + { + "key": "ctrl+shift+l", + "command": "-editor.action.selectHighlights", + "when": "editorFocus" + }, + { + "key": "ctrl+shift+l", + "command": "-selectAllSearchEditorMatches", + "when": "inSearchEditor" } ] \ No newline at end of file diff --git a/.config/VSCodium/User/settings.json b/.config/VSCodium/User/settings.json index 768b8b30..e090c388 100644 --- a/.config/VSCodium/User/settings.json +++ b/.config/VSCodium/User/settings.json @@ -1,4 +1,5 @@ { "security.workspace.trust.untrustedFiles": "newWindow", - "redhat.telemetry.enabled": true + "redhat.telemetry.enabled": true, + "workbench.activityBar.visible": false } \ No newline at end of file diff --git a/provision/tasks/system/packages.yml b/provision/tasks/system/packages.yml index 64969dce..f8a5f09c 100644 --- a/provision/tasks/system/packages.yml +++ b/provision/tasks/system/packages.yml @@ -18,5 +18,4 @@ name: - com.github.tchx84.Flatseal # Manage Flatpak permissions state: present - become: true - + become: true \ No newline at end of file