Need advice about which tool to choose?Ask the StackShare community!
Notepad++ vs Sublime Text vs Vim: What are the differences?
Notepad++ vs Sublime Text vs Vim
Notepad++, Sublime Text, and Vim are all popular text editors used for coding and programming. While they share some similarities, they also have key differences that set them apart.
Usability and Interface: Notepad++ offers a user-friendly interface with a simple layout, making it easy to navigate and use. Sublime Text has a more modern and visually appealing interface, with features like split editing and a command palette for quick access to functions. Vim, on the other hand, has a steep learning curve and a minimalist interface, relying heavily on keyboard shortcuts.
Customization and Extensions: Sublime Text is known for its extensive customization options, allowing users to personalize their coding environment with themes, plugins, and settings. Notepad++ also provides customization options, but they are more limited compared to Sublime Text. Vim, however, stands out in this area as it offers a vast array of plugins and configuration options, allowing users to tailor the editor to their specific needs.
Performance and Speed: Sublime Text is highly praised for its speed and responsiveness, providing a smooth experience even with large files or complex projects. Notepad++ also performs well, but it can struggle with very large files. Vim, known for its efficiency, is exceptionally fast, making it a popular choice for users who prioritize speed.
Availability and Platform Support: Notepad++ is a Windows-only text editor, limiting its use for users on other operating systems. Sublime Text, on the other hand, is available for Windows, macOS, and Linux, making it more versatile. Vim, being a command-line text editor, can be used on virtually any platform, including Unix-based systems like Linux and macOS.
Advanced Features: While all three editors offer features like syntax highlighting, code folding, and search/replace functionalities, Sublime Text is particularly known for its powerful built-in tools, such as Goto Anything (for quick navigation) and Multiple Selections (to edit multiple lines simultaneously). Vim, famous for its modal editing, offers advanced capabilities like macros, split windows, and even integrating with external programs.
Community and Support: Sublime Text has a large and active community that provides support, tutorials, and a wide range of third-party plugins and packages. Notepad++ also has a supportive community, but it is not as extensive as Sublime Text's. Vim, being one of the oldest text editors, is backed by a dedicated and passionate community that actively contributes to its development, documentation, and plugin ecosystem.
In summary, Notepad++, Sublime Text, and Vim have their unique strengths and characteristics that cater to different users' preferences and needs in terms of usability, customization, performance, platform support, advanced features, and community support.
For a Visual Studio Code/Atom developer that works mostly with Node.js/TypeScript/Ruby/Go and wants to get rid of graphic-text-editors-IDE-like at once, which one is worthy of investing time to pick up?
I'm a total n00b on the subject, but I've read good things about Neovim's Lua support, and I wonder what would be the VIM response/approach for it?
Neovim can basically do everything Vim can with one major advantage - the number of contributors to the code base is just so much wider (Vim is ~100% maintained only by B. Mooleanaar). Whatever you learn for Neovim you can also apply to Vim and vice versa. And of course there is the never ending Vim vs Emacs controversy - but better not get into that war.
Actually, the biggest advantage with Neovim (as a VS user) is that you can embed REAL Neovim as the editor UI, rather than using a "Vim emulation", you're using actual NVIM, embedded in VS!
"asvetliakov.vscode-neovim" is the extension you are looking for:
- Install the 'vscode-neovim; extension (https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim)
- Install Neovim version 0.5+ nightly
- Start winning.
(You can install neovim-nightly separately for just vscode, I usually build and install it to /opt/nvim - it's enough enough to do - let me know if you need help).
Works wonderfully. It might not work out of the box if you have some 100K epic nvim initialization file, but the plugin documents a workaround for having an embedding/VS specific configuration.
I don't actually notice much of a difference between the two, as the end result looks identical. If you use Vim and are switch to Neovim it's an extremely easy 1-minute process. I switched from Vim to Neovim. I can't say I found much of a difference, but the key points where Neovim could be better than just vim is that first, there are much more people maintaining Neovim compared to vim, which means fewer bugs and a modern code base. It also has a smaller code base which might result in a small speed improvement. Another thing is that it's basically just a fork of vim, so what harm can it do? ;)
I recommend using vim 8+
it has native plugin support
if you need language supports you can install the package vim-nox
which will come with support for python, lua, ruby, etc
It truly depends on whether you want to completely avoid GUI and stick to TUI and command lines. If you want to edit all of your codes within a terminal, then Vim or neovim would be the choice. Emacs can be run in a terminal, but the functionality is limited. Most people use Emacs using GUI and emacs-client not to use too much memory.
My general preference is to use an independent text editor, which is better if it is highly customizable and programmable. So, I have used Emacs for several years. For beginners, I guess Emacs requires significant time to learn to fully enjoy its wonderful functionalities. In that sense, using atom would be a recommendable option.
Regardless of all the situations, learning basic vim in the terminal will help you in any case. In summary, I recommend 1. vim as a default editor in the terminal 2. atom if you are a beginner, or 3. Emacs if you have a long-term plan to master a programmable editor
Other editors like sublime text, VS code, and so forth are also worth learning and using. But, no matter which editor you choose, stick to one or two until you become an advanced user. Being able to use most text editors at an intermediate level is waste of time.
I hope it helps.
The hints on the codebase's contributors and the VSCode integration helped me make up my mind.
I really appreciate all comments, though.
Thanks a bunch!
Visual Studio Code became famous over the past 3+ years I believe. The clean UI, easy to use UX and the plethora of integrations made it a very easy decision for us. Our gripe with Sublime was probably only the UX side. VSCode has not failed us till now, and still is able to support our development env without any significant effort.
Goland being paid, as well as built only for Go seemed like a significant limitation to not consider it.
Since communication with Github is not necessary, the Atom is less convenient in working with text and code. Sublim's support and understanding of projects is best for us. Notepad for us is a completely outdated solution with an unacceptable interface. We use a good theme for Sublim ayu-dark
I decided to choose VSCode over Sublime text for my Systems Programming class in C. What I love about VSCode is its awesome ability to add extensions. Intellisense is a beautiful debugger, and Remote SSH allows me to login and make real-time changes in VSCode to files on my university server. This is an awesome alternative to going back and forth on pushing/pulling code and logging into servers in the terminal. Great choice for anyone interested in C programming!
Pros of Notepad++
- Syntax for all languages that i use104
- Tabbed ui60
- Great code editor56
- Fast and lightweight54
- Plugins38
- Nice GUI28
- Regex & Special Character Search & Replace26
- Fast startup16
- Application is free, and plugins are too9
- Themes9
- Free6
- Very Lightweight4
- 100% Free3
- Column selection2
- Awesome autocomplete1
- Easy edit on FTP servers (NppFTP)1
- Cos it's seck1
- Nice gui. are you kidding me?1
- Open Sourced1
Pros of Sublime Text
- Lightweight720
- Plugins652
- Super fast641
- Great code editor468
- Cross platform442
- Nice UI280
- Unlimited trial260
- Cmd + d is the best command ever153
- Great community92
- Package control, modules46
- Mac OS X support26
- Easy to get started with23
- Monokai22
- Everything you need without the bloat21
- Built in Python21
- Easy18
- Speed14
- Session & edit resuming12
- Package Control10
- Well Designed9
- Multiple selections8
- ALT + CMD + DOWN is the best command ever7
- Nice7
- Fast, simple and lightweight7
- It's easy to use, beautiful, simple, and plugins rule5
- So futuristic and convenient5
- ALT + F3 the best command ever5
- Great5
- Find anything fast within entire project4
- Easy to use4
- Free4
- Simple and clean design4
- Hackable3
- Pretty3
- UI + plugins3
- Sublime Merge (Git Integration)3
- Totally customizable2
- Color schemes and cmd+d2
- Material theme best theme forever2
- Const0
Pros of Vim
- Comes by default in most unix systems (remote editing)347
- Fast328
- Highly configurable312
- Less mouse dependence297
- Lightweight247
- Speed145
- Plugins100
- Hardcore97
- It's for pros82
- Vertically split windows65
- Open-source30
- Modal editing25
- No remembering shortcuts, instead "talks" to the editor22
- It stood the Test of Time21
- Unicode16
- VimPlugins13
- Everything is on the keyboard13
- Stick with terminal13
- Dotfiles12
- Flexible Indenting11
- Hands stay on the keyboard10
- Efficient and powerful10
- Programmable10
- Everywhere9
- Large number of Shortcuts9
- A chainsaw for text editing8
- Unmatched productivity8
- Developer speed7
- Super fast7
- Makes you a true bearded developer7
- Because its not Emacs7
- Modal editing changes everything7
- You cannot exit6
- Themes6
- EasyMotion5
- Most and most powerful plugins of any editor5
- Shell escapes and shell imports :!<command> and !!cmd5
- Intergrated into most editors5
- Shortcuts5
- Great on large text files5
- Habit5
- Plugin manager options. Vim-plug, Pathogen, etc5
- Intuitive, once mastered4
- Perfect command line editor4
- Not MicroSoft1
Sign up to add or upvote prosMake informed product decisions
Cons of Notepad++
- No default plugin manager3
- Can't install more advanced packets2
Cons of Sublime Text
- Steep learning curve8
- Everything7
- Flexibility to move file4
- Number of plugins doing the same thing4
- Doesn't act like a Mac app4
- Not open sourced3
- Don't have flutter integration2
- Forces you to buy license2
Cons of Vim
- Ugly UI8
- Hard to learn5