adding harpoon back again

This commit is contained in:
talksik
2023-06-08 15:48:06 -07:00
parent 67f1d1b6a7
commit cc1cc73f0b
3 changed files with 51 additions and 31 deletions
+14
View File
@@ -0,0 +1,14 @@
local harpoon = require("harpoon")
local mark = require("harpoon.mark")
local ui = require("harpoon.ui")
harpoon.setup({
mark_branch = true,
})
vim.keymap.set("n", "<C-a>", mark.add_file)
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
vim.keymap.set("n", "<C-r>", function() ui.nav_file(1) end)
vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-g>", function() ui.nav_file(3) end)
+1
View File
@@ -75,4 +75,5 @@ return require('packer').startup(function(use)
-- Adds extra functionality over rust analyzer -- Adds extra functionality over rust analyzer
use("simrat39/rust-tools.nvim") use("simrat39/rust-tools.nvim")
use("theprimegean/harpoon")
end) end)
+36 -31
View File
@@ -49,8 +49,8 @@ local function save_profiles(threshold)
end end
time([[Luarocks path setup]], true) time([[Luarocks path setup]], true)
local package_path_str = "/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" local package_path_str = "/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/Users/talksik/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" local install_cpath_pattern = "/home/talksik-fedora/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str package.path = package.path .. ';' .. package_path_str
end end
@@ -77,148 +77,153 @@ _G.packer_plugins = {
["Comment.nvim"] = { ["Comment.nvim"] = {
config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" }, config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" },
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/Comment.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/Comment.nvim",
url = "https://github.com/numToStr/Comment.nvim" url = "https://github.com/numToStr/Comment.nvim"
}, },
LuaSnip = { LuaSnip = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/LuaSnip", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip" url = "https://github.com/L3MON4D3/LuaSnip"
}, },
["cellular-automaton.nvim"] = { ["cellular-automaton.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim",
url = "https://github.com/eandrju/cellular-automaton.nvim" url = "https://github.com/eandrju/cellular-automaton.nvim"
}, },
["cmp-buffer"] = { ["cmp-buffer"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-buffer", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer" url = "https://github.com/hrsh7th/cmp-buffer"
}, },
["cmp-nvim-lsp"] = { ["cmp-nvim-lsp"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp" url = "https://github.com/hrsh7th/cmp-nvim-lsp"
}, },
["cmp-nvim-lua"] = { ["cmp-nvim-lua"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
url = "https://github.com/hrsh7th/cmp-nvim-lua" url = "https://github.com/hrsh7th/cmp-nvim-lua"
}, },
["cmp-path"] = { ["cmp-path"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp-path", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp-path",
url = "https://github.com/hrsh7th/cmp-path" url = "https://github.com/hrsh7th/cmp-path"
}, },
cmp_luasnip = { cmp_luasnip = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/cmp_luasnip", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip" url = "https://github.com/saadparwaiz1/cmp_luasnip"
}, },
["context.vim"] = { ["context.vim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/context.vim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/context.vim",
url = "https://github.com/wellle/context.vim" url = "https://github.com/wellle/context.vim"
}, },
["copilot.vim"] = { ["copilot.vim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/copilot.vim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/copilot.vim",
url = "https://github.com/github/copilot.vim" url = "https://github.com/github/copilot.vim"
}, },
["friendly-snippets"] = { ["friendly-snippets"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/friendly-snippets", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/friendly-snippets",
url = "https://github.com/rafamadriz/friendly-snippets" url = "https://github.com/rafamadriz/friendly-snippets"
}, },
["git-blame.nvim"] = { ["git-blame.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/git-blame.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/git-blame.nvim",
url = "https://github.com/f-person/git-blame.nvim" url = "https://github.com/f-person/git-blame.nvim"
}, },
harpoon = {
loaded = true,
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/harpoon",
url = "https://github.com/theprimeagen/harpoon"
},
["lsp-zero.nvim"] = { ["lsp-zero.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim",
url = "https://github.com/VonHeikemen/lsp-zero.nvim" url = "https://github.com/VonHeikemen/lsp-zero.nvim"
}, },
["lualine.nvim"] = { ["lualine.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/lualine.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/lualine.nvim",
url = "https://github.com/nvim-lualine/lualine.nvim" url = "https://github.com/nvim-lualine/lualine.nvim"
}, },
["mason-lspconfig.nvim"] = { ["mason-lspconfig.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim",
url = "https://github.com/williamboman/mason-lspconfig.nvim" url = "https://github.com/williamboman/mason-lspconfig.nvim"
}, },
["mason.nvim"] = { ["mason.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/mason.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/mason.nvim",
url = "https://github.com/williamboman/mason.nvim" url = "https://github.com/williamboman/mason.nvim"
}, },
["null-ls.nvim"] = { ["null-ls.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/null-ls.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
url = "https://github.com/jose-elias-alvarez/null-ls.nvim" url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
}, },
["nvim-cmp"] = { ["nvim-cmp"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-cmp", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp" url = "https://github.com/hrsh7th/nvim-cmp"
}, },
["nvim-lspconfig"] = { ["nvim-lspconfig"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig" url = "https://github.com/neovim/nvim-lspconfig"
}, },
["nvim-treesitter"] = { ["nvim-treesitter"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-treesitter", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter" url = "https://github.com/nvim-treesitter/nvim-treesitter"
}, },
["nvim-web-devicons"] = { ["nvim-web-devicons"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
url = "https://github.com/nvim-tree/nvim-web-devicons" url = "https://github.com/nvim-tree/nvim-web-devicons"
}, },
["packer.nvim"] = { ["packer.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/packer.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim" url = "https://github.com/wbthomason/packer.nvim"
}, },
playground = { playground = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/playground", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/playground",
url = "https://github.com/nvim-treesitter/playground" url = "https://github.com/nvim-treesitter/playground"
}, },
["plenary.nvim"] = { ["plenary.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/plenary.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim" url = "https://github.com/nvim-lua/plenary.nvim"
}, },
["rose-pine"] = { ["rose-pine"] = {
config = { "\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0" }, config = { "\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0" },
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/rose-pine", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/rose-pine",
url = "https://github.com/rose-pine/neovim" url = "https://github.com/rose-pine/neovim"
}, },
["rust-tools.nvim"] = { ["rust-tools.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/rust-tools.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/rust-tools.nvim",
url = "https://github.com/simrat39/rust-tools.nvim" url = "https://github.com/simrat39/rust-tools.nvim"
}, },
["telescope.nvim"] = { ["telescope.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/telescope.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim" url = "https://github.com/nvim-telescope/telescope.nvim"
}, },
undotree = { undotree = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/undotree", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/undotree",
url = "https://github.com/mbbill/undotree" url = "https://github.com/mbbill/undotree"
}, },
["zen-mode.nvim"] = { ["zen-mode.nvim"] = {
loaded = true, loaded = true,
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/zen-mode.nvim", path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/zen-mode.nvim",
url = "https://github.com/folke/zen-mode.nvim" url = "https://github.com/folke/zen-mode.nvim"
} }
} }