Hi, I have assigned an often used combination of keys to a macro in vim, it's very simple, go to start of line and insert /* , then go to end of line and append */, basically this comments a line like:
and put it like:
Code:
/*var a=anything;*/
I used qa to record my macro so I can call it with @a, I know, it's really basic, I have started with vim just one month ago, but still quite useful.
I want to know if this and other macros I create are saved somewhere so I can use them with any file whenever I want or I have to explicitly save them in some file.
I've read most of the manual and googled for it but couldn't find a precise answer.
Any ideas?
Thanks!