Sublime Text vs Vim

Need advice about which tool to choose?Ask the StackShare community!

Sublime Text

26.6K
21.1K
+ 1
4K
Vim

20.3K
15.8K
+ 1
2.3K
Add tool

Sublime Text vs Vim: What are the differences?

Sublime Text: A sophisticated text editor for code, markup and prose. Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.; Vim: Highly configurable text editor built to enable efficient text editing. Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is distributed free as charityware.

Sublime Text and Vim can be categorized as "Text Editor" tools.

Some of the features offered by Sublime Text are:

  • Goto Anything
  • Multiple Selections
  • Command Palette

On the other hand, Vim provides the following key features:

  • Vertically Split Windows
  • Vimdiff
  • Folding

"Lightweight", "Plugins" and "Super fast" are the key factors why developers consider Sublime Text; whereas "Comes by default in most unix systems (remote editing)", "Fast" and "Highly configurable" are the primary reasons why Vim is favored.

Lyft, Typeform, and Starbucks are some of the popular companies that use Sublime Text, whereas Vim is used by Lyft, Typeform, and CircleCI. Sublime Text has a broader approval, being mentioned in 1406 company stacks & 1333 developers stacks; compared to Vim, which is listed in 850 company stacks and 890 developer stacks.

Advice on Sublime Text and Vim
Rogério R. Alcântara
Needs advice
on
VimVim
and
NeovimNeovim

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?

See more
Replies (6)
Recommends
VimVimNeovimNeovim

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.

See more
Jeffrey Johnson
Recommends
at

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:

  1. Install the 'vscode-neovim; extension (https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim)
  2. Install Neovim version 0.5+ nightly
  3. 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.

See more
Kudos Beluga
Recommends
NeovimNeovim

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? ;)

See more
Tarcísio Gruppi
Recommends
VimVim

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

See more
Rogério R. Alcântara
Recommends
NeovimNeovim

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!

See more
Albert Kim
Recommends

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.

See more
Decisions about Sublime Text and Vim
Kamaleshwar BN
Head of Engineering at Dibiz Pte. Ltd. · | 12 upvotes · 733.7K views

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.

See more
Andrey Ginger
Managing Partner at WhiteLabelDevelopers · | 3 upvotes · 305.6K views

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

See more
Simon Ibssa
Student at California Polytechnic State University, San Luis Obispo · | 2 upvotes · 662.6K views

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!

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Sublime Text
Pros of Vim
  • 722
    Lightweight
  • 654
    Plugins
  • 641
    Super fast
  • 468
    Great code editor
  • 443
    Cross platform
  • 280
    Nice UI
  • 259
    Unlimited trial
  • 154
    Cmd + d is the best command ever
  • 92
    Great community
  • 47
    Package control, modules
  • 26
    Mac OS X support
  • 23
    Easy to get started with
  • 22
    Monokai
  • 21
    Built in Python
  • 21
    Everything you need without the bloat
  • 18
    Easy
  • 14
    Speed
  • 12
    Session & edit resuming
  • 10
    Package Control
  • 9
    Well Designed
  • 8
    Multiple selections
  • 7
    Nice
  • 7
    Fast, simple and lightweight
  • 7
    ALT + CMD + DOWN is the best command ever
  • 5
    So futuristic and convenient
  • 5
    It's easy to use, beautiful, simple, and plugins rule
  • 5
    Great
  • 5
    ALT + F3 the best command ever
  • 4
    Simple and clean design
  • 4
    Free
  • 4
    Find anything fast within entire project
  • 3
    Easy to use
  • 3
    UI + plugins
  • 3
    Sublime Merge (Git Integration)
  • 3
    Pretty
  • 3
    Hackable
  • 2
    Totally customizable
  • 2
    Color schemes and cmd+d
  • 2
    Material theme best theme forever
  • 343
    Comes by default in most unix systems (remote editing)
  • 324
    Fast
  • 310
    Highly configurable
  • 293
    Less mouse dependence
  • 242
    Lightweight
  • 141
    Speed
  • 98
    Plugins
  • 94
    Hardcore
  • 80
    It's for pros
  • 64
    Vertically split windows
  • 26
    Open-source
  • 23
    Modal editing
  • 21
    No remembering shortcuts, instead "talks" to the editor
  • 19
    It stood the Test of Time
  • 14
    Unicode
  • 11
    VimPlugins
  • 11
    Stick with terminal
  • 11
    Dotfiles
  • 11
    Everything is on the keyboard
  • 10
    Flexible Indenting
  • 9
    Programmable
  • 8
    Hands stay on the keyboard
  • 8
    Large number of Shortcuts
  • 8
    Efficient and powerful
  • 7
    Modal editing changes everything
  • 7
    Because its not Emacs
  • 7
    Unmatched productivity
  • 7
    Everywhere
  • 7
    A chainsaw for text editing
  • 6
    Super fast
  • 6
    You cannot exit
  • 6
    Themes
  • 6
    Makes you a true bearded developer
  • 6
    Developer speed
  • 4
    Most and most powerful plugins of any editor
  • 4
    Shortcuts
  • 4
    Habit
  • 4
    Shell escapes and shell imports :!<command> and !!cmd
  • 4
    Great on large text files
  • 4
    Intergrated into most editors
  • 4
    Plugin manager options. Vim-plug, Pathogen, etc
  • 4
    EasyMotion
  • 3
    Intuitive, once mastered
  • 2
    Perfect command line editor

Sign up to add or upvote prosMake informed product decisions

Cons of Sublime Text
Cons of Vim
  • 7
    Steep learning curve
  • 4
    Flexibility to move file
  • 4
    Everything
  • 3
    Number of plugins doing the same thing
  • 3
    Doesn't act like a Mac app
  • 2
    Don't have flutter integration
  • 1
    Forces you to buy license
  • 1
    Not open sourced
  • 7
    Ugly UI
  • 4
    Hard to learn
  • 1
    It's not Emacs

Sign up to add or upvote consMake informed product decisions

What companies use Sublime Text?
What companies use Vim?
See which teams inside your own company are using Sublime Text or Vim.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Sublime Text?
What tools integrate with Vim?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Sublime Text and Vim?
Atom
At GitHub, we're building the text editor we've always wanted. A tool you can customize to do anything, but also use productively on the first day without ever touching a config file. Atom is modern, approachable, and hackable to the core. We can't wait to see what you build with it.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
WebStorm
WebStorm is a lightweight and intelligent IDE for front-end development and server-side JavaScript.
Notepad++
Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.
Brackets
With focused visual tools and preprocessor support, it is a modern text editor that makes it easy to design in the browser.
See all alternatives