triptych.nvim icon indicating copy to clipboard operation
triptych.nvim copied to clipboard

Put cursor on line with current file opened in buffer

Open tex opened this issue 1 year ago • 4 comments

Hello,

very nice plugin! Really COOL!

When I open Triptych from a buffer that has some existing file opened, I would like cursor in Triptych to be placed on the file in the list of files.

tex avatar Apr 24 '24 14:04 tex

Hi @tex This should actually be the existing functionality. Can you confirm that you're on the latest version, up to date with main, and then provide me your Triptych config, and either steps to reproduce or a repo where the problem is occurring?

simonmclean avatar Apr 27 '24 14:04 simonmclean

Hi @simonmclean. I am a litle bit embarrased. I tried it again today and it indeed works as expected. I really do not know what I did differently.

tex avatar Apr 27 '24 18:04 tex

Oh, I found where it doesn't work. I have 2 setups using same neovim config, on Linux and on Windows/WSL2. It does not work on Windows/WSL2.

tex avatar Apr 29 '24 06:04 tex

It gets path correctly, but it doesn't place cursor on correct file. Always on first one.

tex avatar Apr 29 '24 14:04 tex

@tex Mind updating and trying now?

simonmclean avatar Jun 02 '24 16:06 simonmclean

@simonmclean Thank you! This fixed the issue.

tex avatar Jun 03 '24 05:06 tex