From 50b98443c7c3148398e6c00244e9c789281e3d13 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sat, 20 Sep 2025 15:32:11 +0200 Subject: [PATCH] feat(code-server): add bookmarks extension and custom keybinds (#46) Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/46 --- .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