From b16b1651b5d296cd70188fe4ff2f1a72f81c4993 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Sep 2011 00:15:47 +0000 Subject: context-vim (4sep11) git-svn-id: svn://tug.org/texlive/trunk@23813 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/context/third/vim/vim.txt | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/context/third/vim/vim.txt b/Master/texmf-dist/doc/context/third/vim/vim.txt index ed6c0e3feae..a7fc9128f10 100644 --- a/Master/texmf-dist/doc/context/third/vim/vim.txt +++ b/Master/texmf-dist/doc/context/third/vim/vim.txt @@ -390,6 +390,47 @@ highlighted line will be numbered thrice (with the numbers overprinted on one another). This is because, internally, highlighting is implemented using text backgrounds and they do not work with line numbering. +Tuning color schemes +-------------------- + +Some vim syntax files have optional features that are turned on or off using +variables. To enable these optional features, you need to first create a vimrc +file and then use it. + +To create a vimrc file, use + + \startvimrc[name=...] + ... + \stopvimrc + +The `name=...` is necessary. To enable the settings in this vimrc file, use: + + \definevimtyping + [...] + [... + vimrc=..., + ...] + +The value of `vimrc` key needs to be the same as the value of the `name` +key in `\startvimrc`. You may set the `vimrc` file for a particular code snippet +by + + \start[vimrc=....] + ... + \stop + + +To disable loading of vimrc file, use + + \definevimtyping + [...] + [... + vimrc=none, + ...] + + +The default is not to use any vimrc file. + Messages and Tracing -------------------- -- cgit v1.2.3