code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI/Motif support by Robert Webb * Athena port by Bill Foster * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of t...
zyz2011-vim
src/gui_athena.c
C
gpl2
57,458
/* vi:set ts=8 sts=4 sw=4: * * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE * * This is NOT the original regular expression code as written by Henry * Spencer. This code has been modified specifically for use with Vim, and * should not be used apart from compiling Vim. If you want a goo...
zyz2011-vim
src/regexp.h
C
gpl2
2,308
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unixio.h> #include "vim.h" int main(int argc, char *argv[]) { FILE *fpi, *fpo; char cmd[132], buf[BUFSIZ], *argp, *error_file, target[132], *mms; int err = 0, err_line = 0; mms = "mms"; argc--; argv++; while (argc-- > 0) ...
zyz2011-vim
src/os_vms_mms.c
C
gpl2
1,328
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * misc1.c: functions that didn't seem to fit...
zyz2011-vim
src/misc1.c
C
gpl2
260,282
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ #define EXTERN #include "vim.h" #ifdef SPAWNO #...
zyz2011-vim
src/main.c
C
gpl2
107,178
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * this file by Vince Negri * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * vimrun.c - T...
zyz2011-vim
src/vimrun.c
C
gpl2
2,144
$! $! OS_VMS_FIX.COM $! Copyright (C) 2000, Stephen P. Wall $! $! Filter files for "#if" line continuations using a '\' and convert $! them to use comments for the continuation. Necessary for VAXC - it $! doesn't understand the '\'. $! $! Yes, this is honkin' ugly code, but I deliberately avoided $! if ... $! ...
zyz2011-vim
src/os_vms_fix.com
DIGITAL Command Language
gpl2
7,771
/* vi:set ts=8 sts=4 sw=4: */ /* MODIFIED ATHENA SCROLLBAR (USING ARROWHEADS AT ENDS OF TRAVEL) */ /* Modifications Copyright 1992 by Mitch Trachtenberg */ /* Rights, permissions, and disclaimer of warranty are as in the */ /* DEC and MIT notice below. See usage warning in .c file. */ /* * $XConsortium: Scrollb...
zyz2011-vim
src/gui_at_sb.h
C
gpl2
5,938
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read a list of people who contributed. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ #include "vim.h" static int path_is_url __A...
zyz2011-vim
src/window.c
C
gpl2
156,216
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #if defined(FEAT_OLE) && defined(FEAT_GUI_W32) /* * OLE server implementation. * * See os_mswin.c for ...
zyz2011-vim
src/if_ole.cpp
C++
gpl2
18,542
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI/Motif support by Robert Webb * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ #include...
zyz2011-vim
src/gui.c
C
gpl2
137,783
/* vi:set ts=8 sts=4 sw=4: * * Handling of regular expressions: vim_regcomp(), vim_regexec(), vim_regsub() * * NOTICE: * * This is NOT the original regular expression code as written by Henry * Spencer. This code has been modified specifically for use with the VIM * editor, and should not be used separately fr...
zyz2011-vim
src/regexp.c
C
gpl2
186,756
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * Motif support by Robert Webb * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifdef FEAT_GUI_MOTIF # include <Xm/Xm.h> #endif #ifdef FEAT_GUI_ATHE...
zyz2011-vim
src/gui.h
C
gpl2
18,652
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * Common MS-DOS and Win32 (Windows NT and Windows 95) defines. * * Names for the EXRC, HELP and temp...
zyz2011-vim
src/os_dos.h
C
gpl2
2,857
#! /bin/sh # Start Vim on a copy of the tutor file. # Usage: vimtutor [-g] [xx] # Where optional argument -g starts vimtutor in gvim (GUI) instead of vim. # and xx is a language code like "es" or "nl". # When an argument is given, it tries loading that tutor. # When this fails or no argument was given, it tries using...
zyz2011-vim
src/vimtutor
Shell
gpl2
2,084
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Lua interface by Luis Carvalho * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ #inclu...
zyz2011-vim
src/if_lua.c
C
gpl2
50,336
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * * (C) 2002,2005 by Marcin Dalecki <martin@...
zyz2011-vim
src/gui_xmebw.c
C
gpl2
39,621
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * The stuff in this file mostly comes from t...
zyz2011-vim
src/pty.c
C
gpl2
9,265
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI/Motif support by Robert Webb * Macintosh port by Dany St-Amant * and Axel Kielhorn * Port to MPW by Bernhard Pruemmer * Initial Carbon port by Ammon Skidmore * * Do ":help uganda" in Vim to read copying and usage c...
zyz2011-vim
src/gui_mac.c
C
gpl2
172,220
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * Visual Workshop integration by Gordon Prieur * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #if !defined(GUI_BEVAL_H) && (defined(FEAT_BEVAL) || def...
zyz2011-vim
src/gui_beval.h
C
gpl2
2,219
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* Before Including the MacOS specific files, * lets set the OPAQUE_TOOLBOX_STRUCTS to 0 so we * can acc...
zyz2011-vim
src/os_mac.h
C
gpl2
7,556
/* vi:set ts=8 sts=8 sw=8: * * VIM - Vi IMproved by Bram Moolenaar * Visual Workshop integration by Gordon Prieur * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */...
zyz2011-vim
src/nbdebug.c
C
gpl2
3,955
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * if_perlsfio.c: Special I/O functions for Pe...
zyz2011-vim
src/if_perlsfio.c
C
gpl2
1,398
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ #include "vim.h" #ifdef AMIGA # include <time....
zyz2011-vim
src/version.c
C
gpl2
31,909
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * hardcopy.c: printing to paper */ #includ...
zyz2011-vim
src/hardcopy.c
C
gpl2
97,381
#! /bin/sh # installman.sh --- install or uninstall manpages for Vim # # arguments: # 1 what: "install", "uninstall" or "xxd" # 2 target directory e.g., "/usr/local/man/it/man1" # 3 language addition e.g., "" or "-it" # 4 vim location as used in manual pages e.g., "/usr/local/share/vim" # 5 runtime dir ...
zyz2011-vim
src/installman.sh
Shell
gpl2
3,329
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * Visual Workshop integration by Gordon Prieur * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #if !defined(WORKSHOP_H) && defined(FEAT_SUN_WORKSHOP) #...
zyz2011-vim
src/workshop.h
C
gpl2
575
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifndef VIM__H # define VIM__H /* use fastcall for Borland, when compiling for Win32 (not for DOS16) */ #...
zyz2011-vim
src/vim.h
C
gpl2
73,088
# Makefile for Vim on Unix and Unix-like systems vim:ts=8:sw=8:tw=78 # # This Makefile is loosely based on the GNU Makefile conventions found in # standards.info. # # Compiling Vim, summary: # # 3. make # 5. make install # # Compiling Vim, details: # # Edit this file for adjusting to your system. You should not need to...
zyz2011-vim
src/Makefile
Makefile
gpl2
122,159
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * ops.c: implementation of various operators...
zyz2011-vim
src/ops.c
C
gpl2
167,520
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * Python extensions by Paul Moore. * Changes...
zyz2011-vim
src/if_python.c
C
gpl2
41,442
/* * if_sniff.h Interface between Vim and SNiFF+ */ #ifndef __if_sniff_h__ #define __if_sniff_h__ extern int want_sniff_request; extern int sniff_request_waiting; extern int sniff_connected; extern int fd_from_sniff; extern void sniff_disconnect __ARGS((int immediately)); extern void ProcessSniffRequests __ARGS...
zyz2011-vim
src/if_sniff.h
C
gpl2
383
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"
zyz2011-vim
src/gvimtutor
Shell
gpl2
143
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * ex_getln.c: Functions for entering and edi...
zyz2011-vim
src/ex_getln.c
C
gpl2
159,077
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * Keycode definitions for special keys. * * Any special key code sequences are replaced by these cod...
zyz2011-vim
src/keymap.h
C
gpl2
16,092
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by Script1.rc // #define IDR_TOOLBAR1 101 //#define ID_TB_BLOB 40001 //#define ID_TB_CIRCLE 40002
zyz2011-vim
src/gui_w32_rc.h
C
gpl2
193
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * Visual Workshop integration by Gordon Prieur * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */...
zyz2011-vim
src/workshop.c
C
gpl2
41,456
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* Visual Studio 2005 has 'deprecated' many of t...
zyz2011-vim
src/vimio.h
C
gpl2
463
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * (C) 2001,2005 by Marcin Dalecki <martin@d...
zyz2011-vim
src/gui_xmdlg.c
C
gpl2
32,005
# A very (if not the most) simplistic Makefile for OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - del tee.o - del tee.exe
zyz2011-vim
src/tee/Makefile
Makefile
gpl2
215
/* vim:set ts=4 sw=4: * * Copyright (c) 1996, Paul Slootman * * Author: Paul Slootman * (paul@wurtel.hobby.nl, paul@murphy.nl, paulS@toecompst.nl) * * This source code is released into the public domain. It is provided on an * as-is basis and no responsibility is accepted for its failure to perform * as exp...
zyz2011-vim
src/tee/tee.c
C
gpl2
3,722
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * macros.h: macro definitions for often used code */ /* * pchar(lp, c) - put character 'c' at posit...
zyz2011-vim
src/macros.h
C
gpl2
9,819
/* * Header file for xpm_w32.c */ #ifndef XPM_W32__H int LoadXpmImage __ARGS((char *filename, HBITMAP *hImage, HBITMAP *hShape)); #endif
zyz2011-vim
src/xpm_w32.h
C
gpl2
140
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifdef GLOBAL_IME #ifndef _INC_GLOBAL_IME #define _INC_GLOBAL_IME #ifdef __cplusplus extern "C" { #endif...
zyz2011-vim
src/glbl_ime.h
C
gpl2
942
### USEDLL no for statically linked version of run-time, yes for DLL runtime ### BOR path to root of Borland C install (c:\bc5) ### (requires cc3250.dll be available in %PATH%) !if ("$(USEDLL)"=="") USEDLL = no !endif ### BOR: root of the BC installation !if ("$(BOR)"=="") BOR = c:\bc5 !endif CC = $(BOR)\bin\Bc...
zyz2011-vim
src/GvimExt/Make_bc5.mak
Makefile
gpl2
909
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved gvimext by Tianmiao Hu * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * If you have any questions or any suggestions concerning gvimext, please * contact Tianmiao Hu:...
zyz2011-vim
src/GvimExt/gvimext.h
C++
gpl2
4,550
# Project: gvimext # Generates gvimext.dll with gcc. # To be used with MingW. # # Originally, the DLL base address was fixed: -Wl,--image-base=0x1C000000 # Now it is allocated dymanically by the linker by evaluating all DLLs # already loaded in memory. The binary image contains as well information # for automatic pseud...
zyz2011-vim
src/GvimExt/Make_ming.mak
Makefile
gpl2
2,041
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by gvimext.rc // // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 101 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1000 #def...
zyz2011-vim
src/GvimExt/resource.h
C
gpl2
365
# Makefile for GvimExt, using MSVC # Options: # DEBUG=yes Build debug version (for VC7 and maybe later) # TARGETOS=BOTH APPVER=4.0 !if "$(DEBUG)" != "yes" NODEBUG = 1 !endif !include <win32.mak> all: gvimext.dll gvimext.dll: gvimext.obj \ gvimext.res # $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $**...
zyz2011-vim
src/GvimExt/Makefile
Makefile
gpl2
1,100
# Project: gvimext # Generates gvimext.dll with gcc. # To be used with Cygwin. # # Originally, the DLL base address was fixed: -Wl,--image-base=0x1C000000 # Now it is allocated dymanically by the linker by evaluating all DLLs # already loaded in memory. The binary image contains as well information # for automatic pseu...
zyz2011-vim
src/GvimExt/Make_cyg.mak
Makefile
gpl2
2,078
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved gvimext by Tianmiao Hu * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * gvimext is a DLL which is used for the "Edit with Vim" context menu * extension. It implement...
zyz2011-vim
src/GvimExt/gvimext.cpp
C++
gpl2
23,997
rundll32.exe setupapi,InstallHinfSection DefaultUninstall 128 %1
zyz2011-vim
src/GvimExt/uninst.bat
Batchfile
gpl2
65
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * dosinst.h: Common code for dosinst.c and un...
zyz2011-vim
src/dosinst.h
C
gpl2
15,602
# # Makefile for VIM on Win32, using Cygnus gcc # Last updated by Dan Sharp. Last Change: 2010 Nov 03 # # Also read INSTALLpc.txt! # # This compiles Vim as a Windows application. If you want Vim to run as a # Cygwin application use the Makefile (just like on Unix). # # GUI no or yes: set to yes if you want the GUI v...
zyz2011-vim
src/Make_cyg.mak
Makefile
gpl2
16,883
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifndef __GTK_FORM_H__ #define __GTK_FORM_H__ #include <gdk/gdk.h> #include <gtk/gtkcontainer.h> #ifde...
zyz2011-vim
src/gui_gtk_f.h
C
gpl2
1,741
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * uninstal.c: Minimalistic uninstall program...
zyz2011-vim
src/uninstal.c
C
gpl2
11,353
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * This file contains the defines for the machine dependent escape sequences * that the editor needs t...
zyz2011-vim
src/term.h
C
gpl2
7,080
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * memfile_test.c: Unittests for memfile.c *...
zyz2011-vim
src/memfile_test.c
C
gpl2
3,171
# Makefile for the Vim message translations for mingw32 # # Eduardo F. Amatria <eferna1@platea.pntic.mec.es> # # Read the README_ming.txt file before using it. # # Use at your own risk but with care, it could even kill your canary. # # Previous to all you must have the environment variable LANGUAGE set to your # langua...
zyz2011-vim
src/po/Make_ming.mak
Makefile
gpl2
2,076
" Vim script for checking .po files. " " Go through the file and verify that: " - All %...s items in "msgid" are identical to the ones in "msgstr". " - An error or warning code in "msgid" matches the one in "msgstr". if 1 " Only execute this if the eval feature is available. " Function to get a split line at the curs...
zyz2011-vim
src/po/check.vim
Vim Script
gpl2
2,314
/* * Simplistic program to correct SJIS inside strings. When a trail byte is a * backslash it needs to be doubled. * Public domain. */ #include <stdio.h> #include <string.h> int main(argc, argv) int argc; char **argv; { char buffer[BUFSIZ]; char *p; while (fgets(buffer, BUFSIZ, stdin) != NULL) { for (p ...
zyz2011-vim
src/po/sjiscorr.c
C
gpl2
932
" Vim script to cleanup a .po file: " - Remove line numbers (avoids that diffs are messy). " - Comment-out fuzzy and empty messages. " - Make sure there is a space before the string (required for Solaris). " Requires Vim 6.0 or later (because of multi-line search patterns). " Disable diff mode, because it makes this v...
zyz2011-vim
src/po/cleanup.vim
Vim Script
gpl2
586
# Makefile for the Vim message translations. # TODO make this configurable # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are # not installed on Unix LANGUAGES = \ af \ ca \ cs \ de \ en_GB \ eo \ es \ fi \ fr \ ga \ it \ ja \ ko \ ko.UTF-8 \ nb \ nl \ no \ ...
zyz2011-vim
src/po/Makefile
Makefile
gpl2
6,422
# Makefile for the Vim message translations for Cygwin # by Tony Mechelynck <antoine.mechelynck@skynet.be> # after Make_ming.mak by # Eduardo F. Amatria <eferna1@platea.pntic.mec.es> # # Read the README_ming.txt file before using it. # # Use at your own risk but with care, it could even kill your canary. # ifndef VIMR...
zyz2011-vim
src/po/Make_cyg.mak
Makefile
gpl2
2,760
# Makefile for the Vim message translations for MSVC # (based on make_ming.mak) # # Mike Williams <mrw@eandem.co.uk> # # Please read README_mvc.txt before using this file. # LANGUAGES = \ af \ ca \ cs \ de \ en_GB \ eo \ es \ fi \ fr \ ga \ it \ ja \ ko \ no \ pl \ pt_BR \ ru \ sk \...
zyz2011-vim
src/po/Make_mvc.mak
Makefile
gpl2
1,743
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * normal.c: Contains the main routine for pro...
zyz2011-vim
src/normal.c
C
gpl2
229,257
#! /bin/sh # installml.sh --- install or uninstall manpage links for Vim # # arguments: # 1 what: "install" or "uninstall" # 2 also do GUI pages: "yes" or "" # 3 target directory e.g., "/usr/local/man/it/man1" # 4 vim exe name e.g., "vim" # 5 vimdiff exe name e.g., "vimdiff" # 6 evim exe name ...
zyz2011-vim
src/installml.sh
Shell
gpl2
4,580
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * mark.c: functions for setting marks and ju...
zyz2011-vim
src/mark.c
C
gpl2
43,230
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * Define the version number, name, etc. * The patchlevel is in included_patches[], in version.c. * ...
zyz2011-vim
src/version.h
C
gpl2
1,403
# Python script to get both the data and resource fork from a BinHex encoded # file. # Author: Taro Muraoka # Last Change: 2003 Oct 25 import sys import binhex input = sys.argv[1] conv = binhex.HexBin(input) info = conv.FInfo out = conv.FName out_data = out out_rsrc = out + '.rsrcfork' #print 'out_rsrc=' + out_rsrc p...
zyz2011-vim
src/dehqx.py
Python
gpl2
817
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * Porting to GTK+ was done by: * * (C) 19...
zyz2011-vim
src/gui_gtk_x11.c
C
gpl2
162,064
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * ui.c: functions that handle the user inter...
zyz2011-vim
src/ui.c
C
gpl2
78,207
/* vi:set ts=8 sw=4 sts=4: * * VIM - Vi IMproved by Bram Moolenaar * Photon GUI support by Julian Kinraid * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * * * Clipboard support is in os_qnx.c * PhAttach() is called in ...
zyz2011-vim
src/gui_photon.c
C
gpl2
73,048
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * * (C) 2002,2005 by Marcin Dalecki <martin@...
zyz2011-vim
src/gui_xmebw.h
C
gpl2
1,736
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * screen.c: code for displaying on the scree...
zyz2011-vim
src/screen.c
C
gpl2
252,981
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * farsi.c: functions for Farsi language * ...
zyz2011-vim
src/farsi.c
C
gpl2
37,757
; Thomas Leonard ; 24/5/98 ar0 rn 0 ar1 rn 1 ar2 rn 2 ar3 rn 3 ar4 rn 4 ar5 rn 5 ar6 rn 6 ar7 rn 7 ar10 rn 10 ar11 rn 11 lk rn 14 ar15 rn 15 AREA DATA align 4 export |r0| r0: dcd 0 export |r1| r1: dcd 0 export |r2| r2: dcd 0 export |r3| r3: dcd 0 export |r4| r4: dcd 0 export |r5| r5: dcd 0 export |r6|...
zyz2011-vim
src/swis.s
Unix Assembly
gpl2
2,189
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * (C) 1998,1999 by Marcin Dalecki <martin@d...
zyz2011-vim
src/gui_gtk_f.c
C
gpl2
21,057
# # Makefile for VIM on the Amiga, using Aztec/Manx C 5.0 or later # # Note: Not all dependencies are included. This was done to avoid having # to compile everything when a global variable or function is added. # Careful when changing a global struct or variable! # #>>>>> choose options: ### See feature.h for a list ...
zyz2011-vim
src/Make_manx.mak
Makefile
gpl2
6,512
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. * * FIPS-180-2 compliant SHA-256 implementation * ...
zyz2011-vim
src/sha256.c
C
gpl2
12,518
# # Makefile for VIM, using DICE 3 # #>>>>> choose options: ### See feature.h for a list of optionals. ### Any other defines can be included here. DEFINES = -DHAVE_TGETENT -DUP_BC_PC_EXTERN -DOSPEED_EXTERN #>>>>> if HAVE_TGETENT is defined o/termlib.o has to be used TERMLIB = o/termlib.o #TERMLIB = #>>>>> end of cho...
zyz2011-vim
src/Make_dice.mak
Makefile
gpl2
3,821
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * BeBox port by Olaf Seibert * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * os_beos.h */ #undef USE_SYSTEM #define USE_THREAD_FOR_INPUT_WITH_T...
zyz2011-vim
src/os_beos.h
C
gpl2
508
// Stdafx.cpp : source file that includes just the standard includes // VisEmacs.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" #include "atlimpl.cpp"
zyz2011-vim
src/VisVim/StdAfx.cpp
C++
gpl2
222
// VisVim.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include <initguid.h> #include "VisVim.h" #include "DSAddIn.h" #include "Commands.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CComModule _Module; BEGIN_OBJECT_MAP (ObjectMa...
zyz2011-vim
src/VisVim/VisVim.cpp
C++
gpl2
3,132
#include "stdafx.h" // Returns key for HKEY_CURRENT_USER\"Software"\Company\AppName // creating it if it doesn't exist // responsibility of the caller to call RegCloseKey() on the returned HKEY // HKEY GetAppKey (char* AppName) { HKEY hAppKey = NULL; HKEY hSoftKey = NULL; if (RegOpenKeyEx (HKEY_CURRENT_USER, "Softw...
zyz2011-vim
src/VisVim/Reg.cpp
C++
gpl2
1,493
#ifndef __OLEAUT_H__ #define __OLEAUT_H__ class COleAutomationControl : public CObject { public: COleAutomationControl (); ~COleAutomationControl (); bool CreateObject (char* ProgId); DISPID GetDispatchId (char* Name); bool GetProperty (char* Name); bool GetProperty (DISPID DispatchId); bool PutProperty (ch...
zyz2011-vim
src/VisVim/OleAut.h
C++
gpl2
1,979
regsvr32.exe visvim.dll
zyz2011-vim
src/VisVim/Register.bat
Batchfile
gpl2
24
#include "stdafx.h" #include <comdef.h> // For _bstr_t #include "VisVim.h" #include "Commands.h" #include "OleAut.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // Change directory before opening file? #define CD_SOURCE 0 // Cd to source path #define CD_SOURCE_PA...
zyz2011-vim
src/VisVim/Commands.cpp
C++
gpl2
17,594
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by VisVim.rc // #define IDS_VISVIM_LONGNAME 1 #define IDS_VISVIM_DESCRIPTION 2 #define IDS_CMD_DIALOG 3 #define IDS_CMD_ENABLE 4 #define IDS_CMD_DISABLE 5 #define IDS_CMD_TOGGLE 6 #define IDS_CMD_LOAD 7 #define IDR_TOOLBAR_M...
zyz2011-vim
src/VisVim/Resource.h
C
gpl2
812
regsvr32.exe -unregister visvim.dll
zyz2011-vim
src/VisVim/UnRegist.bat
Batchfile
gpl2
36
// DSAddIn.h : header file // #if !defined(AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED_) #define AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED_ #include "commands.h" // {4F9E01C0-406B-11d2-8006-00001C405077} DEFINE_GUID (CLSID_DSAddIn, 0x4f9e01c0, 0x406b, 0x11d2, 0x80, 0x6, 0x0, 0x...
zyz2011-vim
src/VisVim/DSAddIn.h
C++
gpl2
1,379
// VisVIM.h : main header file for the VisVim DLL // #if !defined(AFX_VISVIM_H__AC72670B_2977_11D1_B2F3_006008040780__INCLUDED_) #define AFX_VISVIM_H__AC72670B_2977_11D1_B2F3_006008040780__INCLUDED_ #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // Mai...
zyz2011-vim
src/VisVim/VisVim.h
C
gpl2
1,009
// // Class for creating OLE automation controllers. // // CreateObject() creates an automation object // Invoke() will call a property or method of the automation object. // GetProperty() returns a property // SetProperty() changes a property // Method() invokes a method // // For example, the following VB code will c...
zyz2011-vim
src/VisVim/OleAut.cpp
C++
gpl2
20,547
// Stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__AC72670E_2977_11D1_B2F3_006008040780__INCLUDED_) #define AFX_STDAFX_H__AC72670E_2977_11D1_B2F3_006008040780__INCLUDED_ #defin...
zyz2011-vim
src/VisVim/StdAfx.h
C
gpl2
2,346
#include "stdafx.h" #include "VisVim.h" #include "DSAddIn.h" #include "Commands.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // This is called when the user first loads the add-in, and on start-up // of each subsequent Developer Studio session STDMETHODIMP CDSAd...
zyz2011-vim
src/VisVim/DSAddIn.cpp
C++
gpl2
4,471
// Commands.h : header file // #if !defined(AFX_COMMANDS_H__AC726717_2977_11D1_B2F3_006008040780__INCLUDED_) #define AFX_COMMANDS_H__AC726717_2977_11D1_B2F3_006008040780__INCLUDED_ #include "vsvtypes.h" class CCommands : public CComDualImpl < ICommands, &IID_ICommands, &LIBID_VisVim >, public CComObj...
zyz2011-vim
src/VisVim/Commands.h
C++
gpl2
3,584
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * ex_cmds.c: some functions for command line...
zyz2011-vim
src/ex_cmds.c
C
gpl2
185,622
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * os_macosx.m -- Mac specific things for Ma...
zyz2011-vim
src/os_macosx.m
Objective-C
gpl2
5,173
# # Borland C++ 5.0[12] makefile for vim, 16-bit windows gui version # By Vince Negri # ************************************************************* # * WARNING! # * This was originally produced by the IDE, but has since been # * modifed to make it work properly. Adjust with care! # * In particular, leave LinkerLocalO...
zyz2011-vim
src/Make_w16.mak
Makefile
gpl2
5,560
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * NextStep has a problem with configure, undefine a few things: */ #ifdef NeXT # ifdef HAVE_UTIME # ...
zyz2011-vim
src/os_unix.h
C
gpl2
12,800