On Jul 20, 5:44 pm, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > You may also simplify the substitute, e.g. (untested) > > :s/^\(.\{-}\)\(\%x7C\)\(.\{-}\)\ze\%x7C/\3\2\1 > You can further simplify using "very magic" so you don't need to use '\' as often. :help /\v --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
- [vim_use] Abbreviating a command John Sampson
- Re: [vim_use] Abbreviating a command Tony Mechelynck
- Re: Abbreviating a command Ben Fritz
- RE: [vim_use] Abbreviating a command John Beckett
- [vim_use] Abbreviating a command John Sampson
- Re: [vim_use] Abbreviating a command François Ingelrest
- Re: [vim_use] Abbreviating a command John Sampson
- Re: Abbreviating a command Ben Fritz
- Re: Abbreviating a command Efraim Yawitz
- Re: Abbreviating a comma... Efraim Yawitz
- Re: Abbreviating a comma... Efraim Yawitz
- Learning Vim (Was: Abbreviat... Tony Mechelynck
- Re: Learning Vim (Was: A... John Sampson