sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

disable middle mouse serach

Open ShadowMarter opened this issue 8 months ago • 4 comments

While scrolling, middle mouse search automatically opens new tabs for me. The option to disable external search using middle mouse would be nice.

ShadowMarter avatar Mar 30 '25 17:03 ShadowMarter

We had a middle_click_command config which should have allowed this by setting something like this:

middle_click_command noop

but there was a bug that executed the default behavior anyway which should be fixed in https://github.com/ahrm/sioyek/commit/3172c42a565381b72fffb390e444f65ff988aa61 now.

ahrm avatar Apr 03 '25 17:04 ahrm

Thanks! I'd like to ask two more questions: First, is there any way to disable the auto-completion of highlights? When highlighting, the whole word is automatically highlighted. Additionally, is there any way to execute a command on the program's exit? I want Sioyek to embed the annotations in the file when I close it (and overwrite the previous file).

ShadowMarter avatar May 03 '25 12:05 ShadowMarter

We have an exact_highlight_select config which can disable word-level highlighting. There is no way to execute a command on program's exit (and it is not possible to overwrite the file even if we could run commands on exit).

ahrm avatar May 17 '25 19:05 ahrm

I see. So is there any way to auto-embed highlights? I use cloud sync between computers, and the lack of this feature is a disadvantage compared to other PDF readers.

ShadowMarter avatar May 25 '25 16:05 ShadowMarter