From aae19536cd9090946ceedaf251d54d22a38d66de Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sat, 20 Sep 2025 15:15:41 +0200 Subject: [PATCH] feat(code-server): add bookmarks extension and custom keybinds --- .local/share/code-server/User/extensions.json | 1 + .../share/code-server/User/keybindings.json | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/.local/share/code-server/User/extensions.json b/.local/share/code-server/User/extensions.json index ac01f4a..f9b94df 100644 --- a/.local/share/code-server/User/extensions.json +++ b/.local/share/code-server/User/extensions.json @@ -1,4 +1,5 @@ [ + "alefragnani.bookmarks", "demartini.vscode-idiomatic-css-comments-snippets", "hangxingliu.vscode-nginx-conf-hint", "ms-python.debugpy", diff --git a/.local/share/code-server/User/keybindings.json b/.local/share/code-server/User/keybindings.json index 3349c9c..36b9cf0 100644 --- a/.local/share/code-server/User/keybindings.json +++ b/.local/share/code-server/User/keybindings.json @@ -27,5 +27,39 @@ { "key": "ctrl+shift+h", "command": "-workbench.action.replaceInFiles" + }, + { + "key": "shift+alt+oem_5", + "command": "bookmarks.toggle", + "when": "editorTextFocus" + }, + { + "key": "ctrl+alt+k", + "command": "-bookmarks.toggle", + "when": "editorTextFocus" + }, + { + "key": "shift+alt+1", + "command": "bookmarks.jumpToNext", + "when": "editorTextFocus" + }, + { + "key": "ctrl+alt+l", + "command": "-bookmarks.jumpToNext", + "when": "editorTextFocus" + }, + { + "key": "shift+alt+2", + "command": "bookmarks.jumpToPrevious", + "when": "editorTextFocus" + }, + { + "key": "ctrl+alt+j", + "command": "-bookmarks.jumpToPrevious", + "when": "editorTextFocus" + }, + { + "key": "shift+alt+3", + "command": "bookmarks.clear" } ] \ No newline at end of file