Re: [PATCH v5 04/19] add distclean target and gitignore more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 12, 2014 at 12:36:00PM +0200, Paolo Bonzini wrote:
> Il 11/06/2014 16:01, Andrew Jones ha scritto:
> > patches
> > .stgit-*
> > cscope.*
> >+*.swp
> >+/config.mak
> >+/*-run
> >+/test.log
> >+/msr.out
> 
> I'd place swp, cscope, stgit and patches file in a global gitignore
> file ("git config --global core.excludesfile /path/to/file") rather
> than polluting each repository.  But since you're adding to
> something that already exist (and since I also use vi :)), I'll
> apply this patch and content myself with sharing the git trick I
> have just learnt.
> 

You can also add

set directory=~/.vim/swap

to your ~/.vimrc and not have to worry about this in any of your
directories ;)

-Christoffer
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux