Re: sorting lines by term inside a tag

2015-06-17 Thread Tim Chase
On 2015-06-17 22:38, Christian Brabandt wrote: The {pattern} argument tells the :sort command to ignore the text matching the pattern. See :help :sort Except when you provide the 'r' flag (which I can never remember. Anybody knows, what the r could stand for?) I'm glad I'm

Re: sorting lines by term inside a tag

2015-06-17 Thread Nikolay Pavlov
2015-06-18 3:04 GMT+03:00 Tim Chase v...@tim.thechases.com: On 2015-06-17 22:38, Christian Brabandt wrote: The {pattern} argument tells the :sort command to ignore the text matching the pattern. See :help :sort Except when you provide the 'r' flag (which I can never remember.

Re: sorting lines by term inside a tag

2015-06-17 Thread Christian Brabandt
Hi Gary! On Di, 16 Jun 2015, Gary Johnson wrote: The {pattern} argument tells the :sort command to ignore the text matching the pattern. See :help :sort Except when you provide the 'r' flag (which I can never remember. Anybody knows, what the r could stand for?) Best, Christian --

Re: extglob unset when filtering/writing text lines to bash

2015-06-17 Thread Paul
On Wednesday, June 17, 2015 at 1:31:53 AM UTC-4, ZyX wrote: 2015-06-17 8:31 GMT+03:00 Nikolay Pavlov zyx.vim_AT_gmail.com: 2015-06-16 4:55 GMT+03:00 Paul paul.domaskis_AT_gmail.com: On Monday, June 15, 2015 at 9:11:12 PM UTC-4, Gary Johnson wrote: I had the same problem a while back, but in my

Diff mode via Tabs

2015-06-17 Thread David Fishburn
Windows 8.1 64-bit using a 32-bit gVim 7.4.1-729. I use gVim for diffing from my source control system using: gvim.exe -O -d file1.txt file2.txt This works great. I was hoping to extend this a bit. When I diff a changelist, it runs the above command on all files in the changelist. This might

Inconsistent mapping of C-C.

2015-06-17 Thread Paul Isambert
Hello there, If I do this: cnoremap C-C Z then Ctrl-C properly prints Z in the commandline. On the other hand, this: noremap! C-C Z remaps Ctrl-C in insert mode but not in the commandline, as it should. An easy workaround is to replace “noremap!” with “inoremap” and “cnoremap”, but

Re: Inconsistent mapping of C-C.

2015-06-17 Thread Paul Isambert
Le mercredi 17 juin 2015 à 10:02, Christian Brabandt a écrit: Am 2015-06-17 08:36, schrieb Paul Isambert: Hello there, If I do this: cnoremap C-C Z then Ctrl-C properly prints Z in the commandline. On the other hand, this: noremap! C-C Z remaps Ctrl-C in insert mode but

Re: Inconsistent mapping of C-C.

2015-06-17 Thread Christian Brabandt
Am 2015-06-17 08:36, schrieb Paul Isambert: Hello there, If I do this: cnoremap C-C Z then Ctrl-C properly prints Z in the commandline. On the other hand, this: noremap! C-C Z remaps Ctrl-C in insert mode but not in the commandline, as it should. An easy workaround is to replace

Re: Inconsistent mapping of C-C.

2015-06-17 Thread Christian Brabandt
Am 2015-06-17 10:23, schrieb Paul Isambert: Le mercredi 17 juin 2015 à 10:02, Christian Brabandt a écrit: Am 2015-06-17 08:36, schrieb Paul Isambert: Hello there, If I do this: cnoremap C-C Z then Ctrl-C properly prints Z in the commandline. On the other hand, this: noremap! C-C Z

Re: How does vim determine the way the text is colored in the section of :help group-name?

2015-06-17 Thread Charles Campbell
Peng Yu wrote: Hi, I see the following text in :help group-name colored. But when I checked the file syntax.txt, I didn't see anything special for indicating the colors. Could anybody let me know how vim determines the colors? Thanks. snip Hello, Peng: Syntax rules pick highlighting