emacs switch horizontal vertical

To switch between horizontal and vertical splitting of windows in Emacs, you can use the following keybindings:

  • To switch from horizontal to vertical splitting: C-x 5 M
  • To switch from vertical to horizontal splitting: C-x 5 B

These keybindings allow you to adjust the layout of windows in Emacs based on your preference.