inside_

u/inside_



r/vim•

Hi,

Have you heard of such a plugin?

I accidentaly closed my current tab with my superbe window splits layout and then was sad I couldn't "ressurect" it. An undo close tab would have saved me some time creating the same window split layout.

Best,

1711

r/vim•

Hi,

:h '[ says "To the first character of the previously changed or yanked text."

This is true, but if you :write or :update the file, the '[ marks new position is the first line of the file. '] get overwritten too and its value is the last line of the file.

Is this behavior a feature or a bug?

Best,

82


r/vim•

Hello vimmers,

I know many of you use external grep programs like ag, git grep or ack. ag --column can report the column number of the first match. But what about other matches on the line? AFAIK, none of the mentionned tools reports all matches on the line like :vimgrep /pattern/g can.

I would like to improve my grep workflow, so here's a fork of ag: https://github.com/inside/the_silver_searcher with the --vimgrep option added.

And here's an animated gif to show you what it does: http://i.imgur.com/dkbCuPr.gif

If you like this behavior, you can join the discussion on the github's pull request: https://github.com/ggreer/the_silver_searcher/pull/504

I hope you'll find this useful, Yann

5416

r/vim•

Hi!

It seems external grep tools like git grep, ack or ag only report the first match from the current line.The g pattern flag for :vimgrep can report multiple matches on the same line. But :vimgrep is slow.

Here's one solution I found that could be wrapped into a function or plugin:

:vimgrep /pattern/g `git grep --name-only pattern`

Is there a better way you can think of?

Thanks!

59


You've reached the end of this feed.