Migrate from Packer to lazy.nvim

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

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

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

    I have an additional video cleaning up the after/ directory. Check it out! th-cam.com/video/idIVVAvMSbM/w-d-xo.html

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

    I love lazy.nvim! I didn't have to migrate as it was installed with Astronvim (a distribution I recently found) - but I appreciate the content here, gives me a little more understanding of the system.

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

    Man, liked and subbed. I was wanting to port my configs to lazy for a very long time never thought it was this easy. Thanks a ton.

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

    The timing is incredible! I just started the switch this morning and then saw this video came out!

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

      Awesome! Good luck and hopefully it goes very smoothly.

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

    Ty, that helped a lot on my own migration as a newbie nvim user.

  • @thr0ne1997
    @thr0ne1997 4 หลายเดือนก่อน

    thanks man!

  • @oglothenerd
    @oglothenerd 7 หลายเดือนก่อน +1

    Switched to Neovim from Helix, the only thing I miss is warnings in the Rust LSP as well as errors, and the fact that Helix has amazing keybinding defaults.

    • @ascourter
      @ascourter  6 หลายเดือนก่อน +1

      I haven't tried Helix, what were some of the keybinds that you liked?

    • @oglothenerd
      @oglothenerd 6 หลายเดือนก่อน +1

      @@ascourter All of them. 'd' deletes the selection, and by default the selection is just the character under the cursor. 'x' selects the entire current line. So... to delete a line, you do 'xd'. To go to the start or end of the line, you do either 'gh' or 'gl'. 'y' also works the same way as 'd', just yanking, so grabbing an entire line is 'xy'. Those are just a fraction of the keybindings I like from Helix.
      After Notes:
      If you keep pressing 'x', it keeps selecting the next lines.

    • @oglothenerd
      @oglothenerd 6 หลายเดือนก่อน +1

      @@ascourter Also, multi cursor mode in Vim/Neovim is non-existent. There is CTRL+V, but that is janky and doesn't work with deleting characters. Helix allows you to create many cursors and see them edit text in real time.

    • @ascourter
      @ascourter  6 หลายเดือนก่อน +1

      @@oglothenerd Yeah I use vim-visual-multi to do multi cursors but it can be a bit finicky.

    • @oglothenerd
      @oglothenerd 6 หลายเดือนก่อน +1

      @@ascourter Doesn't that plugin completely disregard theming?

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

    Check out the description with all the links and also checkout the LazyNvim docs. They were very helpful with migrating certain plugins to lazy.nvim for me. Also,, don't forget to shout-out Folke!

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

    8:32 How did you get this fzf window where you can enter the command to run against the selected item?

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

      That is from installing fzf at the system level. github.com/junegunn/fzf I installed using homebrew and then I triggered that window using Ctrl + r. Thanks for the question!

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

      @@ascourter Oh, nvm, I thought you entered a command _in_ the fzf window, and then selected something to use that command on. Since you're pressing C-r, it's just the history view. Yeah, I've been using fzf in the terminal for ages, but thought I was seeing something else. :)

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

      @@BrazenNL Ah I gotcha. Yeah, just the good ole history window there.

  • @gabriel-cor
    @gabriel-cor ปีที่แล้ว

    it is weird, it works but I cannot use the :Lazy command.

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

      Oh that's no good. If you run :checkhealth do you see any errors? Make sure you clear out any of your previous package manager artifacts.

    • @gabriel-cor
      @gabriel-cor ปีที่แล้ว

      @@ascourter that returns:
      lazy: require("lazy.health").check()
      lazy.nvim ~
      - OK Git installed
      - OK no existing packages found by other package managers
      - OK packer_compiled.lua not found
      - WARNING {LuaSnip}: unknown key
      and that is all