On 16/09/14 13:46, Martin Kletzander wrote:> On Tue, Sep 16, 2014 at 01:34:37PM +0100, lejeczek wrote: >> hi all >> where/how to change vim's I presume configuration, one that >> virsh uses? >> thanks. >> P. >> > > Well, virsh just starts an $EDITOR. Set it up properly > and you're > good to go ;) > > Martinthanks, but more persistent config, eg. tab's width, etc.
On 09/16/2014 08:15 AM, lejeczek wrote:> > On 16/09/14 13:46, Martin Kletzander wrote: >> On Tue, Sep 16, 2014 at 01:34:37PM +0100, lejeczek wrote: >>> hi all >>> where/how to change vim's I presume configuration, one that >>> virsh uses? >>> thanks. >>> P. >>> >> >> Well, virsh just starts an $EDITOR. Set it up properly and you're >> good to go ;) >> >> Martin > thanks, > but more persistent config, eg. tab's width, etc.That's up to you and your $EDITOR settings. virsh is just spawning whatever editor you told it to (and only falling back to vi if you didn't specify anything), and how you customize your editor is outside the realm of what virsh is responsible for. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
lejeczek
2014-Sep-16 14:49 UTC
Re: [libvirt-users] [Bulk] Re: virsh's editor configuration
On 16/09/14 15:21, Eric Blake wrote:> On 09/16/2014 08:15 AM, lejeczek wrote: >> On 16/09/14 13:46, Martin Kletzander wrote: >>> On Tue, Sep 16, 2014 at 01:34:37PM +0100, lejeczek wrote: >>>> hi all >>>> where/how to change vim's I presume configuration, one that >>>> virsh uses? >>>> thanks. >>>> P. >>>> >>> Well, virsh just starts an $EDITOR. Set it up properly and you're >>> good to go ;) >>> >>> Martin >> thanks, >> but more persistent config, eg. tab's width, etc. > That's up to you and your $EDITOR settings. virsh is just spawning > whatever editor you told it to (and only falling back to vi if you > didn't specify anything), and how you customize your editor is outside > the realm of what virsh is responsible for. >ok, my bad, was looking at vim that I had system-wide tweaked and was wondering why virsh does not honour them, but I should see vi instead. thanks