3 ms·
I'm really impressed with this -- I would love to see this see functionality for other VCSes (subversion, etc) so that I could use it with my non-git projects.
by prg318 14y ago
I'm really impressed with this -- I would love to see this see functionality for other VCSes (subversion, etc) so that I could use it with my non-git projects. The vimscript looks pretty clean -- maybe I have a new weekend project ahead of me.
edit: just a quick hack for a "vim svn gutter": https://github.com/prg318/vim-gitgutter https://github.com/prg318/vim-gitgutter
The code is really clean and it would be fairly trivial to adopt this for use with any other VCS. Open source yay!
- johncoltrane 14y agosvndiff (http://www.vim.org/scripts/script.php?script_id=1881 http://www.vim.org/scripts/script.php?script_id=1881) works with SVN, Git and others. Both sign-diff (http://www.vim.org/scripts/script.php?script_id=2712 http://www.vim.org/scripts/script.php?script_id=2712) and changesPlugin (http://www.vim.org/scripts/script.php?script_id=3052 http://www.vim.org/scripts/script.php?script_id=3052) are VCS-agnostic: they show differences between the saved state and the current state.
- prg318 14y agoThank you! I wasn't aware that these plugins existed already. While I was getting excited to get my "vim -D" on to get the script in the OP to work with svn, I might just work one of these plugins into my workflow. Thanks!
- johncoltrane 14y agoHere is an idea to keep your forking mojo going: "improve" the looks of svndiff to match the looks of git-gutter.