in reply to Re^2: Perl 6 and Unicode Operators
in thread Perl 6 and Unicode Operators

This is very true. I was actually thinking about the << problem the other day. I'm almost positive I can set up vi to automatically replace << with «, and I would bet that other major editors would be able to do the same. But yes, the problem comes when you add unicode characters, and suddenly I would have to add more substitutions to my vim files.

    -Bryan

Replies are listed 'Best First'.
Re^4: Perl 6 and Unicode Operators
by theorbtwo (Prior) on Jun 01, 2005 at 12:29 UTC

    With vi, you can press C-k key key to do a compose action -- C-k < < is «. However, this is still a lot more keys then <<, which works just as well.


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

      with vim and maybe vi... you can also enable digraphs with :set digraph and then you can use  < <Backspace> <. you can even hold down the shift key through the whole sequence. and just in case, :digraphs will get you the default list and :help digraphs will tell you just about everything you need to kow.