public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] how to disable an automatic feature in vim?
  @ 2007-02-24  0:15 99% ` Philip Webb
  0 siblings, 0 replies; 1+ results
From: Philip Webb @ 2007-02-24  0:15 UTC (permalink / raw
  To: gentoo-user

070223 John Blinka wrote:
> when I edit configuration files in /etc,
> vim likes to insert a leading "# " in new lines
> following existing comment lines.  
> That's almost never what I want to do
> and I have to delete the # and space before doing what I intended.
> I've got the latest stable versions of vim, vim-core
> and gentoo-syntax installed on my systems.
> Anybody know how to turn this behavior off?

I tested with a file in  /etc  & it doesn't happen for me.

> I don't even know where to look in the vim documentation.

Google 'vim automatic comment' finds sect 30.6 of the Vim User Manual,
which covers something similar; also

  http://ianua.initd.org/vimit/vim63/html/change.html#fo-table

which seems to cover what you describe under options 'r' & 'o'.

Perhaps this will get you started, if no-one else has more precise info.

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : purslow@chass.utoronto.ca
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-02-23 23:35     [gentoo-user] how to disable an automatic feature in vim? John Blinka
2007-02-24  0:15 99% ` Philip Webb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox