Get Advice Icon

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

CodeMirror
CodeMirror

198
60
+ 1
7
Vim
Vim

7.7K
5.8K
+ 1
2.1K
Add tool

CodeMirror vs Vim: What are the differences?

CodeMirror: In-browser code editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects. CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation; 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.

CodeMirror and Vim can be primarily classified as "Text Editor" tools.

Some of the features offered by CodeMirror are:

  • Support for over 60 languages out of the box
  • A powerful, composable language mode system
  • Autocompletion (XML)

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

  • Vertically Split Windows
  • Vimdiff
  • Folding

"Integrable in your application" is the top reason why over 3 developers like CodeMirror, while over 334 developers mention "Comes by default in most unix systems (remote editing)" as the leading cause for choosing Vim.

CodeMirror is an open source tool with 18K GitHub stars and 3.92K GitHub forks. Here's a link to CodeMirror's open source repository on GitHub.

Lyft, Typeform, and CircleCI are some of the popular companies that use Vim, whereas CodeMirror is used by Blackfire.io, Jumplead, and Flurry. Vim has a broader approval, being mentioned in 850 company stacks & 890 developers stacks; compared to CodeMirror, which is listed in 24 company stacks and 11 developer stacks.

- No public GitHub repository available -

What is CodeMirror?

CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.

What is Vim?

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.
Get Advice Icon

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

