Alex wrote:
> This is something that bugs me too. Four keystrokes is an especially high
> cost for very short strings. What if we had an alternative syntax for
> strings that don't contain spaces? Something like 'foo would be synonymous
> with "foo", but would save three keystrokes.
Hey Alex!
A nice trick is to rebind the ' key to print ". Then you can make the shifted
version print '.
To day I was experimenting with something similar for the ':'. It's annoying
that it's shifted and is used pretty often; the beginning of a word.
So I programmed Emacs: If I press the ';' key and I'm at the beginning of a
line, it prints ':'.
I also had a fancier variant that Slava inspired. Instead of simply
inserting ':', it inserts the whole word template:
: ( -- ) ;
leaving the cursor where the word name will go.
Ed
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk