Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
- if not vim.loop.fs_stat(lazypath) then
- vim.fn.system({
- "git",
- "clone",
- "--filter=blob:none",
- "https://github.com/folke/lazy.nvim.git",
- "--branch=stable", -- latest stable release
- lazypath,
- })
- end
- vim.opt.rtp:prepend(lazypath)
- vim.g.mapleader = " "
- require("lazy").setup({
- {
- "ThePrimeagen/harpoon",
- dependencies = {
- "nvim-lua/plenary.nvim"
- },
- branch = "harpoon2",
- commit = "9031087ff1b18d0a34bd664719ec66cc8be1efd8",
- config = function ()
- local harpoon = require("harpoon")
- harpoon:setup()
- vim.api.nvim_set_keymap("n", "<leader>mm", "", { silent = true, noremap = true, callback = function ()
- harpoon.ui:toggle_quick_menu(harpoon:list())
- end})
- end
- },
- {
- "yamatsum/nvim-cursorline",
- commit = "804f0023692653b2b2368462d67d2a87056947f9",
- config = function()
- require('nvim-cursorline').setup()
- end
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment