Skip to main content

Posts

Showing posts from June, 2023

VIA macros

When I start coding with VSCode, many times I need to comment on some piece of code. For that, in VScode need to do CTRL + K, CTRL + C, and for uncomment code, CTRL + K, CTRL + U. My keyboard has only one CTRL on the left side, so it's a little bit complicated to use the button. For that, I write two macros for commenting and uncommenting code. For comment code maro: {+KC_LCTL}{+KC_K}{50}{-KC_K}{50}{+KC_C}{50}{-KC_C}{-KC_LCTL} For uncomment code macro: {+KC_LCTL}{+KC_K}{50}{-KC_K}{50}{+KC_U}{50}{-KC_U}{-KC_LCTL}