Version Control

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Version Control

Vedanth Srinivasan
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.   
Vedanth Srinivasan

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAPF5mANHbSYWQX5jh0D5qBJ3yoUMpsw38_L2LEL%3DvC2PAU5tcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Version Control

Yuanxuan Zhu
Hi,
I use Plugin vim-gitgutter.
-----------------------------
Best Regards,

Zhuyuanxuan


On Fri, May 17, 2019 at 2:39 PM Vedanth Srinivasan <[hidden email]> wrote:
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.   
Vedanth Srinivasan

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAPF5mANHbSYWQX5jh0D5qBJ3yoUMpsw38_L2LEL%3DvC2PAU5tcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAO4o5z5HM6BLL7kNt0qtKV9GZrsinAdbey9aX-Maj3sJjnLP1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Version Control

Jürgen Krämer-4
In reply to this post by Vedanth Srinivasan
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 [hidden email].
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.