"***************************************************************************** "** Name: crefvim.vim - a C-Reference for Vim ** "** ** "** Type: global VIM plugin ** "** ** "** Author: Christian Habermann ** "** christian(at)habermann-net(point)de ** "** ** "** Copyright: (c) 2002, 2003 by Christian Habermann ** "** ** "** License: GNU General Public License 2 (GPL 2) or later ** "** ** "** This program is free software; you can redistribute it ** "** and/or modify it under the terms of the GNU General Public ** "** License as published by the Free Software Foundation; either ** "** version 2 of the License, or (at your option) any later ** "** version. ** "** ** "** This program is distributed in the hope that it will be ** "** useful, but WITHOUT ANY WARRANTY; without even the implied ** "** warrenty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ** "** PURPOSE. ** "** See the GNU General Public License for more details. ** "** ** "** Version: 1.0.0 ** "** tested under Linux (vim, gvim 6.1) and Win32 (gvim 6.1) ** "** ** "** History: 0.1.0 12. Dec. 2002 - 23. Feb. 2003 ** "** initial version, not released ** "** 1.0.0 6. Apr. 2003 ** "** no changes, first release ** "** ** "** ** "***************************************************************************** "** Description: ** "** This script's intention is to provide a C-reference manual that can ** "** be accessed from within Vim. ** "** ** "** For futher information see crefvim.txt or do :help crefvim ** "** ** "** ** "** Happy viming... ** "***************************************************************************** " allow user to avoid loading this plugin and prevent loading twice if exists ("loaded_crefvim") finish endif let loaded_crefvim = 1 "***************************************************************************** "************************** C O N F I G U R A T I O N ************************ "***************************************************************************** " the mappings: if !hasmapto('CRV_CRefVimVisual') vmap cr CRV_CRefVimVisual endif if !hasmapto('CRV_CRefVimNormal') nmap cr CRV_CRefVimNormal endif if !hasmapto('CRV_CRefVimAsk') map cw CRV_CRefVimAsk endif if !hasmapto('CRV_CRefVimInvoke') map cc CRV_CRefVimInvoke endif vmap