Follow

It's annoying that everytime I use :diffsplit in Vim, the split is opened as a horizontal split (which isn't my expected behaviour). Luckily you can change the split direction by pressing CTRL-W H to change it to a horizontal layout.

· · Web · 1 · 1 · 1

@dubst3pp4
although I rarely use this mode, I remember starting the command with ``vert''😉

:vert diffsplit

@yrabbit
`:vert` is great. I never remember the key chord combo for vertical split so use this all the time.
@dubst3pp4

@yrabbit oh, thanks for the hint! So many ways to achieve the same, but :vert is shorter, for sure!

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko