how to split windows vertically and horizontally in emacs

One of the most useful features of modern text editors and IDEs is the ability to split the screen into multiple windows and edit/view different files in them. Emacs is no exception and makes it easy to do so. split window horizontally In order to split the window horizontally, use the command split-window-horizontally. This will split the currently active buffer…