Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / doc / vim-common / | server ip : 104.21.89.46 your ip : 172.69.130.140 H O M E |
Filename | /usr/share/doc/vim-common/README.Debian |
Size | 1.68 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 04-Aug-2013 11:51 |
Last accessed | 06-Jul-2025 16:36 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
Vim for Debian
---------------
1. The current Debian Vim scripts policy can be found in the vim-doc package
under /usr/share/doc/vim-common and
<http://pkg-vim.alioth.debian.org/vim-policy.html/>.
2. Before reporting bugs, check if the bug also exists if you run vim
with "vim -u NONE -U NONE". If not, make sure that the "bug" is not
a result of a setting in your ~/.vimrc before reporting it.
-- Stefano Zacchiroli <[email protected]> Mon, 10 Apr 2006 09:59:41 -0400
MzScheme Vim variant
--------------------
As requested by the current MzScheme maintainer (Ari Pollak <[email protected]>),
a vim-mzscheme variant is not being built. The reasons stated are as follows:
1) MzScheme does not build on many of Debian's supported architectures.
2) The MzScheme package is not versioned based on the library.
3) The MzScheme ABI changes with every upstream version.
-- James Vega <[email protected]> Mon, 10 Apr 2006 09:48:25 -0400
Modeline support disabled by default
------------------------------------
Modelines have historically been a source of security/resource vulnerabilities
and are therefore disabled by default in $VIMRUNTIME/debian.vim.
You can enable them in ~/.vimrc or /etc/vim/vimrc with "set modeline".
In order to mimic Vim's default setting (modelines disabled when root, enabled
otherwise), you may instead want to use the following snippet:
if $USER != 'root'
set modeline
else
set nomodeline
endif
The securemodelines script from vim.org (and in the vim-scripts package) may
also be of interest as it provides a way to whitelist exactly which options
may be set from a modeline.
-- James Vega <[email protected]> Sun, 04 May 2008 03:11:51 -0400
---------------
1. The current Debian Vim scripts policy can be found in the vim-doc package
under /usr/share/doc/vim-common and
<http://pkg-vim.alioth.debian.org/vim-policy.html/>.
2. Before reporting bugs, check if the bug also exists if you run vim
with "vim -u NONE -U NONE". If not, make sure that the "bug" is not
a result of a setting in your ~/.vimrc before reporting it.
-- Stefano Zacchiroli <[email protected]> Mon, 10 Apr 2006 09:59:41 -0400
MzScheme Vim variant
--------------------
As requested by the current MzScheme maintainer (Ari Pollak <[email protected]>),
a vim-mzscheme variant is not being built. The reasons stated are as follows:
1) MzScheme does not build on many of Debian's supported architectures.
2) The MzScheme package is not versioned based on the library.
3) The MzScheme ABI changes with every upstream version.
-- James Vega <[email protected]> Mon, 10 Apr 2006 09:48:25 -0400
Modeline support disabled by default
------------------------------------
Modelines have historically been a source of security/resource vulnerabilities
and are therefore disabled by default in $VIMRUNTIME/debian.vim.
You can enable them in ~/.vimrc or /etc/vim/vimrc with "set modeline".
In order to mimic Vim's default setting (modelines disabled when root, enabled
otherwise), you may instead want to use the following snippet:
if $USER != 'root'
set modeline
else
set nomodeline
endif
The securemodelines script from vim.org (and in the vim-scripts package) may
also be of interest as it provides a way to whitelist exactly which options
may be set from a modeline.
-- James Vega <[email protected]> Sun, 04 May 2008 03:11:51 -0400