-
Notifications
You must be signed in to change notification settings - Fork 2
help , how to use vim-diff #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi colinvivy. vimdiff command doesn't load gvimrc. vim-diff only works for 2-file diff. |
I was mistaken. It seems that 'diffexpr' also works for 3-file diff... |
Hi, ynkdir . My editor is vim for Mac OS X, so I can only find Anything wrong with im my MacVim ? |
No problem. vimdiff and gvimdiff are not vim's command. You can run these command $ vim -d file1 file2
# or
$ gvim -d file1 file2 Another way to view diff, you can use :edit file1
:diffsplit file2 If you use :set runtimepath+=/path/to/vim-diff
:set diffexpr=diff#diffexpr() Replace |
well , at last I use this way to diff file :edit file1
:diffsplit file2 Thank you for your patience , So kind of you ! |
You are welcome. |
hello ynkdir !
First of all ,thank you for this vim-diff plugin for vim , but I don't know how to use it ... poor man ..
I copy "autoload/vim.diff" to "~/.vim/autoload/" , and add some config ":set runtimepath+=/path/to/vim-diff :set iffexpr=diff#diffexpr()
" in my gvimrc . restart vim ,using vimdiff command , it doesn't work.
Cound you show me more detail about this ?
Best Regards!
The text was updated successfully, but these errors were encountered: