qmk_firmware/users/dvorak_42_key/vscode_macros.h

36 lines
2.5 KiB
C
Raw Permalink Normal View History

// 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