stay-in-place.nvim icon indicating copy to clipboard operation
stay-in-place.nvim copied to clipboard

Doesn't work with repeat (.) action

Open korniychuk opened this issue 2 years ago • 3 comments

How to reproduce:

  1. Place the cursor in the middle of a line
  2. Press ">>" (shift without visual selection)
  3. Press "."

Actual behavior: Cursor is not preserved after pressing "."

Expected behavior: Cursor should be preserved after pressing "."

korniychuk avatar Sep 16 '22 13:09 korniychuk

Thanks for your feedback! Yep, that's a bug, for the moment I didn't find a way to do this without using plugins like tpope/repeat... I'll work on it next week.

gbprod avatar Sep 16 '22 15:09 gbprod

For the moment I don't find a way to make it work properly. I'll try later and maybe I should wait for https://github.com/neovim/neovim/issues/19426 to be implemented...

gbprod avatar Jan 06 '23 10:01 gbprod

Thanks for your feedback! Yep, that's a bug, for the moment I didn't find a way to do this without using plugins like tpope/repeat... I'll work on it next week.

Hello there! Could you please tell me how you achieved dot-repeating with the tpope/vim-repeat plugin?

rasulomaroff avatar Jun 30 '23 16:06 rasulomaroff