|macro keyboard for programming|
macro keyboard for programming
I used to use a microsoft sidewinder keyboard and program a lot of the macros with useful code snippets, i also took the num pad and put it on the left side and mapped snippets to it as well. this worked great, but i was surprised to find that not many people had something similar. I've seen a few things out there like X keys, but was wondering what other programmers do for repetitious code snippets. I know that most text editors allow you to save macros, but I really like to idea of having a dedicated key for a particular snippet.
Have you seen AutoHotKey [autohotkey.com]? Have not used it yet myself as I just ran across it, but I'm thinking I will be trying it out soon. Certain I can come up with many uses for it!
Depending in the "code snippet", most of the time I can type them faster than remembering any hot key combination... HOWEVER, having said that I have several in place in my editor of choice... Homesite. Of the six only one is in routine use. Guess it depends on needs and direction...
I've used autohotkey, but I don't know how that would be any better than using the stored macros in notepad++. I used autohotkey to save notepad++ and refresh firefox window and that was great.
I really cant image typing
<img src="" alt="" width="" height="" border="0" />
when I could use a button on a macro keyboard or a shortcut to do the same thing.
When I used my sidewinder keyboard, I printed a cheat sheet that showed where everything was mapped to. Most of the keys became second nature such as opening, closing php tags, img, a href, ul li, etc..
Anyone use X-Keys for this type of thing..?
Surely programmers don't type out everything over and over, that just seems unproductive to me.
|I've used autohotkey, but I don't know how that would be any better than using the stored macros in notepad++. |
|I know that most text editors allow you to save macros, but I really like to idea of having a dedicated key for a particular snippet. |
Seems kinda contradictory, or not? Oh wait I see you saying you like it narrowed down to one key only rather than a key combination. I still have not tried out autohotkey myself, as actually I don't really like having to remember "hot" keys combinations myself (though the cheat sheet would be an absolute must - I have not used x-keys either but looks like an o.k. tool if you don't mind another piece of junk on your desk :). I was actually thinking of autohotkey for some application launching type of uses perhaps, still debating uses for that with me-self.
|Surely programmers don't type out everything over and over, that just seems unproductive to me. |