Level Up Your Vim Game with These Hidden Tricks

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025

ความคิดเห็น • 51

  • @comfysage
    @comfysage ปีที่แล้ว +6

    btw, u can use `set cmdheight=0` to hide the command line underneath the statusbar. since u use nui for your commandline this might remove some visual noise

  • @goodboyneon
    @goodboyneon ปีที่แล้ว +7

    Your videos are pure gold! They deserve way more attention. By the way, it'll be cool to have the real Ultimate Neovim setup guide. There are lots on TH-cam but they lack one thing or another. I think you are the perfect person to teach us how to setup our Neovim just like yours or at least like an absolute pro!

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      Ahh thanks for all the kind words mate!
      Definitely noted and I'm still researching the best way to jump start a full blown Neovim configuration. I'm on it 😉

  • @CurlyWoof
    @CurlyWoof ปีที่แล้ว

    SO nicely produced. A pleasure to watch. Tips I had not seen elsewhere on ^O and spelling. Thank you very much!

  • @n0kodoko143
    @n0kodoko143 ปีที่แล้ว

    I love that there is always more to learn. Some great nuggets in this video!

  • @joffreybluthe7906
    @joffreybluthe7906 ปีที่แล้ว +7

    One trick that I particularly like that I got from the Primeagen is "g+increment".
    So if you have a column of 0, select all of them and then do g and then ^A you end up with a column of 1, 2, 3, 4, etc...
    Works with decrements as well!
    But I can never remember that it's g when I need it lol

    • @neon13x
      @neon13x ปีที่แล้ว

      That's a very cool trick, thanks :)

    • @joffreybluthe7906
      @joffreybluthe7906 ปีที่แล้ว

      You're welcome! 😁

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      That's perfect! Yet another "G" magic in Vim.
      I think this keystroke actually deserves its own video...

  • @Skatox
    @Skatox ปีที่แล้ว +2

    Awesome! I didn't know about the Ctrl + O for a single normal mode command.
    Also, I was looking the video in the background and wondering how to edit the content inside brackets and your video told me exactly like 2 seconds later.

  • @mikhailhyde565
    @mikhailhyde565 ปีที่แล้ว +2

    Do you plan on sharing your config? It’s everything I’ve ever wanted out of neovim 😍

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      Of course! Right here: github.com/omerxx/dotfiles/blob/master/nvim/init.lua

    • @mikhailhyde565
      @mikhailhyde565 ปีที่แล้ว

      @@devopstoolbox wow...how about a patreon xD

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      @@mikhailhyde565 that’s very flattering! I don’t think I’m there yet though. I want to share knowledge and learn from the community and that’s my joy right now. When I feel it has grown enough and I can find a process that can create additional value for certain members I’ll reconsider :)
      Thanks!

  • @tabotkevin8116
    @tabotkevin8116 ปีที่แล้ว

    Nice video, I love your nvim config. Which flavour of nvim is this? Or is it a person configuration version?

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      Thank you!
      This a self-configured neovim powered by kickstart.nvim. I’ll probably make a video about that shorlty

  • @jparaujobezerra
    @jparaujobezerra ปีที่แล้ว +3

    Great video, what is that window "Commandline" in 1:10?

    • @jparaujobezerra
      @jparaujobezerra ปีที่แล้ว

      Ive found it, noice.nvim plugin. Thank you

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      Yes! This is Noice! Supper interesting project

  • @bobby9568
    @bobby9568 ปีที่แล้ว +1

    How did you make it look like that? Including the middle pop up menu that shows up

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      Hi! I'm guessing you're asking about noice, check it out! - github.com/folke/noice.nvim

  • @felipegutierrez2944
    @felipegutierrez2944 ปีที่แล้ว +1

    1:34 I had the same problem with notify about my transparent background, i added this to my theme config => require("notify").setup({ background_colour = "#000000"})

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      Yes! I've done that too but was more annoyed with the sudden color so left it as is. I should probably restore it.
      Thanks!

  • @gabrieltambellinitanzi439
    @gabrieltambellinitanzi439 ปีที่แล้ว

    Very nice !!

  • @rossvold
    @rossvold 8 หลายเดือนก่อน

    What do you use to get the messages in a window on the top right?

  • @adibhanna
    @adibhanna ปีที่แล้ว

    Great video!

  • @niksingh710
    @niksingh710 ปีที่แล้ว +3

    can you please share your Noice.nvim config?

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      Certainly! To be honest I didn't customize at all, but what I do recommend is adding this config bit if you're using lualine so that noice doesn't hide it when you record macros:
      github.com/omerxx/dotfiles/blob/master/nvim/init.lua#L324

    • @niksingh710
      @niksingh710 ปีที่แล้ว

      @@devopstoolbox Thanks for sharing!! Loving your content minimal and informative.
      I wanted to get that noice completions as I type unable to figure out how to get that.

  • @utilyre
    @utilyre ปีที่แล้ว +1

    You can also append "camel" to spelloptions (`vim.opt.spelloptions:append("camel")`) to avoid getting errors on correct words like HelloWorld

  • @rafaelborgesdev
    @rafaelborgesdev ปีที่แล้ว

    Hi, which terminal do you use?

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      It changes a lot! Nowadays for daily work wezterm. For videos it's mostly iterm or wezterm depends on the mood :)

  • @Danielo515
    @Danielo515 ปีที่แล้ว +2

    You don't need to put the cursor on top of the number. It's enough to be on the same line

  • @avatar_ng
    @avatar_ng ปีที่แล้ว +1

    How is your experience using noice?

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      So far, really good. The only thing I find slightly annoying is the hanging notifications which sometimes hide text. I work around it by jumping to the pop up window (C-w+C-w) and then closing it (C-w c). There's probably better configuration that I haven't yet got around to set

    • @channel-rk2pn
      @channel-rk2pn ปีที่แล้ว +1

      ​@@devopstoolbox if you only have 1 window (no splits) you can just do Ctrl+w o, which closes all other windows except current one

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      @@channel-rk2pn True! Although with no splits this is usually not a problem as the notifications are quite far from where I normally view code 😎

  • @edusoto91
    @edusoto91 ปีที่แล้ว +2

    shift + down does not really work by default
    shift + j does.
    Great video!

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      You’re totally right! Thanks!

  • @surajthakkar
    @surajthakkar ปีที่แล้ว +1

    please post more Kubernetes content :)

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว

      I want to! Maybe further down the road. Anything in particular you’re interested in?

  • @ChristophVonBagel
    @ChristophVonBagel ปีที่แล้ว

    Oh wow that session thing reminds me of tmux ... Awesome . I didn't even know about :tabnew lol ... I got a long way to go .

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +1

      Well I love Tmux, and I've got more Tmux content coming soon, but my workflow in Vim and out is definitely influenced by tmux style / motions etc.