10 (Neo)vim Search and Replace Tips Every Developer Should Know

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 25

  • @youngsinatra2645
    @youngsinatra2645 Před měsícem +2

    You are a legend, thank you for these video series. The effort you put into these videos is amazing, will be looking forward to more!

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem

      Glad you like them! Just released one more about setting up LSP in Neovim, hope you like it too.

  • @a_maxed_out_handle_of_30_chars

    absolutely wonderful, I'm glad I found this channel :)

  • @sreedev
    @sreedev Před měsícem +1

    I have been using vim since 2019 on a daily basis. To this day i find and learn new things in vim and it brings me so much joy.
    Thank you for the such a thorough explanation. I learned quite a few new things today!

  • @wojciech-kulik
    @wojciech-kulik Před měsícem +2

    I think it's the most comprehensive coverage of that topic :)! Even though I feel like I watched all Neovim videos available on YT, I still learned a lot from this one 🍻 Dobra robota!

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem +2

      Wow, thank you! This definitely made my day :). Today I have released another video in the series about macros, curious what you think about it: czcams.com/video/ERMmTs4AVA4/video.html

  • @eliasgill2453
    @eliasgill2453 Před měsícem +1

    I always knew that vim's search and replace was super powerfull, but this video finally gives me the push I needed to actually learn the power of this tool.

  • @manrique.varela
    @manrique.varela Před měsícem +1

    Thank you for the videos! I'm learning a lot 🙏

  • @linusziegler2413
    @linusziegler2413 Před měsícem +1

    Geat video! Dont know how many times i needed these features but was too lazy to just look it up haha

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem +1

      @@linusziegler2413 thank you! Which one was your favorite? I find capture groups to be really useful.

    • @linusziegler2413
      @linusziegler2413 Před měsícem

      @@cloud-native-corner definitely the capture groups haha, it just blows my mind how useful its been

  • @surfas5434
    @surfas5434 Před měsícem

    Awesome!

  • @blank001
    @blank001 Před měsícem

    Great video, I use nvim as a daily driver
    Only few times I use Vscode is for 1: large text replace/change
    2: Debugger
    Your video clears the first issue I have with nvim
    And another quick question
    How do you create the text in the slides, specially I mean this type of format (lines used for pointing)
    /[name]
    |
    +------- info
    Do you manual edit this or use a tool, something like asciifow?

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem +2

      Debugger is a big one, it took me a while to set it up for Go. I still prefer to use `delve` from command line, mostly due to the fact that it can record and playback debugging sessions and it's easier to automate. I wish debugging to be more integrated with core nvim, especially the settings.
      The ASCII 'diagram' is pretty easy to edit macros/substitution, but I'm working on a lua module to automate it :)

  • @ilias6152
    @ilias6152 Před měsícem

    Very good video. Thank you. Which plugin do you use for the quickfix list to open the popup above?

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem +2

      Thank you! I use two plugins to improve qf:
      - use 'yssl/QFEnter' -----> enables opening multiple files in splits
      - use 'kevinhwang91/nvim-bqf' -----> adds most of the functionality.

  • @ZacMagee
    @ZacMagee Před měsícem

    Great content, thank you for not using AI voice 😂

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem +1

      Thank you! As for the AI, I got progressively annoyed by it. For content creation, it gets in the way rather than helps. There are a few automated things like formatting or targeted edits, but overall I really don't like using it for content creation. I can see why so many people say about AI bubble bursting soon. :)

    • @ZacMagee
      @ZacMagee Před měsícem

      @cloud-native-corner I totally agree. It has its place but i feel if you can't record your voice for 30 mins then maybe this is not the field for you.
      Great content man, I'll be a regular viewer.

  • @aftamohd
    @aftamohd Před dnem

    can you tell how configure key bindings...

    • @cloud-native-corner
      @cloud-native-corner  Před 10 hodinami

      Maybe this video would be helpful: czcams.com/video/Et0Wu29t4_k/video.html

  • @TheZemackdaddy
    @TheZemackdaddy Před měsícem

    What do you have in your .vimrc for your leader S action?

    • @cloud-native-corner
      @cloud-native-corner  Před měsícem +1

      Those are simple shortcuts to drop you in the command line for searching:
      utils.lnmap("ss", ":s/", { silent = false }) -- search and replace
      utils.lnmap("SS", ":%s/", { silent = false }) -- search and replace
      lnmap is simply adding to the shortcut.