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 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. */ /* * Windows G...
zyz2011-vim
src/gui_w32.c
C
gpl2
122,972
/* 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. */ /* * Co...
zyz2011-vim
src/menu.c
C
gpl2
58,718
/* 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. */ /* * undo.c: multi level undo facility * * Th...
zyz2011-vim
src/undo.c
C
gpl2
84,608
/* 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. */ /* * Ic...
zyz2011-vim
src/gui_x11_pm.h
C
gpl2
2,400
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI 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. */ /* * gui_w48.c...
zyz2011-vim
src/gui_w48.c
C
gpl2
90,615
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI 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. */ /* * Windows G...
zyz2011-vim
src/os_w32exe.c
C
gpl2
2,760
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * OS/2 port by Paul Slootman * VMS merge by Zoltan Arpadffy * * 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 ...
zyz2011-vim
src/os_unix.c
C
gpl2
169,708
/* os_os2_cfg.h */ /* vi:set ts=8 sts=4 sw=4: */ #define CASE_INSENSITIVE_FILENAME /* ignore case when comparing file names */ #define SPACE_IN_FILENAME #define BACKSLASH_IN_FILENAME #define BINARY_FILE_IO #define USE_CRNL /* lines end in CR-NL instead of NL */ #define NO_EXPANDPATH /* always call mch_expand_wildc...
zyz2011-vim
src/os_os2_cfg.h
C
gpl2
6,651
/* 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. */ /* * Code to handle user-settable options. This...
zyz2011-vim
src/option.c
C
gpl2
299,448
/* vi:set ts=8 sts=4 sw=4: * * CSCOPE support for Vim added by Andy Kahn <kahn@zk3.dec.com> * Ported to Win32 by Sergey Khorev <sergey.khorev@gmail.com> * * The basic idea/structure of cscope for Vim was borrowed from Nvi. There * might be a few lines of code that look similar to what Nvi has. * * See README.t...
zyz2011-vim
src/if_cscope.c
C
gpl2
60,013
/* 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. */ /* * Win16 (Windows 3.1x) machine-dependent things. */ #include "os_dos.h" /* common MS-DOS and Window...
zyz2011-vim
src/os_win16.h
C
gpl2
3,444
# # Makefile for Vim on MiNT vim:ts=8:sw=8:tw=78 # # This is a wrapper around the Unix Makefile. It is configured to accompany # the MiNT distribution of Vim. # # See "Makefile" for instructions how to run "make". # # BUT: Always run: "make -f Make_mint.mak config", # and then: "make -f Make_mint.mak"! # Other...
zyz2011-vim
src/Make_mint.mak
Makefile
gpl2
1,701
/* 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. */ /* * arabic.c: functions for Arabic language...
zyz2011-vim
src/arabic.c
C
gpl2
20,969
/* 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, David Leon...
zyz2011-vim
src/if_py_both.h
C
gpl2
33,219
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * X command server by Flemming Madsen * * 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_xcmds...
zyz2011-vim
src/if_xcmdsrv.c
C
gpl2
38,297
/* 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. */ /* * quickfix.c: functions for quickfix mode, u...
zyz2011-vim
src/quickfix.c
C
gpl2
104,190
# Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me) # and Win64, using the Microsoft Visual C++ compilers. Known to work with # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005), # VC9 (VS2008), and VC10 (VS2010). # # To build using other Windows compilers, see INSTALLpc.txt # # This ...
zyz2011-vim
src/Make_mvc.mak
Makefile
gpl2
33,548
/* 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. */ /* * search.c: code for normal mode searching co...
zyz2011-vim
src/search.c
C
gpl2
131,423
/* 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 various definitions of structures that are used by Vim */ /* * There is someth...
zyz2011-vim
src/structs.h
C
gpl2
80,462
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * Multibyte extensions partly by Sung-Hoon Baek * * 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/mbyte.c
C
gpl2
151,516
/* 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. */ /* * definition of global variables */ /* * Number of Rows and Columns in the screen. * Must be long ...
zyz2011-vim
src/globals.h
C
gpl2
59,503
/* 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. */ /* * * term.c: functions for controlling the te...
zyz2011-vim
src/term.c
C
gpl2
151,574
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI 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. */ /* * Windows G...
zyz2011-vim
src/os_w32dll.c
C
gpl2
623
/* os_vms_conf.h. Replaces auto/config.h for VMS */ #define CASE_INSENSITIVE_FILENAME /* Open VMS is case insensitive */ #define SPACE_IN_FILENAME /* There could be space between user and passwd */ #define FNAME_ILLEGAL "|*#?%" /* Illegal characters in a file name */ #define BINARY_FILE_IO /* Use bin...
zyz2011-vim
src/os_vms_conf.h
C
gpl2
4,606
Tests for string and html text objects. vim: set ft=vim : Note that the end-of-line moves the cursor to the next test line. Also test match() and matchstr() STARTTEST :so small.vim /^start:/ da" 0va'a'rx 02f`da` 0fXdi" 03f'vi'ry :set quoteescape=+*- di` $F"va"oha"i"rz :" /^<begin jfXdit 0fXdit fXdat 0fXdat :" :put =...
zyz2011-vim
src/testdir/test53.in
Vim Script
gpl2
952
# # Makefile to run all tests for Vim, on Dos-like machines # with sh.exe or zsh.exe in the path or not. # # Author: Bill McCarthy # # Note that test54 has been removed until it is fixed. # # Requires a set of Unix tools: echo, diff, etc. ifneq (sh.exe, $(SHELL)) DEL = rm -f MV = mv CP = cp DIRSLASH = / else DEL = del...
zyz2011-vim
src/testdir/Make_ming.mak
Makefile
gpl2
2,537
" Settings for test script execution " Always use "CMD.EXE", don't use the value of "$SHELL". set shell=CMD.EXE shellquote= shellxquote= shellcmdflag=/c shellredir=>
zyz2011-vim
src/testdir/os2.vim
Vim Script
gpl2
166
Tests for completefunc/omnifunc. vim: set ft=vim : STARTTEST :"Test that nothing happens if the 'completefunc' opens :"a new window (no completion, no crash) :so small.vim :function! DummyCompleteOne(findstart, base) : if a:findstart : return 0 : else : wincmd n : return ['onedef', 'oneDEF'] : endif :endfu...
zyz2011-vim
src/testdir/test76.in
Vim Script
gpl2
899
# # Makefile to run all tests for Vim on VMS # # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> # # Last change: 2012 Apr 05 # # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. # Edit the lines in the Configuration section below to select. # # Exec...
zyz2011-vim
src/testdir/Make_vms.mms
Module Management System
gpl2
7,278
# # Makefile to run all tests for Vim, on Amiga # # Requires "rm", "csh" and "diff"! VIMPROG = /vim # These tests don't work (yet): # test2 "\\tmp" doesn't work # test10 'errorformat' is different # test11 "cat" doesn't work properly # test12 can't unlink a swap file # test25 uses symbolic link # test27 can't edit f...
zyz2011-vim
src/testdir/Make_amiga.mak
Makefile
gpl2
3,454
" Settings for test script execution set shell=csh map! /tmp t: cmap !rm !Delete all
zyz2011-vim
src/testdir/amiga.vim
Vim Script
gpl2
85
# # Makefile to run all tests for Vim # VIMPROG = ../vim # Uncomment this line to use valgrind for memory leaks and extra warnings. # The output goes into a file "valgrind.testN" # Vim should be compiled with EXITFREE to avoid false warnings. # This will make testing about 10 times as slow. # VALGRIND = valgrin...
zyz2011-vim
src/testdir/Makefile
Makefile
gpl2
2,721
Tests for List and Dictionary types. vim: set ft=vim : STARTTEST :so small.vim :fun Test(...) :" Creating List directly with different types :let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},] :$put =string(l) :$put =string(l[-1]) :$put =string(l[-4]) :try : $put =string(l[-5]) :catch : $put =v:exceptio...
zyz2011-vim
src/testdir/test55.in
Vim Script
gpl2
7,875
Test for script-local function. vim: set ft=vim : STARTTEST :so small.vim :" :set nocp viminfo+=nviminfo :/^start:/+1,/^end:/-1w! Xtest.vim :source Xtest.vim _x :$-1,$wq! test.out ENDTEST start: fun <SID>DoLast() call append(line('$'), "last line") endfun fun s:DoNothing() call append(line('$'), "nothing line...
zyz2011-vim
src/testdir/test56.in
Vim Script
gpl2
457
" Vim script language tests " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> " Last Change: 2010 Sep 29 "------------------------------------------------------------------------------- " Test environment {{{1 "------------------------------------------------------------------------------- ...
zyz2011-vim
src/testdir/test49.vim
Vim Script
gpl2
224,143
# # Makefile to run all tests for Vim, on Dos-like machines. # # Requires a set of Unix tools: echo, diff, etc. VIMPROG = ..\\vim # Omitted: # test2 "\\tmp" doesn't work. # test10 'errorformat' is different # test12 can't unlink a swap file # test25 uses symbolic link # test27 can't edit file with "*" in file name #...
zyz2011-vim
src/testdir/Make_dos.mak
Makefile
gpl2
2,240
Tests for ":highlight". vim: set ft=vim : STARTTEST :so small.vim :" basic test if ":highlight" doesn't crash :highlight :hi Search :" test setting colors. :" test clearing one color and all doesn't generate error or warning :hi NewGroup term=bold cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#00ff00 guibg=Cya...
zyz2011-vim
src/testdir/test51.in
Vim Script
gpl2
808
Tests for multi-line regexps with ":s". vim: set ft=vim : STARTTEST :" test if replacing a line break works with a back reference :/^1/,/^2/s/\n\(.\)/ \1/ :" test if inserting a line break works with a back reference :/^3/,/^4/s/\(.\)$/\r\1/ :" test if replacing a line break with another line break works :/^5/,/^6/s/\...
zyz2011-vim
src/testdir/test46.in
Vim Script
gpl2
431
" Vim script for exists() function test " Script-local variables are checked here " Existing script-local variable let s:script_var = 1 echo 's:script_var: 1' if exists('s:script_var') echo "OK" else echo "FAILED" endif " Non-existing script-local variable unlet s:script_var echo 's:script_var: 0' if !exists(...
zyz2011-vim
src/testdir/test60.vim
Vim Script
gpl2
1,757
" Settings for test script execution " Always use "COMMAND.COM", don't use the value of "$SHELL". set shell=c:\COMMAND.COM shellquote= shellxquote= shellcmdflag=/c shellredir=> " This is used only when the +eval feature is available. if executable("cmd.exe") set shell=cmd.exe endif
zyz2011-vim
src/testdir/dos.vim
Vim Script
gpl2
286
" Tests for storing global variables in the .viminfo file vim: set ft=vim: STARTTEST :so small.vim :" Do all test in a separate window to avoid E211 when we recursively :" delete the Xfind directory during cleanup :" :" This will cause a few errors, do it silently. :set visualbell :set nocp viminfo+=!,nviminfo :let MY...
zyz2011-vim
src/testdir/test74.in
Vim Script
gpl2
822
" Settings for test script execution under OpenVMS " Do not make any swap files set noswapfile
zyz2011-vim
src/testdir/vms.vim
Vim Script
gpl2
96
" Settings for test script execution " Always use "sh", don't use the value of "$SHELL". set shell=sh
zyz2011-vim
src/testdir/unix.vim
Vim Script
gpl2
102
Tests for :sort command. vim: set ft=vim : STARTTEST :so small.vim :" :/^t01:/+1,/^t02/-1sort :/^t02:/+1,/^t03/-1sort n :/^t03:/+1,/^t04/-1sort x :/^t04:/+1,/^t05/-1sort u :/^t05:/+1,/^t06/-1sort! :/^t06:/+1,/^t07/-1sort! n :/^t07:/+1,/^t08/-1sort! u :/^t08:/+1,/^t09/-1sort o :/^t09:/+1,/^t10/-1so...
zyz2011-vim
src/testdir/test57.in
Vim Script
gpl2
3,666
:" Script to make sure a file is in "dos" file format. :set ff=dos :wq
zyz2011-vim
src/testdir/todos.vim
Vim Script
gpl2
71
# # Makefile to run all tests for Vim, on OS/2 # # Requires a set of Unix tools: echo, diff, etc. VIMPROG = ../vim.exe # Omitted: # test2 "\\tmp" doesn't work. # test10 'errorformat' is different # test11 requires sed # test12 can't unlink a swap file # test25 uses symbolic link # test27 can't edit file with "*" in ...
zyz2011-vim
src/testdir/Make_os2.mak
Makefile
gpl2
1,812
Tests for folding. vim: set ft=vim : STARTTEST :so small.vim :" We also need the +syntax feature here. :if !has("syntax") e! test.ok w! test.out qa! :endif :" basic test if a fold can be created, opened, moving to the end and closed /^1 zf2j:call append("$", "manual " . getline(foldclosed("."))) zo:call appen...
zyz2011-vim
src/testdir/test45.in
Vim Script
gpl2
1,824
Tests for the exists() function. vim: set ft=vim : STARTTEST :so small.vim :function! RunTest(str, result) if exists(a:str) == a:result echo "OK" else echo "FAILED: Checking for " . a:str endif endfunction :function! TestExists() augroup myagroup autocmd! BufEnter *.my echo 'myfile edited' augr...
zyz2011-vim
src/testdir/test60.in
Vim Script
gpl2
12,483
/* 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 defines the Ex commands. * When DO_DECLARE_EXCMD is defined, the table with ex command na...
zyz2011-vim
src/ex_cmds.h
C
gpl2
44,166
/* 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_amiga.c * * Amiga system-dependent ro...
zyz2011-vim
src/os_amiga.c
C
gpl2
36,302
#!/bin/sh # toolcheck -- check for tools that have severe bugs. Good that all the buggy # tools identify by version numbers. This is the spirit of GNU :-) # # 24.7.95 jw. retval=0 reply="`sh -version -c exit 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; echo " CAUTION: This she...
zyz2011-vim
src/toolcheck
Shell
gpl2
855
/* 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_xmebwp.h
C
gpl2
2,053
/* 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_docmd.c: functions for executing an Ex ...
zyz2011-vim
src/ex_docmd.c
C
gpl2
262,782
/* 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. */ /* * getchar.c * * functions related with get...
zyz2011-vim
src/getchar.c
C
gpl2
125,936
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et:
zyz2011-vim
src/pathdef.sh
Shell
gpl2
251
/* vi:set ts=8 sts=4 sw=4: * * CSCOPE support for Vim added by Andy Kahn <kahn@zk3.dec.com> * Ported to Win32 by Sergey Khorev <sergey.khorev@gmail.com> * * The basic idea/structure of cscope for Vim was borrowed from Nvi. * There might be a few lines of code that look similar to what Nvi * has. If this is a pr...
zyz2011-vim
src/if_cscope.h
C
gpl2
2,393
/* 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/gui_beval.c
C
gpl2
33,898
# Makefile for Borland C++ 3.1 or 4.0 to compile a 16 bit version of Vim. # # There are compilation options at the end of this file. # # Command line variables: # BOR path to root of Borland C (E:\BORLANDC) # DEBUG set to "yes" for debugging (no) # SPAWNO path to the spawno library directory, empty if you do not have...
zyz2011-vim
src/Make_bc3.mak
Makefile
gpl2
2,980
/* 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. */ /* * misc2.c: Various functions. */ #include "...
zyz2011-vim
src/misc2.c
C
gpl2
155,405
/* 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. */ /* * spell.c: code for spell checking * * The...
zyz2011-vim
src/spell.c
C
gpl2
423,040
/* 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. */ /* * Farsi characters are categorized into following types: * * TyA (for capital letter representation)...
zyz2011-vim
src/farsi.h
C
gpl2
5,850
/* 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_msdos.c * * MSDOS system-dependent ro...
zyz2011-vim
src/os_msdos.c
C
gpl2
76,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. * See README.txt for an overview of the Vim source code. */ /* * fileio.c: read from and write to a file *...
zyz2011-vim
src/fileio.c
C
gpl2
263,065
/* 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_win32.c * * Used for both the console ...
zyz2011-vim
src/os_win32.c
C
gpl2
144,236
/* vi:set ts=8 sts=4 sw=4: * * MzScheme interface by Sergey Khorev <sergey.khorev@gmail.com> * Original work by Brent Fulgham <bfulgham@debian.org> * (Based on lots of help from Matthew Flatt) * * TODO Convert byte-strings to char strings? * * This consists of six parts: * 1. MzScheme interpreter main program ...
zyz2011-vim
src/if_mzsch.c
C
gpl2
92,966
#! /bin/sh # # osdef.sh -- copy osdef.h.in to osdef.h while removing declarations # found in the system header files. Caution: weird sed magic going on here. # Warnings are printed if sed did not survive. # # (C) Michael Schroeder, Juergen Weigert # # osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ...
zyz2011-vim
src/osdef.sh
Shell
gpl2
3,081
#define IDR_VIM 150 #define IDR_VIM_ERROR 151 #define IDR_VIM_ALERT 152 #define IDR_VIM_INFO 153 #define IDR_VIM_QUESTION 154 #define IDR_ICOBUDDYBASE 200 #define IDR_ICOBUDDY_DEF1 (IDR_ICOBUDDYBASE + 3) #define IDR_ICOBUDDY_DEF2 (IDR_ICOBUDDYBASE + 0) #define IDR_ICOBUDDY_DEF3 (IDR_ICOBUDDYBASE + 1) #defin...
zyz2011-vim
src/guiw16rc.h
C
gpl2
469
# # Makefile for VIM on OS/2 using EMX vim:ts=8:sw=8:tw=78 # # Created by: Paul Slootman # ### This Makefile has been successfully tested on these systems. ### Check the (*) column for remarks, listed below. ### Later code changes may cause small problems, otherwise Vim is supposed to ### compile and run without probl...
zyz2011-vim
src/Make_os2.mak
Makefile
gpl2
3,609
/* vi:set ts=8 sts=4 sw=4: * * if_sniff.c Interface between Vim and SNiFF+ * * See README.txt for an overview of the Vim source code. */ #include "vim.h" #ifdef WIN32 # include <stdio.h> # include <process.h> # include <string.h> # include <assert.h> #else # ifdef FEAT_GUI_X11 # include "gui_x11.pro" # endif # ...
zyz2011-vim
src/if_sniff.c
C
gpl2
28,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. */ /* * buffer.c: functions for dealing with the b...
zyz2011-vim
src/buffer.c
C
gpl2
138,721
/* 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. */ /* * popupmnu.c: Popup menu (PUM) */ #include ...
zyz2011-vim
src/popupmnu.c
C
gpl2
17,551
/* 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. */ #ifndef NBDEBUG_H #define NBDEBUG_H #ifdef NBDEBUG #i...
zyz2011-vim
src/nbdebug.h
C
gpl2
1,477
/* 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.c: Contains the functions for hand...
zyz2011-vim
src/memfile.c
C
gpl2
39,516
/* 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. */ /* * proto.h: include the (automatically generated) function prototypes */ /* * Don't include these wh...
zyz2011-vim
src/proto.h
C
gpl2
6,853
/* 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_cmds2.c: some more functions for comman...
zyz2011-vim
src/ex_cmds2.c
C
gpl2
100,323
/* 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. */ /* * MSDOS Machine-dependent things. */ #include "os_dos.h" /* common MS-DOS and Win32 stuff */ #defi...
zyz2011-vim
src/os_msdos.h
C
gpl2
2,539
/* 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. */ /* * Arabic characters are categorized into following types: * * Isolated - iso-8859-6 form char d...
zyz2011-vim
src/arabic.h
C
gpl2
6,737
/* 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. */ /* * os_unixx.h -- include files that are only used in os_unix.c */ /* * Stuff for signals */ #if def...
zyz2011-vim
src/os_unixx.h
C
gpl2
2,863
/* vi:set ts=8 sts=4 sw=4: */ /* * Copyright 1989 Software Research Associates, Inc., Tokyo, Japan * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies and that b...
zyz2011-vim
src/gui_at_fs.c
C
gpl2
62,315
/* 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. */ /* * Win32 (Windows NT and Windows 95) machine-dependent things. */ #include "os_dos.h" /* common MS-D...
zyz2011-vim
src/os_win32.h
C
gpl2
5,705
/* 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_mswin.c * * Routines common to both W...
zyz2011-vim
src/os_mswin.c
C
gpl2
82,142
/* 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. */ /* * edit.c: functions for Insert mode */ #in...
zyz2011-vim
src/edit.c
C
gpl2
252,815
:: command to build big Vim with OLE, Perl, Python, Ruby and Tcl nmake -f Make_mvc.mak GUI=yes OLE=yes PERL=E:\perl512 DYNAMIC_PERL=yes PERL_VER=512 PYTHON=e:\python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PYTHON3=e:\python31 DYNAMIC_PYTHON3=yes PYTHON3_VER=31 RUBY=e:\ruby191 DYNAMIC_RUBY=yes RUBY_VER=191 RUBY_VER_LONG=1.9....
zyz2011-vim
src/bigvim.bat
Batchfile
gpl2
383
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Ruby interface by Shugo Maeda * with improvements by SegPhault (Ryan Paul) * with improvements by Jon Maken * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who cont...
zyz2011-vim
src/if_ruby.c
C
gpl2
35,016
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * GUI 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. */ /* * gui_w16.c...
zyz2011-vim
src/gui_w16.c
C
gpl2
38,587
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 3.01.75 */ /* at Wed Jun 06 18:20:37 2001 */ /* Compiler settings for .\if_ole.idl: Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext error checks: none */ //@@MIDL_FILE_HEADING( ) #include "...
zyz2011-vim
src/if_ole.h
C++
gpl2
7,487
/* 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_win16.c * * Win16 (Windows 3.1x) syste...
zyz2011-vim
src/os_win16.c
C
gpl2
8,058
# # Makefile for VIM on MSDOS, using DJGPP 2.0 # #>>>>> choose options: ### See feature.h for a list of optionals. ### Any other defines can be included here. DEFINES = #>>>>> name of the compiler and linker, name of lib directory CC = gcc #>>>>> end of choices #####################################################...
zyz2011-vim
src/Make_djg.mak
Makefile
gpl2
2,156
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * Win16 Toolbar by Vince Negri - External Header * (Based on MS Sample Code) * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ // // Button Structure /...
zyz2011-vim
src/vimtbar.h
C
gpl2
5,153
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done
zyz2011-vim
src/which.sh
Shell
gpl2
254
/* 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/wsdebug.c
C
gpl2
4,506
/* vim: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. */ /* * diff.c: code for diff'ing two, three or f...
zyz2011-vim
src/diff.c
C
gpl2
65,038
/* vi:set ts=8 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. */ /* * Tcl extensions by Ingo Wilken <Ingo.Wilken@infor...
zyz2011-vim
src/if_tcl.c
C
gpl2
49,479
rem To be used on MS-Windows when using the Visual C++ Toolkit 2003 rem See INSTALLpc.txt for information. set PATH=%SystemRoot%\Microsoft.NET\Framework\v1.1.4322;%PATH% call "%VCToolkitInstallDir%vcvars32.bat" set MSVCVer=7.1 rem The platform SDK can be installed elsewhere, adjust the path. call "%ProgramFiles%\Micr...
zyz2011-vim
src/msvcsetup.bat
Batchfile
gpl2
471
# List of distributed Vim files. # Used by Makefile and upload.aap. # source files for all source archives SRC_ALL = \ src/README.txt \ src/arabic.c \ src/arabic.h \ src/ascii.h \ src/blowfish.c \ src/buffer.c \ src/charset.c \ src/diff.c \ src/digraph.c \ src/edit.c \ src/eval.c \ src/ex_cmds....
zyz2011-vim
Filelist
Makefile
gpl2
16,118
" An example for a vimrc file. " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2011 Apr 15 " " To use it, copy it to " for Unix and OS/2: ~/.vimrc " for Amiga: s:.vimrc " for MS-DOS and Win32: $VIM\_vimrc " for OpenVMS: sys$login:.vimrc " When started as "evim", evim.vim will already ha...
zyz2011-vim
runtime/vimrc_example.vim
Vim Script
gpl2
2,945
" Vim support file to switch off loading plugins for file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2011 Oct 20 if exists("did_load_ftplugin") unlet did_load_ftplugin endif " Remove all autocommands in the filetypeplugin group, if any exist. if exists("#filetypeplugin") silent! au! filety...
zyz2011-vim
runtime/ftplugof.vim
Vim Script
gpl2
337
" Vim support file to switch on loading indent files for file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2008 Feb 22 if exists("did_indent_on") finish endif let did_indent_on = 1 augroup filetypeindent au FileType * call s:LoadIndent() func! s:LoadIndent() if exists("b:undo_indent") ...
zyz2011-vim
runtime/indent.vim
Vim Script
gpl2
767
" Vim support file to detect file types in scripts " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2010 Sep 22 " This file is called by an autocommand for every file that has just been " loaded into a buffer. It checks if the type of file can be recognized by " the file contents. The autocommand is in $...
zyz2011-vim
runtime/scripts.vim
Vim Script
gpl2
9,880
" Set options and add mapping such that Vim behaves a lot like MS-Windows " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2006 Apr 02 " bail out if this isn't wanted (mrsvim.vim uses this). if exists("g:skip_loading_mswin") && g:skip_loading_mswin finish endif " set the 'cpoptions' to its Vim default i...
zyz2011-vim
runtime/mswin.vim
Vim Script
gpl2
2,587