Need a repeat function key like F4 in windows

,

How do you repeat a function like adding rows, or setting the format of a cell. The F4 function key in Windows is usually used for this need, but it does not operate that way with LibraOffice. Is there another keyboard shortcut that will do this?

Do you know about >Edit>Repeat (Ctrl+Shift+Y)?

Thanks, that is what I was looking for.

This Q&A site expects questioners being satisfied with an answer, to accept it by clicking the “checkmark” below the left end of its title bar.
The then green checkmark will also be shown in the general overview of questions (probably filtered), and thus tell users searching for a sultion where they might find one.