You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use . to repeat a deletion using a vim-sneak motion, it clobbers the most-recently used register, even when that register was not used for the action being repeated. Here's a short, crisp test: open a file and insert the text
good_bad_
and position your cursor at the start of the line. Then press the following keys (or your setup's equivalents, I guess):
"ayf_df_."ap
In other words: yank good_ into register a, delete to the first _ (without writing to any register), repeat, then dump the current contents of a. I expect a to still have the content it had from the very first yank, namely, good_; but instead I observe that it contains bad_.
The text was updated successfully, but these errors were encountered:
When I use
.
to repeat a deletion using a vim-sneak motion, it clobbers the most-recently used register, even when that register was not used for the action being repeated. Here's a short, crisp test: open a file and insert the textand position your cursor at the start of the line. Then press the following keys (or your setup's equivalents, I guess):
In other words: yank
good_
into registera
, delete to the first_
(without writing to any register), repeat, then dump the current contents ofa
. I expecta
to still have the content it had from the very first yank, namely,good_
; but instead I observe that it containsbad_
.The text was updated successfully, but these errors were encountered: