Friday, May 17, 2019

Re: Version Control

Hi,

Vedanth Srinivasan schrieb am 16.05.2019 um 02:30:
> Please tell me how to get Version Control/ Local History on a file in vim. I
> would like to take a look at the changes made to a file step by step.   

if you only want to visualize the changes made inside Vim (not within a
version control system like git, mercurial or subversion) you might want
to take a look at the undotree plugin by Ming Bai. You can find it on the
Vim Scripts page at <http://www.vim.org/scripts/script.php?script_id=4177>
or on github at <https://github.com/mbbill/undotree>. (The latter one is
recommend, because it's more current.)

For interacting with a git repository I (sometimes) use Tim Pope's fugitve
plugin, available from <https://github.com/tpope/vim-fugitive>, which
defines a lot of useful commands.

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/abe18a15-cfb9-96cd-d36b-38c38bf65ac0%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment