Changes between Version 1 and Version 2 of dev/notes


Ignore:
Timestamp:
03/06/2008 12:07:43 PM (17 years ago)
Author:
Sam Hocevar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dev/notes

    v1 v2  
    33My brain is too small. I'm putting stuff here to remember it later.
    44
    5 Remove useless spaces before and after parentheses:
     5Remove useless spaces where I don't want to see them:
    66
    77{{{
    88 :%s/(  */(/g
    9  :%s/  *)/)/g
     9 :%s/  *\([);]\)/\1/g
    1010}}}
    1111
     
    1616 :%s/,\([^ ]\)/, \1/g
    1717 # Inside = + += > etc.
    18  :%s/\([a-zA-Z0-9]\)\([-+*/><=]\|[-+*/><=!]=\)\([a-zA-Z0-9]\)/\1 \2 \3/g
     18 :%s/\([a-zA-Z0-9]\)\([-+*/><=&^%]\|[-+*/><=&^%!]=\)\([a-zA-Z0-9]\)/\1 \2 \3/g
    1919}}}