joshuadanpeterson / typewriter.nvim

A Neovim plugin that emulates a typewriter, keeping the cursor centered on the screen for a focused writing experience.
MIT License
23 stars 0 forks source link

[Bug] Conflict with nvim-flash #19

Open Ajaymamtora opened 1 month ago

Ajaymamtora commented 1 month ago

Sometimes when using fFtT Ss motions -- the cursor is not placed next to the target match. Is there a way this could be fixed please? I tried configuring flash myself but there's no hooks to listen for a search being started or ending so couldn't use an autocmd

I think the autocmd in this plugin adjusts the column, the line is never wrong so it might be to do with the code that remembers a target column

https://github.com/folke/flash.nvim

joshuadanpeterson commented 1 month ago

I'll take a look at it. It'll probably take me through the end of next week to get to it because of work and then vacation this weekend.

Ajaymamtora commented 1 month ago

I'll take a look at it. It'll probably take me through the end of next week to get to it because of work and then vacation this weekend.

Thanks a lot, no worries :)