added harpoon keybinds, start fzf_harpoon, ignore some ftplugin files

This commit is contained in:
2022-12-01 03:37:23 -06:00
parent e5b73c120b
commit a2f952e7ae
3 changed files with 28 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
local M = {}
-- Grabbed from harpoon code
function M.get_marked_files()
local Marked = require("harpoon.mark")
local contents = {}
for idx = 1, Marked.get_length() do
local file = Marked.get_marked_file_name(idx)
if file == "" then
file = "(empty)"
end
contents[idx] = string.format("%s", file)
end
return contents
end
return M