Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Any woman is a volume if one knows how to read her.


rocksolid / Linux / vim in Debian Stretch

SubjectAuthor
o vim in Debian StretchAnonymous

1
Subject: vim in Debian Stretch
From: Anonymous
Newsgroups: rocksolid.shared.linux
Organization: RetroBBS II
Date: Fri, 17 Nov 2017 06:37 UTC
Path: retrobbs.novabbs.com!.POSTED.localhost!not-for-mail
From: roo...@192.168.0.42 (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$1@novabbs.com>
Reply-To: Anonymous <root@192.168.0.42>
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: novabbs.com; posting-host="localhost:127.0.0.1";
logging-data="9605"; mail-complaints-to="usenet@novabbs.com"
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
/usr/share/vim/vim80/defaults.vim.

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
endif

" 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
endif

Posted on RetroBBS II


1
rocksolid light 0.7.2
clearneti2ptor