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 please 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 it's a little bit complicated to use it button. For that, I write two macros for comment and uncomment 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}