When comparing Brackets vs MacVim, the Slant community recommends MacVim for most people. In the question“What are the best programming text editors?” MacVim is ranked 13th while Brackets is ranked 17th. The most important reason people chose MacVim is:
Every plugin available for Vim is available for MacVim too.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Built-in browser live-updating
Brackets will automatically refresh the browser and load the latest saved version of a file open in the browser. This works with php as well. Editing a css will even highlight the tag that's currently being worked on. However, it only works with Chrome.
Pro Lightweight
Brackets is easy on memory usage and it starts up quickly.
Pro Free, open source and cross-platform
Brackets is entirely free and open source.
Pro Built-in extension manager
The functionality of Brackets can be extended via a simple-to-use extension manager. The extension manager also has a considerable number of extensions and themes.
Pro Can style a tag without switching over to the stylesheet
A feature called "Quick Edit" allows the user to select a tag in (a html file, for example) and edit the associated style without switching over to the css document. It also supports SASS and LESS pre-processors.
Pro Actively developed
Brackets is being actively maintained and developed.
Pro Popup previews
Hovering over colors hex codes or image paths will pop up previews of corresponding colors and images.
Pro Drag and drop support
Brackets supports drag and drop of text, as well as multi / rectangular selection.
Pro Can be hacked by any front-end developer
The editor is built using html, css, and javascript, making it extendable by any front-end developer.
Pro Multi-line (multi-query) editing
You can have your cursor independently on multiple lines and so creating templates and/or editing multiple things at once is really fast and easy.
Pro Vim mode
Vim-style editing is already built in the text editor.
Pro Support for Adobe PSD content
A default extension allows for the extraction of PSD resources, such as images and styles. There's good integration for placing extracted resources into source.
Pro Lots of plugins
Every plugin available for Vim is available for MacVim too.
Pro Extremely customizable
MacVim is Vim, meaning it has all of Vim's customizability and power.
Pro OS X input methods
MacVim supports OSX's native shortcuts making the adoption of Vim easier.
Pro Extensive community support
MacVim, like Vim itself has a large community backing it.
Pro Automatic font substitution
In cases of a selected font missing certain characters, MacVim will find a font that has that character.
Pro Vimtutor teaches the basics of Vim in 30 minutes
Vimtutor is an excellent interactive tutorial for people with no prior experience of Vim. It's bundled with Vim and takes about 30 minutes to complete.
Pro Everything is a mnemonic
Vim associates keys with words. For example, d
is for "delete" and w
is for "word". To perform an action you string together letters. Thus, to delete a word, press dw.
This way it's possible to abstract a large amount of functionality that Vim provides in an intuitive way.
Pro Enables effective keyboard-driven editing due to its modal nature
Interaction with Vim is centered around several modes. Each mode has a different purpose and switching between them changes behaviour and keybindings. There are 12 modes in total (six basic modes and six variations on basic modes) and four of them are used commonly.
Insert mode is for entering text. This mode most resembles traditional text entry in most editors.
Normal mode (the default) is entered by hitting ESC and converts all keybindings to center around movement within the file, search, pane selection, etc.
Command mode is entered by hitting ":" in Normal mode and allows you to execute Vim commands and scripts similar in fashion to a shell.
Visual mode is for selecting lines, blocks, and characters of code.
Modes allow separating concerns between various tasks and reusing keys for different kinds of functionality. As a result, the workflow becomes more efficient.
Pro Multi-byte support
Permits writing characters that don't fit in one byte, most notably logograms (for writing in languages such as Japanese, Chinese, and Korean) and Unicode characters.
Cons
Con Still missing some elementary text editor commands
Some gaps have to be filled by plugins, while these features should be built in.
For example:
- Jump to matching brace (bracket / parenthesis);
- Gutter selection of lines;
- Recall previous searches / replacements;
- Autofill of search field with text under caret (text has to be selected);
- Show whitespace / end of lines / indentation guides / right margin;
- Selection to upper / lower case;
and some more.
Con Problematic updater
Though the website says there is an update available, the updater in Brackets may give you an error, resulting in you having to download updates manually.
Con Slow
Con Supports only web languages by default <but>
Brackets is built for web development and that's where it excels at out of the box. Other languages that have a CodeMirror mode can be added as well.
<and language support plugins can be added>
Con Slow when opening files with very long lines
A lot of very long lines can make MacVim take up to a minute to open, where a few other editors take only a few seconds to load the same file.
Con Only available on macOS
A decent text editor is available on all major platforms (macOS, Linux, Windows).
Con Difficult learning curve
MacVim after all is still Vim, and with that comes the complexity that Vim brings and the difficult learning curve that needs to be overcome.