12 votes

A little appreciation for Vim's 'g' command

3 comments

  1. gyrozeppeli
    Link
    This is pretty cool too, but from the title I thought it was going to be about the g commands, like g$, gj/gk, g'/g`, gf, etc. g actually has a ton of commands which I recommend reading in vim's...

    This is pretty cool too, but from the title I thought it was going to be about the g commands, like g$, gj/gk, g'/g`, gf, etc. g actually has a ton of commands which I recommend reading in vim's help mode: :help g

    5 votes
  2. giodamelio
    Link
    An awesome little read. Much like the author the g command it one of the million little vim things I theoretically "know" about but never actually use in practice. I love reading little blurbs...

    An awesome little read. Much like the author the g command it one of the million little vim things I theoretically "know" about but never actually use in practice. I love reading little blurbs like this, maybe I will actually remember :g next time it could be helpful.

    2 votes
  3. masochist
    Link
    Chris Siebanmann's blog is a lovely source of info. I used to read his blog really closely when I was a sysadmin. We disagreed on a few points here and there but he always has good reasons for his...

    Chris Siebanmann's blog is a lovely source of info. I used to read his blog really closely when I was a sysadmin. We disagreed on a few points here and there but he always has good reasons for his points.

    As I recall, this command (technically, the version in the ed editor) is the origin of the command grep! The Wikipedia article provides a bit of background.

    2 votes