summaryrefslogtreecommitdiff
path: root/users/dvorak_42_key/vscode_macros.h
blob: 529f148d06a178fa4ccb10433e963db48f30c792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2022 LucW (@luc-languagetools)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once
#define VS_COMMANDS              MEH(KC_B)       // workbench.action.showCommands
#define VS_LINE                  MEH(KC_C)       // workbench.action.gotoLine
#define VS_DEFINITION            MEH(KC_E)       // editor.action.revealDefinition
#define VS_IMPLEMENTATION        MEH(KC_F)       // editor.action.goToImplementation
#define VS_REFERENCES            MEH(KC_G)       // editor.action.goToReferences
#define VS_BACK                  MEH(KC_H)       // workbench.action.navigateBack
#define VS_BRACKET               MEH(KC_I)       // editor.action.jumpToBracket
#define VS_TABLEFT               MEH(KC_J)       // workbench.action.previousEditor
#define VS_TABRIGHT              MEH(KC_K)       // workbench.action.nextEditor
#define VS_CLOSETAB              MEH(KC_L)       // workbench.action.closeActiveEditor
#define VS_GROUP_1               MEH(KC_M)       // workbench.action.focusFirstEditorGroup
#define VS_GROUP_2               MEH(KC_N)       // workbench.action.focusSecondEditorGroup
#define VS_CMT_BLOCK             MEH(KC_O)       // editor.action.blockComment
#define VS_CMT_LINE              MEH(KC_P)       // editor.action.commentLine
#define VS_DEL_LINE              MEH(KC_Q)       // editor.action.deleteLines
#define VS_COPYLINEDOWN          MEH(KC_R)       // editor.action.copyLinesDownAction
#define VS_BM_PREV               MEH(KC_S)       // bookmarks.jumpToPrevious
#define VS_BM_NEXT               MEH(KC_T)       // bookmarks.jumpToNext
#define VS_BM_TOGGLE             MEH(KC_U)       // bookmarks.toggle
#define VS_BM_CLEARALL           MEH(KC_V)       // bookmarks.clearFromAllFiles
#define VS_BM_LIST               MEH(KC_W)       // bookmarks.list
#define VS_BM_LISTALL            MEH(KC_X)       // bookmarks.listFromAllFiles
#define VS_JUMPY                 MEH(KC_Y)       // extension.jumpy-word
#define VS_FOCUS_EDITOR          MEH(KC_Z)       // workbench.action.focusActiveEditorGroup
#define VS_FOCUS_TERMINAL        MEH(KC_0)       // workbench.action.terminal.focus
#define VS_TOGGLE_TERMINAL       MEH(KC_1)       // workbench.action.terminal.toggleTerminal
#define VS_DEL_LEFT              MEH(KC_2)       // deleteAllLeft
#define VS_DEL_RIGHT             MEH(KC_3)       // deleteAllRight
#define VS_FIND_FILES            MEH(KC_4)       // workbench.action.findInFiles
#define VS_FILE                  MEH(KC_5)       // workbench.action.quickOpen
#define VS_SYMBOLEDITOR          MEH(KC_6)       // workbench.action.gotoSymbol