Guest User

Untitled

a guest
Dec 21st, 2023
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
  2. if not vim.loop.fs_stat(lazypath) then
  3. vim.fn.system({
  4. "git",
  5. "clone",
  6. "--filter=blob:none",
  7. "https://github.com/folke/lazy.nvim.git",
  8. "--branch=stable", -- latest stable release
  9. lazypath,
  10. })
  11. end
  12. vim.opt.rtp:prepend(lazypath)
  13. vim.g.mapleader = " "
  14. require("lazy").setup({
  15. {
  16. "ThePrimeagen/harpoon",
  17. dependencies = {
  18. "nvim-lua/plenary.nvim"
  19. },
  20. branch = "harpoon2",
  21. commit = "9031087ff1b18d0a34bd664719ec66cc8be1efd8",
  22. config = function ()
  23. local harpoon = require("harpoon")
  24. harpoon:setup()
  25. vim.api.nvim_set_keymap("n", "<leader>mm", "", { silent = true, noremap = true, callback = function ()
  26. harpoon.ui:toggle_quick_menu(harpoon:list())
  27. end})
  28. end
  29. },
  30. {
  31. "yamatsum/nvim-cursorline",
  32. commit = "804f0023692653b2b2368462d67d2a87056947f9",
  33. config = function()
  34. require('nvim-cursorline').setup()
  35. end
  36. }
  37. })
  38.  
Advertisement
Add Comment
Please, Sign In to add comment