Why do developers choose CodeMirror?
Why do developers choose Vim?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use CodeMirror?
    What companies use Vim?

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

    What tools integrate with CodeMirror?
    What tools integrate with Vim?

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

    What are some alternatives to CodeMirror and Vim?
    Ace
    Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application.
    TinyMCE
    It is the most advanced WYSWIYG HTML editor designed to simplify website content creation. The rich text editing platform that helped launch Atlassian, Medium, Evernote, and more.
    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.
    Sublime Text
    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.
    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.
    See all alternatives
    Decisions about CodeMirror and Vim
    Jerome Dalbert
    Jerome Dalbert
    Senior Backend Engineer at StackShare ยท | 12 upvotes ยท 69.5K views
    Sublime Text
    Sublime Text
    Vim
    Vim
    Atom
    Atom
    Visual Studio Code
    Visual Studio Code
    #TextEditor

    I liked Sublime Text for its speed, simplicity and keyboard shortcuts which synergize well when working on scripting languages like Ruby and JavaScript. I extended the editor with custom Python scripts that improved keyboard navigability such as autofocusing the sidebar when no files are open, or changing tab closing behavior.

    But customization can only get you so far, and there were little things that I still had to use the mouse for, such as scrolling, repositioning lines on the screen, selecting the line number of a failing test stack trace from a separate plugin pane, etc. After 3 years of wearily moving my arm and hand to perform the same repetitive tasks, I decided to switch to Vim for 3 reasons:

    • your fingers literally donโ€™t ever need to leave the keyboard home row (I had to remap the escape key though)
    • it is a reliable tool that has been around for more than 30 years and will still be around for the next 30 years
    • I wanted to "look like a hacker" by doing everything inside my terminal and by becoming a better Unix citizen

    The learning curve is very steep and it took me a year to master it, but investing time to be truly comfortable with my #TextEditor was more than worth it. To me, Vim comes close to being the perfect editor and I probably wonโ€™t need to switch ever again. It feels good to ignore new editors that come out every few years, like Atom and Visual Studio Code.

    See more
    Denys
    Denys
    Software engineer at Typeform ยท | 7 upvotes ยท 44K views
    atTypeformTypeform
    Go
    Go
    Visual Studio Code
    Visual Studio Code
    Vim
    Vim
    Git
    Git
    Docker
    Docker
    Docker Compose
    Docker Compose
    • Go because it's easy and simple, facilitates collaboration , and also it's fast, scalable, powerful.
    • Visual Studio Code because it has one of the most sophisticated Go language support plugins.
    • Vim because it's Vim
    • Git because it's Git
    • Docker and Docker Compose because it's quick and easy to have reproducible builds/tests with them
    • @Archlinux (wtf it's not here?!) because Docker for Mac/Win is a disaster for the human's central nervous system, and Arch is the coolest Linux distro so far
    See more
    Gustavo Muรฑoz
    Gustavo Muรฑoz
    Web UI Developer at Globant ยท | 3 upvotes ยท 33.6K views
    Visual Studio Code
    Visual Studio Code
    Atom
    Atom
    Sublime Text
    Sublime Text
    Vim
    Vim
    Notepad++
    Notepad++
    React
    React
    Flutter
    Flutter
    TypeScript
    TypeScript
    #RESTfulAPI
    #Microsoft

    I have chosen Visual Studio Code after testing a lot of other editors like Atom, Sublime Text (with legal license), Vim or even Notepad++ because it is the sum of all their virtues and none of their defects. It's fast, it has all the tools and plugins I need to work, and it's pretty and very good optimized. It has what I need to work and nothing more. And the main plugins works like a charm. Developing for React or Flutter is amazing. Even the TypeScript plugin works great. I like how IntelliSense works, and all the extra tools to code remotely using #ssh, access #RESTfulAPI or event manage projects or collaborating remotely. Thanks #Microsoft for Visual Studio Code.

    See more
    Interest over time
    Reviews of CodeMirror and Vim
    No reviews found
    How developers use CodeMirror and Vim
    Avatar of Kang Hyeon Ku
    Kang Hyeon Ku uses VimVim

    cli ํ™˜๊ฒฝ์— ์ต์ˆ™ ํ•ด์ง€์ง€ ์œ„ํ•ด ๋ฆฌ๋ˆ…์Šค๋ฅผ ์ž์ฃผ ์“ฐ๋ ค๊ณ  ํ–ˆ๋Š”๋ฐ, ๋งŽ์ด๋“ค ์ถ”์ฒœ ํ•˜๋Š” ์—๋””ํ„ฐ๊ฐ€ vim ์ด ์˜€๋‹ค. ๋งจ ์ฒ˜์Œ์—๋Š” ๋ถˆํŽธํ–ˆ๋Š”๋ฐ, ํ”Œ๋Ÿฌ๊ทธ์ธ ๋‹ค๋Š” ์žฌ๋ฏธ๊ฐ€ ์†”์†” ํ–ˆ๋‹ค. ๊ฒฐ๊ตญ ํ”Œ๋Ÿฌ๊ทธ์ธ๋„ ๋งŽ์ด ์•ˆ์“ฐ๊ฒŒ ๋˜๋”๋ผ...vim ์ž์ฒด๋ฅผ ์ž˜ ์•ˆ์“ฐ๊ฒŒ ๋˜๋Š” ๊ฑฐ ์ผ์ง€๋„, ํ•ญ์ƒ ์ž˜ํ•˜๊ณ  ์‹ถ์ง€๋งŒ ์ž˜ ์•ˆ์“ฐ๊ฒŒ ๋˜๋Š” ์—๋””ํ„ฐ ์ธ๊ฒƒ ๊ฐ™๋‹ค.

    Avatar of papaver
    papaver uses VimVim

    my go to editor for all things. been a vimer for over a decade now. this is where all the magic happens. still so much to learn, the most amazing tool i use.

    Avatar of Wing Tang Wong
    Wing Tang Wong uses VimVim

    Vim lets me edit the Markdown content of the Hugo powered site with ease. The low bandwidth needs means I can remote in and get changes updated without issues.

    Avatar of Darren Buse
    Darren Buse uses VimVim

    Tool a while to get used to but one of the best things I have learnt recently, great training from Drew Neil over at VimCasts.

    Avatar of SmartLogic
    SmartLogic uses VimVim

    Our developers use Vim, which is great for remote pair programming. We even have a serverโ€”Bruizerโ€”set up to host shared terminal sessions.

    Avatar of Postverta Inc.
    Postverta Inc. uses CodeMirrorCodeMirror

    It is the basis of our in-browser editor. Highly customizable with an extensive set of plugins.

    How much does CodeMirror cost?
    How much does Vim cost?
    Pricing unavailable
    Pricing unavailable
    News about CodeMirror
    More news