SPEED UP your Vim navigation skills!

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 47

  • @machinima1402
    @machinima1402 Рік тому +26

    Telescope is one of the greatest additions for nvim, it created this sort of new "terminal based IDE" image in which would be almost weird to not have telescope as it is to not have a file tree in GUI IDEs
    Also, in marks topic, i highly suggest you harpoon for memory muscle based motions between a feature related set of files, it's been game changing for me.
    Glad to see another great video!

  • @LilianChisca
    @LilianChisca Рік тому +4

    Hey mate, just wanted to say your videos are absolutely top-notch! I've been learning so much from them and some of your tips are seriously game-changing. Keep 'em coming, because we're all here for it. Can't wait for the next one. Cheers!

    • @devopstoolbox
      @devopstoolbox  Рік тому

      Oh my! Thanks buddy! 😎

    • @ErmandDurro
      @ErmandDurro Рік тому

      Totally agree on this. Really top-notch quality 🙂 Well done

  • @glyphack
    @glyphack Рік тому +1

    I've discovered these techniques after 6 months of using vim. This is a great video to watch to know all of them quickly.

  • @romanmaciel8072
    @romanmaciel8072 Рік тому +2

    For a fun project, extract your kebinds into a table (maybe in a separate file), and load them in the init field where your plugin declaration is.

  • @oerickmuller
    @oerickmuller Рік тому +32

    Harpoon is a gaming changer when you are working with many files, refactoring large chunks of code.

    • @devopstoolbox
      @devopstoolbox  Рік тому

      Exactly!

    • @lintaoamons5712
      @lintaoamons5712 Рік тому

      Missing IDEA’s bookmark feature😢

    • @jayreddy6038
      @jayreddy6038 Рік тому +2

      i've always struggled to understand how it's any different from using global marks though...
      just do mM and then `M boom you're there

    • @mtrajano973
      @mtrajano973 6 місяців тому

      @@jayreddy6038harpoon manages these lists per project / directory instead of globally. It is also very easy to manage the lists, ex. Add, remove, reorder files in the list. It is similar but definitely an improvement over the global marks

    • @mitigamespro8757
      @mitigamespro8757 6 місяців тому

      @@jayreddy6038 Definitely not the same. Harpoon makes your list of marks separate per project (which global marks don't), and also, the marks from harpoon auto update when you leave the buffer. So when I go to another buffer, when I come back I find my cursor right where I left it.
      I used global marks before that, but especially wanted to see how I could auto mark before leaving a buffer to fix this gripe, turns out that's something harpoon does already. So it's pretty different from global marks. Also, swapping between files is much faster considering it is a chord and not a sequence of keys.

  • @priyanshusharma2310
    @priyanshusharma2310 Місяць тому +2

    8 spaces tab is brutal

  • @OmerBen-Ami
    @OmerBen-Ami Рік тому +1

    Man, you put so much effort into the vids! thanks

  • @sukontoraharjo6565
    @sukontoraharjo6565 Місяць тому

    1:29 is that a plugib that overlays the file with A/B/C? what plugin is that?

  • @gokukakarot6323
    @gokukakarot6323 3 місяці тому +1

    I find it easier to have the file tree on the right side of any editor. so when I open close, the actual text doesn't jump around with the extra spacing on the left now that the file tree is closed

    • @devopstoolbox
      @devopstoolbox  3 місяці тому

      I created my own vim snippet to make sure there's some padding on the right. however the filetree IMO should be hidden, to make you jump to files using a fuzzy searcher or other methods

    • @steeltormentors
      @steeltormentors 2 місяці тому

      or use floating window if your file-tree plugin supports it. I'm using nvim-tree and i set it to float on the right side!

  • @diggerdog001
    @diggerdog001 Рік тому +1

    3:58 how configure Cmdline ui like you?

    • @devopstoolbox
      @devopstoolbox  Рік тому +1

      This one’s quite old, I’ve since moved to starship - this is the relevant video Your shell prompt, ON STEROIDS // Starship
      ua-cam.com/video/G7aWxK4395Y/v-deo.html

  • @AntonyXavier-v9j
    @AntonyXavier-v9j 10 місяців тому

    Hi, is there a way to integrate Harpoon with Tabline (lualine plugin) , i tried but I'm not able to update the Tabline when i add or remove files in Harpoon. it only loads the added files when neovim is opened within a directory

    • @devopstoolbox
      @devopstoolbox  10 місяців тому

      Not sure, Harpoon has changed and infact I left it out a while ago. I should try and restore it

  • @ElliotWilks-yi8qh
    @ElliotWilks-yi8qh 8 місяців тому

    is there a way to literally just increase the speed of the cursor or blinding line in vim. So for example if I press and hold the j key to move down it moves down much faster than it currently does.

    • @lorenzoguideri7815
      @lorenzoguideri7815 3 місяці тому

      Yes, I have it as a system preference on manjaro kde. what do you use?

  • @rafaeljacovmedel8953
    @rafaeljacovmedel8953 Рік тому +1

    what colorscheme do you use? also what is the plugin you used to display messages in another floating window?

    • @devopstoolbox
      @devopstoolbox  Рік тому

      I use github.com/folke/noice.nvim for the commands and github.com/rcarriga/nvim-notify for notifications (not sure which one you meant). As for the themes, I used to run "onedark" but since changed to Cattpuccin (Mocha flavor)

  • @iamworstgamer
    @iamworstgamer Рік тому +1

    oh man which theme you are using, its beautiful.

    • @devopstoolbox
      @devopstoolbox  Рік тому

      I used to run “onedark” but since I’ve switched to cattpuccin!

  • @devstefancho
    @devstefancho Рік тому

    3:30 ma for local and mA for global, I think this is maybe typos

  • @MoreChannelNoise
    @MoreChannelNoise Рік тому

    You have a great vim setup but havent done a video about it yet !!!!!!!

    • @devopstoolbox
      @devopstoolbox  Рік тому

      Yes you are very right. It’s in my backlog an I haven’t forgotten!
      Busy few weeks :)

  • @Axlefublr
    @Axlefublr 10 місяців тому +1

    why are you using 8 spaced tabs 😭

    • @devopstoolbox
      @devopstoolbox  10 місяців тому +1

      gofmt and its intense tabs 😂

  • @niksingh710
    @niksingh710 Рік тому

    how to get bufferline merged with lualine as you have?

    • @devopstoolbox
      @devopstoolbox  Рік тому

      Hi! I’m using lua line and my config is on GitHub , I don’t think I’ve done anything special there, what are you referring to specifically?

  • @PiyushSingh-bi9kn
    @PiyushSingh-bi9kn Рік тому

    Which font do you use?

  • @davititchanturia
    @davititchanturia Рік тому

    great thumbnail

  • @giuseppematheus
    @giuseppematheus 5 місяців тому +1

    I think this may be useful to improve the experience with jumplist.
    vim.api.nvim_create_autocmd("CursorHold", {
    callback = function(_event)
    vim.cmd("normal! m'")
    end
    })

  • @Mywifeleftme3
    @Mywifeleftme3 7 місяців тому

    My wife left me

    • @linonator
      @linonator 5 місяців тому

      😂😂

    • @tommy.3377
      @tommy.3377 3 місяці тому +1

      U use arch btw, right?!:(

    • @Mywifeleftme3
      @Mywifeleftme3 3 місяці тому

      @@tommy.3377 no. But I abuse heroin and crack on a daily basis