Is there a VI equivalent I can use on Windows XP and later?

6

I get frustrated using Notepad on my Windows XP machine when I want to do more complicated text manipulation. Having used VI on various versions of UNIX I'd like to get something with its power on my Windows machine without having to do a full Cygwin install. Can anyone recommend a program that does this?

ianfuture

Posted 2009-10-04T18:49:28.807

Reputation: 790

1hoooooray another convert! we'll beat those emacs freaks yet! – quack quixote – 2009-10-04T18:56:30.183

1lol @ quack. Never used emacs myself but as VI comes with every UNIX install it was recommended to learn this and there'll never be a problem when I get to a UNIX machine – ianfuture – 2009-10-04T19:52:35.077

Answers

31

gvim is a GUI version of vim (vi improved). There is also vim available for the Windows command line.

John T

Posted 2009-10-04T18:49:28.807

Reputation: 149 037

i don't even have a commandline vi in my cygwin install, this is what i use instead. it's built to not need cygwin so it's not the cleanest integration, but it works. – quack quixote – 2009-10-04T18:58:33.500

2gvim is what I use on Windows. I like it. – David Thornley – 2009-10-05T19:04:26.280

spotted this vim-tips wikia site the other day: http://vim.wikia.com/wiki/Vim_Tips_Wiki

– quack quixote – 2009-10-11T05:43:22.180

16

Of course. There's Vim - vi improved. It offers a Windows port. Highly recommended.

Tadeusz A. Kadłubowski

Posted 2009-10-04T18:49:28.807

Reputation: 2 005

3

With things like vi (and it's various flavors) there are always a number of churches. From personal experience, I prefer gvim on windows.

However, you may also be interested in Vimperator, which is a free Firefox plug-in that provides vim style control of Firefox and ViEmu (commercial) which provides similar for office, visual studio and SQL Server.

THEMike

Posted 2009-10-04T18:49:28.807

Reputation: 317

but he wants a text editor... – solarc – 2010-03-19T20:45:52.003

3

I use WinVI. It's lightweight and you can easily replace normal notepad with it. Works well on Windows 7 both 32Bit and 64Bit.

BinaryMisfit

Posted 2009-10-04T18:49:28.807

Reputation: 19 955

1

Apart from what others have mentioend, there is also Cream. It is a gvim variant configured in a way as to try to mimic newer less keyboard-oriented editors of today.

I'm accustomed to gvim, but have to admit that it's an interesting little project.

You can use it in Cream way or in gvim way (better see more on page).

Rook

Posted 2009-10-04T18:49:28.807

Reputation: 21 622

I don't really think cream is good for people wanting vim. It may use vim as the backend but if you use the default config you can't get out of insert mode! – Frew Schmidt – 2009-11-04T20:42:00.927

Well, in that case even vim hardly qualifies as vi equivalent. Since, for those who know both, it is obvious that the difference between the two is huge. Yes, both have i and n mode, but that's where the similarities end. IMO, Cream is a pretty powerful editor, for those who wish to learn how to use it, and have something in between vi/vim/ and windows editors. You can use it in pure vim mode if you wish so too (there is an option somewhere in the toolbar). So I really don't see the problem. – Rook – 2009-11-04T21:39:55.570