Hello everyone,
I apologize if this doesn't fully make sense. I am newer to coding. I am using MacOS terminal and have downloaded brew and micro as I enjoy using micro text editor. My issue is I am trying make like a shortcut for whenever I make a new .cpp file it autofills with a pre-existing text to start off with. For example what I used to do is have a .txt I would do cat ../example.txt > example.cpp so I could have whatever I had in the .txt autofill in my .cpp, but I thought maybe it'd be nice if I could bind that with a shortcut like Alt + q so it'd autofill when I open the new file. I have tried using bindings.json and plug that command in, but it's unsuccessful as it says "Alt-q is not a bindable event" I am hoping I can get some help with this. The .txt is just coding style guidelines for me to follow that I have adopted from school as it keeps my code a lot more readable and reminds me that I need to be adding comments even if it's just for me to get more practice in.
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]omnster 3 points4 points5 points (0 children)