On 10.06.12 10:55, Eric Weir wrote:
> I've printed out the two .vimrcs and will attempt to see if I can find
> what made the difference.
A quick way to find a few changes (Example shows that I made one today.):
$ diff ~/my/backup/of/vimrc .vimrc
32a33
> au BufNewFile,BufRead ~/Personal/info/agriculture/* call SimpleFold()
That says the line has been added at line 33.
A more long-winded way is to use vimdiff. ( :h vimdiff )
$ vimdiff -o file1 file2 # -o => Horizontal split, good for long
# lines.
Commands to get started:
]c Move to next diff.
[c Move to previous diff.
You're in vim, and can make changes to synchronise the files, or
make other tweaks while you're there.
:h diffput :h diffget :h diffupdate
Erik
--
Q: What do you call the scratches that you get when a female
sheep bites you?
A: Ewe nicks.
--
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
Sunday, June 10, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment