1

I often have two buffers open side by side and I'd like to be able to slide the central vertical bar to the left or to the right, in order to make either buffer wider or narrower.

Is this supported in emacs 26.3?

Here's what I get:

enter image description here

The vertical bar in the middle won't move.

I looked at this other question, but M-x xterm-mouse-mode didn't help.

2
  • You can drag the vertical split with your mouse.
    – Drew
    Commented Aug 12, 2021 at 18:08
  • It won't move. That's what I was used to on a different machine, where I perhaps ran a different version of emacs. I no longer have access to that device. Commented Aug 12, 2021 at 21:17

1 Answer 1

1

You can drag the vertical split with your mouse. And you can use C-x } and C-x { to enlarge or shrink a window horizontally. And you can use C-x ^ to enlarge a window vertically.

5
  • Thanks for the commands! As silly as it sounds, I can't drag it with my mouse. What could have gone wrong? Commented Aug 12, 2021 at 21:19
  • 3
    Maybe it is only draggable at the bottom between th blue and gray bar? Commented Aug 13, 2021 at 0:34
  • Yes, try what @JohnKitchin suggested. That's a known situation for some platforms, I believe. And try the key bindings I mentioned - they should work whether or not the divider is mouse draggable. If they too don't work then that should tell us something else.
    – Drew
    Commented Aug 13, 2021 at 4:19
  • @JohnKitchin YES, that was it! Thanks a lot! Commented Aug 13, 2021 at 15:17
  • @Drew the key bindings work too, thanks! Commented Aug 13, 2021 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.