harpoon icon indicating copy to clipboard operation
harpoon copied to clipboard

Truncate long path names

Open idelice opened this issue 1 year ago • 2 comments

I would love to truncate long path names as they can be very long in some cases and makes it impossible to see the actual file name that I harpoon'ed.

idelice avatar Feb 20 '24 21:02 idelice

got same problem cuz my laptops with is not big enough to fit all the path and it overflows. so fixed the problem with -- init.lua

-- ... (other configurations)

require("harpoon").setup({ menu = { width = 40, -- Adjust this value based on your preferences } })

-- ... (other configurations)

YasarKantarcilar avatar Feb 25 '24 10:02 YasarKantarcilar

https://github.com/ThePrimeagen/harpoon/issues/523#issuecomment-1984926994

Here is a way to truncate the directory path

jcdampil23 avatar Mar 08 '24 02:03 jcdampil23