Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Should I install vim or GVim ?

I develop mainly Ruby on Rails (I also use IDE's, but different topic).

enter image description here

Are there any differences or advantage of using Gvim vs vim ?

share|improve this question

4 Answers 4

up vote 3 down vote accepted

In gVim you can select the font, vim depends on the font the terminal provides. And it's the same for colour support. Gvim has full support, vim depends on the terminal.

Gvim additionally has menus and a toolbar, which vim lacks.

One big advantage of vim is that, since it's a terminal application, you have a full fledged terminal at your fingertips. gVim has very rudimentary terminal support. This is handy if you run :make, for instance.

share|improve this answer
2  
Maybe add that gvim has mouse enabled by default, and vim don't (although it's easy to enable it with set mouse=a). Also, most colorschemes are written for gvim and not for vim so it's easier to use these out of the box (although using the guicolorscheme.vim scripts works fine also). Yes, I'm using vim. –  Herman Torjussen Jun 13 '12 at 21:04
2  
Why on earth do you need a mouse in vim? –  Bernhard Jul 25 '13 at 14:06
    
@Bernhard To resize vertical/horizontal splits faster than with a keyboard. –  Étienne Apr 2 at 15:07
    
@Étienne That is not faster. Will have to grab my mouse first ;) –  Bernhard Apr 2 at 17:11
    
Not a big issue if you have a touchpad or trackpoint at hand. –  Kos Oct 5 at 18:34

gvim package shall have all vim coming along. Meaning, if you wish to fall back to vanilla vim you can.

Anyway, the biggest difference IMO is that vim depends on the terminal to handle special characters and key-sequences. If you wish to map and exploit things like <c-space>, <m-ins>, ... just forget about it with vim.

Of course gvim has menus, mouse, toolbar, etc. But that's just a small bonus compared to a fully functional keyboard.

share|improve this answer

They both are the same if you see performance wise but if you want good looks and want to customize the editor so that it does not look boring then you would like to try the enhanced version of vim.

share|improve this answer

Install both and try them both, they use the same configuration etc. so there's no risk.

As far as differences are concerned: one is a graphical tool one is a command line tool. So the advantage of vim to gvim is that you can use it easily over an ssh connection. (You can do the same with gvim by tunneling X but that has quite some overhead.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.