(g)Vim with version control like Eclipse

Posted by Somebody still uses you MS-DOS on Stack Overflow See other posts from Stack Overflow or by Somebody still uses you MS-DOS
Published on 2010-05-12T16:58:21Z Indexed on 2010/05/12 18:14 UTC
Read the original article Hit count: 122

Filed under:
|
|
|

I was an Eclipse user, now I have to use Vim in my machine.

I used to "compare" a file I edited with a CVS repository to do merges an commit the files, using a context menu and my mouse.

Is this possible in Vim? Opening a vimdiff for a file before commiting, and commit it from vim itself?

And how is that supposed to work?

I'm supposing I would be editing a file. Then, I want to see the modifications. I run vimdiff in gvim, and a new window (or buffer) is opened. I run the modifications, save what is applicable (using vimdiff commands), and commit running another command.

Is this all transparent in vim? Do I have to keep getting out of vim to my terminal, or can all be done inside it?

Do I need to use some plugins, or just really simple functions inside my vimrc?

© Stack Overflow or respective owner

Related posts about vim

Related posts about gvim