When comparing Notepad++ vs Yi, the Slant community recommends Notepad++ for most people. In the question“What are the best programming text editors?” Notepad++ is ranked 15th while Yi is ranked 46th. The most important reason people chose Notepad++ is:
Notepad++ has built-in support for syntax highlighting for a wide selection of programming languages.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Syntax highlighting for a wide variety of languages
Notepad++ has built-in support for syntax highlighting for a wide selection of programming languages.
Pro Light and fast
Notepad++ is a very light program that starts almost instantly. This makes it a great text editor for users that want something that will start the second they open it.
Pro Extendable via plugins
A list of hundreds of plugins is maintained.
Pro Portable
You can get a portable version of N++ and put it on a flash drive or your dropbox account and have your editor, configured the way you like, at any computer that you are on.
Pro Free under GPL
Notepad++ is licensed under GPL, which means it is free/open source software that you can use freely.
Pro Regex replace in selection, active tab, or all tabs
In Notepad++, the user can utilise regular expressions to quickly modify text across multiple files.
Pro Persistent documents, even after exiting the application
If you close Notepad++ (npp), your documents remain even if you haven't saved.
Pro User defined language syntax support
You can define your own custom syntax highlighting rules (or add support for others) .
Pro Easy to use and admin
Very easy to use and personalize.
Pro Multi-line editing
While it is disabled by default, when enabled, it is possible to edit more than one line at a time. This is helpful in many situations.
Pro Split screen
The user can open and edit files in multiple screens within the editor window.
Pro Supports Markdown
If you have the Plugin Manager installed you can search for MarkdownViewer++ and install it via that plugin.
Pro Combines and improves upon the best text-editing features from your favorite editors
Yi has default configurations for Vim, Emacs, as well as CUA. It also makes several improvements that includes Sublime-like (multiple) cursors.
Pro More performant than Vim
Vim can be rather slow due the age of its code base. In particular, running large macros in Vim can be rather painful. Since Yi is being built from scratch it has been engineered for performance and with the benefit of hindsight.
Pro Extensible and modular editing features
As far as extensibility goes, Yi easily outstrips any other open-source text editor. Motions can be built from parser combinators, making them simultaneously flexible and modular - an open source hacker's dream.
Pro Plugins work together
Packages work together because they compile together.
Cons
Con Windows-only
While it can run in Wine, it is native only to Windows. Linux users will have to use Notepadqq instead.
Con Settings confusingly scattered
Examples: try to change the tab size or used font.
Con Annoying update notifications upon start-up
Annoying update notifications tend to pop up upon start-up after not having used the app or machine for a few days. At the same time, they can be easily turned off.
Con Outdated UI
Only the text area can be themed, and it doesn't have as many features as browser-based text areas.
Con Limited new syntax support for new languages
It may be hard to find good plugins for relatively new languages.
Con Session backups not enabled by default
Unsaved tabs will be lost when Npp crashes, unless you first enable the session backup option.
Con User defined language doesn't support triple quote strings
It also doesn't support triple hashed comments. Both styles are overridden by their single character single line version.
Con Very few plugins available
Even though Yi is a general purpose text editor similar to Vim and Emacs, almost all of the plugins that have been written for Yi so far focus on supporting Haskell as a programming environment.
Con No way to reuse your existing customizations and keybindings
If you have spent years crafting your .vimrc
or .emacs
, there's no way to reuse it in Yi. You have to start from scratch.
Con Requires Haskell to compile and configure
GHC + Haskell packages makes for a rather large installation, which is a big ask for a relatively obscure terminal editor.