From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iuua6-0000LP-T1 for garchives@archives.gentoo.org; Wed, 21 Nov 2007 18:45:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lALIiXmB015945; Wed, 21 Nov 2007 18:44:33 GMT Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lALIeKLf010937 for ; Wed, 21 Nov 2007 18:40:20 GMT Received: by an-out-0708.google.com with SMTP id c8so539770ana for ; Wed, 21 Nov 2007 10:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; bh=emflJuJWxRN7C/odowLQCb1qbUl3nvdtP3yPlma8mm4=; b=eMUF1VN2Sn1oTCG7AG+GZX8uFFHauAPu+EyPWGCyKsX37hV73xkTIRnzz0pE7MnwyXUGnkTnRUGIWJho3noXIvErDztZuGKfsdRVotiEdVcMT+GSy/981DBSsfg/sk95JgtMPJk4EaLkjSOFD4+/QMU/+TxrUprHf95y7soDAU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=pqT2UnF12wyZ4rPT7/BbN6Ut1Npdug/QNp4LQXSgl34U+HvnzFcNxuFZJbXDY5I31MKwtPgnZntKwEN2qwv5wfcjRp9uQKZoSU+tFIEUHYtnDyRTQiQ+tvUqh4MV4jACiP642B8yo4/fUNxGNWpq7Npn08LOoJHpmRtgwPzSo7k= Received: by 10.100.34.16 with SMTP id h16mr10343503anh.1195670419480; Wed, 21 Nov 2007 10:40:19 -0800 (PST) Received: from Midori.localhost ( [68.200.145.197]) by mx.google.com with ESMTPS id s40sm11463hsb.2007.11.21.10.40.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2007 10:40:18 -0800 (PST) Date: Wed, 21 Nov 2007 13:40:16 -0500 From: Kenneth Prugh To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: OT: .vimrc Message-ID: <20071121134016.11ccf9b8@Midori.localhost> In-Reply-To: References: <20071121114908.073499f0@Midori.localhost> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 965f70e0-7b5d-4aa1-b6d8-f192897afbee X-Archives-Hash: 5f1f7773202ae053d2eff99d96e20375 On Wed, 21 Nov 2007 18:20:19 +0000 (UTC) James wrote: > Kenneth Prugh gmail.com> writes: > > > autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you > > want?) > > > Here's my .vimrc file: > > autocmd BufRead,BufNewFile *.c set {ai, si, cindent, tabstop=3, > softtabstop=3} > > > I get this error when I source the .vimrc file: > > source /home/james/.vimrc > bash: autocmd: command not found > > > Any suggestions? > > > James > > > > Indeed sourcing will error out.. Just launch vim again and it should be using those new settings... -- gentoo-user@gentoo.org mailing list