I have been using TextMate 'til now, but I am missing exactly one feature: vertical split view.
I know that Coda supports it, but I am not a big fan of a huge IDE which changes my workflow too much – in other words, I hate it if one application takes over my job.
TextMate is actually all I need:
Best Text Editors for macOS. Note: In this article, we are focusing on the best text editors for coding but if you are looking for a text editor for your writing purposes, you can check out our article on the best writing apps for Mac.
- code completion
- syntax highlighting
- snippets
- filebrowser (project folder)
- accessible via the terminal
But the Vertical Split is just one feature I am really looking for. Have you an idea which editor could be the solution to my problem?
Hennesmigrated from stackoverflow.comFeb 7 '11 at 2:41
This question came from our site for professional and enthusiast programmers.
9 Answers
I will always answer Vim (or MacVim in this case): it does everything you want, some more and runs on every platform which gets the next hype!
You can split horizontally and vertically until you bleed. If you shy away from the steep learning curve of pure VIM, you can make Cream to tune Vim into an easier and 'more to the standards' version ... but of course you can still vertically split and tab yourself to death.
GaffEmacs runs on OSX and is a very popular editor for code, text and well... just about everything. It was originally very much a geek's editor, but has since become much more simple and easy to use. You might give it a shot.
Sublime Text 2 looks promising (probably until TextMate 2 comes along), though it is only in (early) alpha stage.
Here's a Screenshot of the feature you're requesting in SublimeText 2.
oKtosiTeIf you think you might consider Vim, it definitely has vertical text splitting. You can split your window into as many windows as you like - top and bottom, left and right, two on the top and one on bottom, etc. The splits can be different files or different parts of the same file.
Vim has a steep learning curve, but I'm a big fan, and after watching me use it, my boss is preparing to switch from Textmate to Vim.
If you want to consider it, I'd highly recommend the Peepcode episode on Vim to get you started.
Nathan LongNathan LongYou can also try using TextMate's bookmark feature as a substitute.
GaffTry Fraise or Smultron. (Fraise is based on and very similar to Smultron.) They both support split view and are both free or very cheap (Smultron costs $5).
Edit:
Link for Smultron changed to current version.
Have you considered Cinch?
Text Editor For Mac Free
It allows you to drag a window so that it resizes to half of the screen. You can also drag a window to resize to full screen. You can use it with Exposé to work with more than two windows.
This would enable you to continue using TextMate or any other editor of choice.
Cinch currently costs $7.
TextWrangler has a sweet split view. Still kinda two windows but check it out. command+click to highlight the two docs you want to compare, then right (control) click and choose compare. Observe the awesomeness. I posted this on MacRumors as well.
Mac Os X Text Editor For Programmers Wallpaper
That and a lot of other great tips here:
Free Text Editors For Programmers
Another free option is Jedit, available for Mac, Windows and Linux. It can split horizontally and vertically. Sublime looks better, but it's not free. Macvim is another option, but you have to get used to its different way of doing things.