Migrating from Packer.nvim to Lazy.nvim

Pubblicato il: 09 gennaio 2023
sul canale di: Elijah Manor
58,777
1.5k

In this video, I show how to migrate from using packer.nvim to using lazy.nvim (a new package manager for neovim)

https://github.com/folke/lazy.nvim

My starting point in the init.lua file from the kickstart.nvim repo https://github.com/nvim-lua/kickstart... #neovim #vim #terminal

Feel free to join as a member of this channel for special perks https://youtube.com/@elijahmanor/join

0:00 Introduce the topic of the video
0:14 Show our kickstart.nvim starting point
0:37 Capture startup time of kickstart.nvim
0:57 Use hyperfine to get a better startup time
1:25 Replace packer.nvim references with lazy.nvim
4:13 Use :checkhealth lazy to find helpful info to fix
4:46 Use the :Lazy command and show the UI features
5:31 Rerun hyperfine tool to compare startup time
6:02 Pull out all plugins into lua/plugins/init.lua
6:55 Add a new alpha.lua plugin to the plugins folder
7:45 Add a neo-tree.lua plugin that'll lazy load on a command or key
8:59 Extra parts of init.lua files into their own lualine.lua file
10:09 Check out the docs for more info


In questa pagina del sito puoi guardare il video online Migrating from Packer.nvim to Lazy.nvim della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Elijah Manor 09 gennaio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 58,777 volte e gli è piaciuto 1.5 mille spettatori. Buona visione!