Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

He who hates vices hates mankind.

rocksolid / Linux / vim in Debian Stretch

o vim in Debian StretchAnonymous

Subject: vim in Debian Stretch
From: Anonymous
Newsgroups: rocksolid.shared.linux
Organization: RetroBBS II
Date: Fri, 17 Nov 2017 06:37 UTC
From: roo...@ (Anonymous)
Newsgroups: rocksolid.shared.linux
Subject: vim in Debian Stretch
Date: Fri, 17 Nov 2017 06:37:10 +0000
Organization: RetroBBS II
Lines: 28
Message-ID: <oum02m$9c5$>
Reply-To: Anonymous <root@>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Nov 2017 06:37:10 -0000 (UTC)
Injection-Info:; posting-host="localhost:";
logging-data="9605"; mail-complaints-to=""
User-Agent: FUDforum 3.0.7
X-FUDforum: d41d8cd98f00b204e9800998ecf8427e <46046>
View all headers
It seems that Debian has by default enabled visual mode and
syntax highlighting in vim.

Not what I really want so here's how I changed it back in

In the following section, change the set mouse line and
syntax line.

" In many terminal emulators the mouse works just fine.  By
enabling it you
" can position the cursor, Visually select and scroll with
the mouse.
if has('mouse')
  set mouse-=a

" Switch syntax highlighting on when the terminal has colors
or when using the
" GUI (which always has colors).
if &t_Co > 2 || has("gui_running")
  " Revert with ":syntax off".
  syntax off

  " I like highlighting strings inside C comments.
  " Revert with ":unlet c_comment_strings".
  let c_comment_strings=1

Posted on RetroBBS II

rocksolid light 0.7.2