How do I visual select a calculation backwards?
问题 I would like to visual select backwards a calculation p.e. 200 + 3 This is my text -300 +2 + (9*3) |-------------|* This is text 0,25 + 2.000 + sqrt(15/1.5) |-------------------------|* The reason is that I will use it in insert mode. After writing a calculation I want to select the calculation (using a map) and put the results of the calculation in the text. What the regex must do is: - select from the cursor (see * in above example) backwards to the start of the calculation (including \/-+*