Keep cursor position after hsplit/vsplit #6175
-
|
When I run |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Mar 3, 2023
Replies: 1 comment 2 replies
-
|
You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rcorre
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
<C-w>v(vsplitcommand) for vertical splits and<C-w>s(hsplitcommand) for regular splits and they will copy the cursor location to the newly split buffer