1 msglibsoup-2.2.103 access violation
10 msgstatic IP, gateway and netmask setting
1 msgnew box working well: 2 small problems
2 msgSATA messages
3 msgIssues pinging localhost and starting apache.
3 msgUsb device not accepting address x, error -71
3 msg[OT] BBC claim on low numbers of Linux visitors
1 msgWho sets the USER environment variable?
1 msgudevd-event 'error'
7 msgSamba basics
13 msgmount cdrom: No buffer space available
7 msgGhostscript - font path
10 msgFailure to compile gcc-3.3.6-r1
3 msg{OT} Weird image-serving behavior
5 msgdhcpcd brokenness

OT: .vimrc
\ James (21 Nov 2007)
. \ Kenneth Prugh (21 Nov 2007)
. \ James (21 Nov 2007)
. . \ Kenneth Prugh (21 Nov 2007)

10 msgruby gems
5 msgChroot question
18 msggtkpod won't start
2 msgkdegraphics
Subject:OT: .vimrc
Group:Gentoo-user
From:James
Date:21 Nov 2007


 
Hello,


I'm not the swiftest (hack) around with finessing the (bash) shell
and customizations for c/c++ (command line) programming. What I'm
doing is trying to setup .vimrc so that when I edit a file
(*.c or *.cpp) my shell uses the entries in the (user's) .vimrc file.
However any other file I access via 'vi' I want it to ignore these
customizations or use a second config file for 'vim' customizations.
Ideas on how to accomplish this are welcome.


I've stumbled across ideas on how to make .vimrc really cool for writing
c/c++ programs. I have not found a comprehensive reference on all of the
possibilities and what works. A wiki would be very cool. I've been
testing a custom setup for .vimrc:

set ai " autoindent
set si " smartindent
set cindent " do c-style indenting
set tabstop=3 " tab spacing settings below are just to unify it
set softtabstop=3 " unify
set shiftwidth=3 " unify
set noexpandtab " real tabs please!
set nowrap " do not wrap lines
set smarttab " use tabs at the start of a line, spaces elsewhere


Additionally, I'm experimenting with QT4 so any suggestions
related to QT4 are also appreciated. Any comments, ideas or resources
I can look at, would be most appreciated.


James


--
gentoo-user mailing list



© 2004-2008 readlist.com