added harpoon keybinds, start fzf_harpoon, ignore some ftplugin files
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user