Last active
November 29, 2022 20:05
-
-
Save Fred-Vatin/976a0c4fa3b525452472731d90f25f06 to your computer and use it in GitHub Desktop.
deprecated
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
[ | |
/* ===================== > GENERAL ====================== */ | |
// Fold current node | |
{ | |
"key": "ctrl+6", | |
"command": "editor.fold", | |
"when": "editorTextFocus" | |
}, | |
// Unfold current node | |
{ | |
"key": "ctrl+=", | |
"command": "editor.unfold", | |
"when": "editorTextFocus" | |
}, | |
/* ====================== > FOLD PLUS ====================== | |
Extension required: Fold Plus | |
Install command: ext install dakara-foldplus | |
Description: Additional fold commands | |
*****************************************************************/ | |
// Fold all blocks that are at the same level as cursor | |
{ | |
"key": "ctrl+k f5", | |
"command": "dakara-foldplus.levelAtCursor", | |
"when": "editorTextFocus" | |
}, | |
// Fold all blocks that contains the selected text | |
{ | |
"key": "ctrl+k f6", | |
"command": "dakara-foldplus.selection", | |
"when": "editorTextFocus" | |
}, | |
// Fold all blocks but the ones wich contain selected text | |
{ | |
"key": "ctrl+k f7", | |
"command": "dakara-foldplus.selection.exclude", | |
"when": "editorTextFocus" | |
}, | |
// Fold all blocks but keep the one where the cursor is | |
{ | |
"key": "ctrl+k f8", | |
"command": "dakara-foldplus.cursor.exclude", | |
"when": "editorTextFocus" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the keybindings, but i don't know how to apply these to vscode. Can you elaborate?
Thanks in advance.