Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
This commit is contained in:
parent
5458c48cc3
commit
32a8356040
|
@ -1,26 +1,18 @@
|
||||||
local harpoon = require "harpoon"
|
require("harpoon").setup()
|
||||||
|
|
||||||
local nmap = require("opdavies.keymap").nmap
|
local nmap = require("opdavies.keymap").nmap
|
||||||
|
|
||||||
harpoon:setup()
|
nmap { "<M-h><M-l>", require("harpoon.ui").toggle_quick_menu }
|
||||||
|
nmap { "<M-h><M-m>", require("harpoon.mark").add_file }
|
||||||
|
|
||||||
nmap {
|
nmap { "<leader>hl", require("harpoon.ui").toggle_quick_menu }
|
||||||
"<leader>hl",
|
nmap { "<leader>hm", require("harpoon.mark").add_file }
|
||||||
function()
|
|
||||||
harpoon.ui:toggle_quick_menu(harpoon:list())
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
nmap {
|
|
||||||
"<leader>hm",
|
|
||||||
function()
|
|
||||||
harpoon:list():append()
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
||||||
for i = 1, 5 do
|
for i = 1, 5 do
|
||||||
nmap {
|
nmap {
|
||||||
string.format("<space>%s", i),
|
string.format("<space>%s", i),
|
||||||
function()
|
function()
|
||||||
harpoon:list():select(i)
|
require("harpoon.ui").nav_file(i)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue