Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Text editors with vim mode?

I've come across ViEmu, and I read the very motivating article: Why, oh WHY, do those #?@! nutheads use vi?

Anyway, I've come to like the command mode in vim, specially the motions, and I also like the idea behind ViEmu, which is to bring "vim mode" into a typical text editor.

What other editors have a similar "vim mode" or a plugin that provides the functionality?

like image 268
hasen Avatar asked Mar 31 '09 06:03

hasen


People also ask

What type of text editor is Vim?

Vim (/vɪm/; a contraction of Vi IMproved) is a free and open-source, screen-based text editor program. It is an improved clone of Bill Joy's vi. Vim's author, Bram Moolenaar, derived Vim from a port of the Stevie editor for Amiga and released a version to the public in 1991.

Is Vim a good text editor?

Vim is extremely flexible and powerful. You can start simple and use it to edit configuration files quickly. You can also write programs in your favorite programming language, with features like code completion, syntax highlighting, and syntax checking, similar to popular IDE's.

How many modes are there in the Vim text editor?

Overview. vim has two "modes": COMMAND mode and INSERT mode.


2 Answers

I am a huge fan of vim myself, so whenever I am trying a new IDE, I am instantly looking for a vim plugin. Here is a short list of plugins that I found:

  • Atom - vim-mode
  • Eclipse - Vrapper / Vimplugin / Eclim
  • Idea / WebStorm / pyCharm / RubyMine / CLion / PhpStorm / AppCode - IdeaVim
  • NetBeans - jVi
  • Notepad++ - ViSimulator
  • Visual Studio - ViEmu / vsvim
  • Xcode - Xvim

Also, a couple of editors/IDEs have built-in vim mode:

  • AbiWord word processor supports vi keybindings.
  • Kate text editor includes a vi mode.
  • QtCreator has FakeVim mode.
  • Sublime Text has vintage mode.
  • Even Emacs has viper-mode!
  • bash, gdb, mysql-client, and many other applications use the GNU Readline library to interact with the user. Readline includes a vi mode.
  • In Bourne-style shells like ksh and zsh, type set -o vi to enable vi-like command-line editing.
  • ViEmu works also in Microsoft Outlook, Microsoft SQL Server and Word!

Bonus - web browsers! Really, try it, it is awesome!

  • Firefox - vimperator
  • Chromium/Chrome - cvim / vimium
  • Sadly, all of vi plugins for Opera seem outdated.

Please let me know if I forgot something, I would be happy to extend the list. For a more extensive list (sometimes sadly outdated), please see this article.

like image 103
mc.suchecki Avatar answered Sep 21 '22 19:09

mc.suchecki


It's worth noting that there's a lot more to vi than keybindings. As this blog post notes, there isn't any IDE plugin that emulates all the features vi.

like image 26
RossFabricant Avatar answered Sep 21 '22 19:09

RossFabricant