Migrate from Packer to lazy.nvim

Ғылым және технология

In this video I walk through how to migrate from Packer to lazy.nvim and some tips to avoid problems that I ran into along the way.
Folke Twitter: / folke
dotfiles: github.com/exosyphon/nvim/
lazy.nvim: github.com/folke/lazy.nvim
lazy.nvim migration: github.com/folke/lazy.nvim#-m...
LazyNvim: www.lazyvim.org/plugins
Join this channel to get access to perks:
www.youtube.com/@ascourter/join
Twitter: / exosyphon
Website: andrewcourter.com
Twitch: / exosyphon
Gear:
Mic: amzn.to/40GUGFg
Mic Interface: amzn.to/3YGxaGE
Mic preamp: amzn.to/3XtBXtY
Webcam: amzn.to/3OEOZRU
Boom Arm: amzn.to/3qLr0GE
Vissles (VS II switches): vissles.com/?ref=69zn8aei20 - Coupon Code for $5 off: ANDREWCOURTER
IQUNIX F97 (TTC ACE switches): iqunix.store/collections/f97-...
0:00 Intro
0:26 Have a Backup Editor
0:54 The Migration
10:21 Outro
#neovim #coding #programming

Пікірлер: 24

  • @ascourter
    @ascourter2 ай бұрын

    I have an additional video cleaning up the after/ directory. Check it out! kzread.info/dash/bejne/m5h9uLh6prC5krA.html

  • @AndrewErwin73
    @AndrewErwin7311 ай бұрын

    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
    @charname207710 ай бұрын

    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.

  • @rocstar3000
    @rocstar30008 ай бұрын

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

  • @calloq1035
    @calloq103511 ай бұрын

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

  • @ascourter

    @ascourter

    11 ай бұрын

    Awesome! Good luck and hopefully it goes very smoothly.

  • @ascourter
    @ascourter11 ай бұрын

    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!

  • @oglothenerd
    @oglothenerdАй бұрын

    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

    25 күн бұрын

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

  • @oglothenerd

    @oglothenerd

    25 күн бұрын

    @@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

    25 күн бұрын

    @@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

    25 күн бұрын

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

  • @oglothenerd

    @oglothenerd

    25 күн бұрын

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

  • @BrazenNL
    @BrazenNL11 ай бұрын

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

  • @ascourter

    @ascourter

    11 ай бұрын

    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

    11 ай бұрын

    @@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

    11 ай бұрын

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

  • @dementekill
    @dementekill11 ай бұрын

    i needed this video some days ago, i just quit rage and delete everything 😂😂😂😂. guess i will start over again

  • @ascourter

    @ascourter

    11 ай бұрын

    Give it another go. Share in here if you run into issues and I can hopefully help ya out.

  • @styledcapo
    @styledcapo7 ай бұрын

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

  • @ascourter

    @ascourter

    7 ай бұрын

    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.

  • @styledcapo

    @styledcapo

    7 ай бұрын

    @@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

Келесі