The Vim Global Command

Поділитися
Вставка

КОМЕНТАРІ • 16

  • @cody_codes_youtube
    @cody_codes_youtube День тому +4

    Yeah dude! Thanks for posting! Woke up learning something today

    • @ascourter
      @ascourter  День тому

      Thanks! I am glad I finally got this one released and it was helpful!

  • @kait6540
    @kait6540 16 годин тому

    Even though I have been using Vim for many years, there is still something new to learn. Thank you for sharing.

    • @ascourter
      @ascourter  5 годин тому

      @@kait6540 thanks! Glad you learned something new!

  • @afrid18
    @afrid18 6 годин тому

    Thanks for reminding this one, totally forget this exists

  • @ascourter
    @ascourter  День тому +2

    Do you have any tricks for using the g command?

  • @vlmath314
    @vlmath314 День тому +2

    the g! can also be done with v, same command

    • @ascourter
      @ascourter  День тому +2

      Oh nice! Thanks for sharing that. I use :v/./d to remove empty lines so that makes a lot of sense.

  • @davidgarciasantes
    @davidgarciasantes 23 години тому

    Thanks, I didn't know this, could you pass your dotfiles configuration? I'm sure we can learn something 😊

    • @ascourter
      @ascourter  23 години тому +1

      @@davidgarciasantes check out the links in the description. It should be in there.

  • @dontwanttousemyrealnametol6765
    @dontwanttousemyrealnametol6765 20 годин тому +1

    :g is a command not a mode

    • @ascourter
      @ascourter  20 годин тому +1

      Sorry, did I say mode in the video? I thought I had said command everywhere.

    • @dontwanttousemyrealnametol6765
      @dontwanttousemyrealnametol6765 18 годин тому

      @@ascourter "... global command which is one of several modes inside of Vim or Neovim ..." The :g command in itself does not change the mode, unless you add the :normal command like you show later in the video 😉

  • @ianliu88
    @ianliu88 16 годин тому +2

    I use :g//norm all the time. I find it more intuitive than recording a macro