ThePrimeagen / harpoon

MIT License
6.83k stars 366 forks source link

Using line join <S-j> causes undefined behavior in harpoon menu. #597

Closed RamziA961 closed 4 months ago

RamziA961 commented 4 months ago

WARNING If this is about Harpoon1, the issue will be closed. All support and everything of harpoon1 will be frozen on master until 4/20 or 6/9 and then harpoon2 will become master

Please use harpoon2 for branch

With the harpoon menu open, if line join is used, the two paths marked will we be joined on one line. This operation persists after saving harpoons state :w. Navigating to this path creates a new buffer out of the joined paths. Skill Issue?

Initial state:

Screenshot 2024-05-18 at 21 02 00

After a line join: <S-j>

Screenshot 2024-05-18 at 21 02 15

Saved the buffer and reopened the menu, then navigated to the path in the image above. Notice the file path in the command area.

Screenshot 2024-05-18 at 21 03 10
maxrzaw commented 4 months ago

This is the intended behavior. This way you can enter a file path and it will create a buffer for that file.

RamziA961 commented 4 months ago

Oh that makes sense. Thanks for clearing that up