Document Class specific keystrokes
Posted: Thu Jul 24, 2003 2:14 pm
I'd like to be able to specify keystrokes on a per document class basis.
This would allow me to use one keystroke say to insert a comment in a file but if I was working an C file I could configure it to be a C comment, C++ comments for C++ files etc. It would also allow me to use different tools in the same way for example I lint my C code with a different command to my C++ code once again I could use one key to do this by splitting my document classes.
This is kind of in lieu of fully programmable macros as I'm moving from a Brief environment where I check the file extension as part of my macros for these things and then take the appropraite action.
By the way my environment is now very close to what I was used to in Brief with the minimum of fuss.
This would allow me to use one keystroke say to insert a comment in a file but if I was working an C file I could configure it to be a C comment, C++ comments for C++ files etc. It would also allow me to use different tools in the same way for example I lint my C code with a different command to my C++ code once again I could use one key to do this by splitting my document classes.
This is kind of in lieu of fully programmable macros as I'm moving from a Brief environment where I check the file extension as part of my macros for these things and then take the appropraite action.
By the way my environment is now very close to what I was used to in Brief with the minimum of fuss.