fixed smart cursor direction for - and |
made smart cursor for $ more intuitive and [Enter] in a function line ($ at first position) sets the cursor bottom right of $