.. so I can text side by side without opening many instances?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
From my personal experience I can recommend to use Kate (
sudo apt-get install kate) - it has many options in View → Split View:
Also you can try JEdit (
sudo apt-get install jedit), it allows to have splits in View → Splitting:
or Notepadqq (
sudo add-apt-repository ppa:notepadqq-team/notepadqq,
sudo apt-get update,
sudo apt-get install notepadqq), it has View → Move/Clone Current Document → Move to Other View option:
or JuffEd (
sudo apt-get install juffed-plugins), it has Move to the right panel and Move to the left panel:
Another option is Geany, available in the repositories.
Tools, click on
Plugin Manager and enable
Split Windows. The plugin for enabling split windows comes pre-installed.
You'll see the
Split Window option under
And that's it. Of course, you can choose between horizontal and vertical and drag the splitter to resize panes.
Geany, in 18.04, is a gtk3 application and in 16.04, a gtk2 application. So, if your distro is "GNOME-based", you may prefer it as it pulls in very few dependencies.
Atom is a nice text editor packed with lots of powerful features and extension support, entirely written using Node JS and web technologies.
Can be done in vim. They are called windows (
Open new file vertically with
:vs for short. Use only
:vs to open the current buffer in another window (so you can look at the same file in another place)
Open horizontally with
:sp for short. Using only
:sp will open the same file but horizontally
Ctrl-w will cycle through the open windows.
:bn will change to the next buffer in a window. (
:bp will go to the previous buffer)
To close the active window
To dig deeper
:help split, or
:help any-command will open the help file in a new window and you can read more about them (
:close will close the open window ;) )
How to close vim from the command line? (For the uninitiated.)
Note: The "Tab list" on the top is from the airline plugin with the code below added to my .vimrc
let g:airline#extensions#tabline#enabled = 1 " Enable the list of buffers