Focus on tab group action should mantain current edit/view mode

Use case or problem

After using “Focus on tab group to the left/right”, edit mode becomes disabled. When working on two files side by side, additional “Focus on last note” action/hotkey is required to get back to edit mode. When jumping a lot between two files, it becomes cumbersome.

Proposed solution

Using “Focus on tab group to the left/right” should mantain current edit/view mode. That is, when I use this action, I should be able to quickly jump into editing, if I was editing a file before.

Current workaround (optional)

I created a macro in Commander plugin to join “Focus on tab group to the left/right” and “Focus on last note”