Re: Regex arithmetic

2017-08-05 Thread Nikolay Aleksandrovich Pavlov
2017-08-05 23:27 GMT+03:00 porphyry5 : > On Friday, August 4, 2017 at 10:03:16 AM UTC-7, porphyry5 wrote: >> :h submatch( includes >> Example: >> :s/\d\+/\=submatch(0) + 1/ >> This finds the first number in the line and adds one to it. >> >> Needing to increment several

Re: Regex arithmetic

2017-08-05 Thread porphyry5
On Friday, August 4, 2017 at 10:03:16 AM UTC-7, porphyry5 wrote: > :h submatch( includes >         Example: >             :s/\d\+/\=submatch(0) + 1/ >         This finds the first number in the line and adds one to it. > > Needing to increment several fields consisting of underscore and a single

Re: [OT] "steep learning curve" ... but what is it actually?

2017-08-05 Thread Xavier Noria
Vim has a steep learning curve simply because Vim does a lot. As a metric, https://vimhelp.appspot.com/#reference_toc is huge. In some conferences I have seen the speaker ask "what is ";" for?" Nobody knows, maybe a couple hands raised. The audience may know :wq, and fugitive, but they have n

Re: Map CTRL-[ to CTRL-T, is it possible

2017-08-05 Thread Pablo Giménez
Thanks Tony. But I'm too used to use the Esc key to get out of Insert mode. I will have to figure out another pair of keymaps to jumo between tags. Cheers 2017-08-05 3:16 GMT+01:00 Tony Mechelynck : > On Sat, Aug 5, 2017 at 4:09 AM, Tony Mechelynck > wrote: > > On Sat, Aug 5, 2017 at 1:03 AM, Pa