Dmitry Yu Okunev лет назад: 7
Сommit
1c077636f3

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+.svn

+ 358 - 0
autoload/ctags.vim

@@ -0,0 +1,358 @@
+" ctags.vim: Display function name in the title bar and/or status line.
+" Author:	Alexey Marinichev <lyosha-vim@lyosha.no-ip.org>
+" Maintainer:	Gary Johnson <garyjohn@spk.agilent.com>
+" Contributor:	Keith Reynolds
+" Last Change:	2003-11-26 00:23:22
+" Version:	2.1
+" URL(1.0):    	http://vim.sourceforge.net/scripts/script.php?script_id=12
+" URL(>=2.0):	http://vim.sourceforge.net/scripts/script.php?script_id=610
+
+" DETAILED DESCRIPTION:
+" This script uses exuberant ctags to build the list of tags for the current
+" file.  CursorHold event is then used to update titlestring and/or statusline.
+" 
+" Upon sourcing an autocommand is created with event type CursorHold.  It
+" updates the title string or a buffer-local variable using the function
+" GetTagName.  Another autocommand of type BufEnter is created to generate
+" tags for *.c, *.cpp, *.h, *.py and *.vim files.
+" 
+" Function GenerateTags builds an array of tag names.
+" 
+" Function GetTagName takes line number argument and returns the tag name.
+"
+" Function SetTagDisplay sets the values of 'statusline' and
+" 'titlestring'.
+"
+" Function TagName returns the cached tag name.
+"
+" INSTALL DETAILS:
+" This script requires exuberant ctags to be installed on your system.  If
+" it is not already installed, you can obtain the source from
+" http://ctags.sourceforge.net/.
+"
+" Before sourcing the script do:
+"    let g:ctags_path='/path/to/ctags'
+"    let g:ctags_args='-I __declspec+'
+"        (or whatever other additional arguments you want to pass to ctags)
+"    let g:ctags_title=1	" To show tag name in title bar.
+"    let g:ctags_statusline=1	" To show tag name in status line.
+"    let generate_tags=1	" To start automatically when a supported
+"				" file is opened.
+"
+" The configuration variables (g:ctags_*) may also be changed after the
+" plugin is loaded.  Setting g:ctags_title or g:ctags_statusline to 0
+" after the plugin is loaded will stop the updating of 'titlestring' or
+" 'statusline' but will not clear those options as doing so could
+" interfere with a user's setting of those options, for example in a
+" filetype plugin.  To restore the default appearance of either of those
+" options, simply execute ":set titlestring=" or ":set statusline=" as
+" desired.
+" 
+" :CTAGS command starts the script.
+
+" Exit quickly when already loaded.
+"
+if exists("loaded_ctags")
+    finish
+endif
+let loaded_ctags = 1
+
+" Allow the use of line-continuation, even if user has 'compatible' set.
+"
+let s:save_cpo = &cpo
+set cpo&vim
+
+" s:ruler contains a copy of the 'ruler' setting so that 'statusline' can
+" be updated when the user changes 'ruler'.  It is set to an invalid value
+" initially so that 'statusline' will be set the first time 'ruler' is
+" checked.
+"
+let s:ruler = ''
+
+" The last tag name displayed in the 'titlestring'.
+"
+let s:title_tag_name = ''
+
+" Set default values for all configuration variables not already
+" specified by the user.
+
+if !exists("ctags_path")
+    " Version 1.0 and 2.0 default:
+    "let g:ctags_path=$VIM.'/ctags/ctags'
+
+    " Version 2.1 default:
+    let g:ctags_path='ctags'		" Use first 'ctags' in PATH.
+endif
+
+if !exists("ctags_args")
+    " Version 1.0 and 2.0 default:
+    "let g:ctags_args='-I __declspec+'
+
+    " Version 2.1 default:
+    let g:ctags_args='--c-types=cfgsu --vim-types=f --if0=yes'
+endif
+
+if !exists("generate_tags")
+    let generate_tags = 0
+endif
+
+" By default, the ctags list is regenerated whenever the buffer is
+" written.  Allow the user to disable this behavior by setting
+" g:ctags_regenerate = 0 if, for example, this becomes a performance
+" problem.
+"
+if !exists("g:ctags_regenerate")
+    let g:ctags_regenerate = 1
+endif
+
+" If the user doesn't specify either g:ctags_title or g:ctags_statusline,
+" revert to the original behavior, which was equivalent to g:ctags_title =
+" 1, g:ctags_statusline = 0.
+"
+if !exists("g:ctags_title") && !exists("g:ctags_statusline")
+    let g:ctags_title = 1
+    let g:ctags_statusline = 0
+endif
+
+if !exists("g:ctags_title")
+    let g:ctags_title = 0
+endif
+
+if !exists("g:ctags_statusline")
+    let g:ctags_statusline = 0
+endif
+
+command! CTAGS let generate_tags=1|call GenerateTags()
+
+autocmd BufEnter *.c,*.cpp,*.h,*.py,*.vim
+\   if g:ctags_statusline != 0
+\ |     let s:save_laststatus = &laststatus
+\ |     set laststatus=2
+\ | endif
+\ | if generate_tags != 0
+\      && !exists('b:lines')
+\      && filereadable(expand("<afile>"))
+\ | call GenerateTags()
+\ | endif
+
+autocmd BufLeave *.c,*.cpp,*.h,*.py,*.vim
+\   if exists("s:save_laststatus")
+\ |     let &laststatus = s:save_laststatus
+\ |     unlet s:save_laststatus
+\ | endif
+
+" Update the tags list whenever the buffer is written.
+"
+autocmd BufWritePost *.c,*.cpp,*.h,*.py,*.vim
+\   if (generate_tags != 0) && (g:ctags_regenerate != 0)
+\ |     call GenerateTags()
+\ | endif
+
+set updatetime=500
+
+autocmd CursorHold *
+\   if generate_tags != 0
+\ |     call s:SetTagDisplay()
+\ | endif
+
+"set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:~:.:h\")})%)%(\ %a%)%=%(tag:\ %-{GetTagName(line("."))}%)
+
+
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" No changes should be required below (unless there are bugs).
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+if version < 600
+    function! Stridx(haysack, needle)
+	return match(a:haysack, a:needle)
+    endfunction
+else
+    function! Stridx(haysack, needle)
+	return stridx(a:haysack, a:needle)
+    endfunction
+endif
+
+let g:ctags_obligatory_args = '-n --sort=no -o -'
+let g:ctags_pattern="^\\(.\\{-}\\)\t.\\{-}\t\\(\\d*\\).*"
+
+" This function builds an array of tag indices.  b:tags contains all
+" the tag names in the file, separated by newlines.  b:lines contains
+" the source file line numbers of lines that contain a tag, followed
+" by the index into b:tags of the name of the tag.  The b:lines array
+" is sorted, so a binary search can be used to find the appropriate
+" tagged line for a given source file line number.  b:length contains
+" the length of a number (line number or index) in b:lines.
+"
+" There are two versions of this function: if vim has been compiled
+" with perl support, a fast perl version is used; otherwise a native
+" version that is somewhat slower is used.
+"
+if has('perl')
+    function! GenerateTags()
+	perl << PERL_EOF
+	$max_num = "9999999";
+	$length = length($max_num);
+	$lines = "";
+	$tags = "";
+	$index = 0;
+
+	$command = VIM::Eval("g:ctags_path");
+	$command .= " " . VIM::Eval("g:ctags_args");
+	$command .= " " . VIM::Eval("g:ctags_obligatory_args");
+	$command .= " " . VIM::Eval("expand('%')");
+
+	open (CTAGS, $command . "|") or die $!;
+
+	while (<CTAGS>)
+	{
+	    s/^(.+?)\t.*?\t(\d*);.*$/\1\t\2/;
+	    my ($tag_name, $tag_line_num) = split /\t/;
+	    $tags .= $tag_name . "\n";
+	    $lines .= sprintf("%-*d", $length, $tag_line_num);
+	    $lines .= sprintf("%-*d", $length, $index);
+	    $index += length($tag_name) + 1;
+	}
+
+	close (CTAGS);
+
+	$lines .= $max_num;
+	$lines .= $max_num;
+
+	VIM::DoCommand("let b:tags = '$tags'");
+	VIM::DoCommand("let b:length = $length");
+	VIM::DoCommand("let b:lines = '$lines'");
+PERL_EOF
+    endfunction
+else
+    function! GenerateTags()
+	let ctags = system(g:ctags_path.' '.g:ctags_args.' '.g:ctags_obligatory_args.' "'.expand('%').'"')
+
+	let max_num = "9999999"
+	let b:length = strlen(max_num)
+	let b:lines = ''
+	let b:tags = ''
+
+	" strlen(spaces) must be at least b:length.
+	let spaces = '               '
+	let len = strlen(ctags)
+	let index = 0
+	let offset = 0
+
+	while offset < len
+	    let one_tag = matchstr(ctags, "[^\n]*", offset)
+	    let tag_name = substitute(one_tag, g:ctags_pattern, '\1', '')
+	    let tag_line_num = substitute(one_tag, g:ctags_pattern, '\2', '')
+	    let b:lines = b:lines . strpart(tag_line_num.spaces, 0, b:length)
+	    let b:lines = b:lines . strpart(index.spaces, 0, b:length)
+	    let b:tags = b:tags . tag_name . "\n"
+	    let index = index + strlen(tag_name) + 1
+	    let offset = offset + strlen(one_tag) + 1
+	endwhile
+
+	let b:lines = b:lines . max_num
+	let b:lines = b:lines . max_num
+    endfunction
+endif
+
+" This function returns the tag name for given index.
+function! GetLine(i)
+    return strpart(b:lines, a:i*b:length*2, b:length)+0
+endfunction
+
+function! GetIndex(i)
+    return strpart(b:lines, a:i*(b:length*2)+b:length, b:length)+0
+endfunction
+
+" This function does binary search in the array of tag names and returns
+" corresponding tag.
+function! GetTagName(curline)
+    if !exists("b:lines")
+	return ""
+    endif
+
+    let left = 0
+    let right = strlen(b:lines)/(b:length*2)
+
+    if a:curline < GetLine(left)
+	return ""
+    endif
+
+    while left<right
+	let middle = (right+left+1)/2
+	let middleline = GetLine(middle)
+
+	if middleline == a:curline
+	    let left = middle
+	    break
+	endif
+
+	if middleline > a:curline
+	    let right = middle-1
+	else
+	    let left = middle
+	endif
+    endwhile
+
+    let index = GetIndex(left)
+
+    if index < strlen(b:tags)
+	let ret = matchstr(b:tags, "[^\n]*", index)
+    endif
+
+    return ret
+endfunction
+
+" This function sets the values of 'statusline' and 'titlestring'.
+"
+" Avoid setting 'statusline' (or any other option) unless the tag name has
+" changed since doing so will force a screen redraw and will cause the
+" desired cursor column to be reset.  Losing the desired cursor column is
+" really annoying when editing a file type for which ctags aren't even
+" supported.  (This may be done differently when we make the autocommands
+" smarter about the current file type.)
+"
+function! s:SetTagDisplay()
+    let l:tag_name = GetTagName(line("."))
+    if !exists('w:tag_name')
+	let w:tag_name = ''
+    endif
+    if (g:ctags_statusline != 0) && ((l:tag_name != w:tag_name) || (&ruler != s:ruler))
+	let w:tag_name = l:tag_name
+	let s:ruler = &ruler
+	if &ruler
+	    let &statusline='%<%f %(%h%m%r %)%=%{TagName()} %-15.15(%l,%c%V%)%P'
+					" Equivalent to default status
+					" line with 'ruler' set:
+					"
+					" '%<%f %h%m%r%=%-15.15(%l,%c%V%)%P'
+	else
+	    let &statusline='%<%f %(%h%m%r %)%=%{TagName()}'
+	endif
+					" The %(%) pair around the "%h%m%r "
+					" is there to suppress the extra
+					" space between the file name and
+					" the function name when those
+					" elements are null.
+    endif
+    if (g:ctags_title != 0) && (l:tag_name != s:title_tag_name)
+	let s:title_tag_name = l:tag_name
+	let &titlestring='%t%( %M%)%( (%{expand("%:~:.:h")})%)%( %a%)%='.s:title_tag_name
+    endif
+endfunction
+
+" This function returns the value of w:tag_name if it exists, otherwise
+" ''.
+function! TagName()
+    if exists('w:tag_name')
+	return w:tag_name
+    else
+	return ''
+    endif
+endfunction
+
+" Restore cpo.
+let &cpo= s:save_cpo
+unlet s:save_cpo
+
+" vim:set ts=8 sts=4 sw=4:

+ 1 - 0
autoload/pathogen.vim

@@ -0,0 +1 @@
+../vim-pathogen/autoload/pathogen.vim

+ 1 - 0
bundle/rust.vim

@@ -0,0 +1 @@
+Subproject commit 5dd7ab99103c05a56e059b39ad9f63274d2ae72e

+ 77 - 0
colors/dark.vim

@@ -0,0 +1,77 @@
+" Vim color file
+" Maintainer:	Bohdan Vlasyuk <bohdan@vstu.edu.ua>
+" Last Change:	2008 Jul 18
+
+" darkblue -- for those who prefer dark background
+" [note: looks bit uglier with come terminal palettes,
+" but is fine on default linux console palette.]
+
+set bg=dark
+hi clear
+if exists("syntax_on")
+	syntax reset
+endif
+
+let colors_name = "dark"
+
+hi Normal		guifg=#c0c0c0 guibg=#000040						ctermfg=lightgray ctermbg=black
+hi ErrorMsg		guifg=#ffffff guibg=#287eff						ctermfg=red ctermbg=black cterm=bold
+hi Visual		guifg=#8080ff guibg=fg		gui=reverse				ctermfg=white ctermbg=blue cterm=NONE
+hi VisualNOS	guifg=#8080ff guibg=fg		gui=reverse,underline	ctermfg=lightblue ctermbg=fg cterm=reverse,underline
+hi Todo			guifg=#d14a14 guibg=#1248d1						ctermfg=red	ctermbg=darkblue
+hi Search		guifg=#90fff0 guibg=#2050d0						ctermfg=white ctermbg=darkblue cterm=underline term=underline
+hi IncSearch	guifg=#b0ffff guibg=#2050d0							ctermfg=darkblue ctermbg=gray
+
+hi SpecialKey		guifg=darkblue			ctermfg=darkblue
+hi Directory		guifg=cyan			ctermfg=cyan
+hi Title			guifg=magenta gui=none ctermfg=magenta cterm=bold
+hi WarningMsg		guifg=red			ctermfg=red
+hi WildMenu			guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none
+hi ModeMsg			guifg=#22cce2		ctermfg=lightblue
+hi MoreMsg			ctermfg=darkgreen	ctermfg=darkgreen
+hi Question			guifg=green gui=none ctermfg=green cterm=none
+hi NonText			guifg=#0030ff		ctermfg=darkblue
+
+"hi StatusLine	guifg=blue guibg=darkgray gui=none		ctermfg=blue ctermbg=gray term=none cterm=none
+hi StatusLineNC	guifg=black guibg=darkgray gui=none		ctermfg=black ctermbg=gray term=none cterm=none
+hi VertSplit	guifg=black guibg=darkgray gui=none		ctermfg=black ctermbg=gray term=none cterm=none
+
+hi Folded	guifg=#808080 guibg=#000040			ctermfg=darkgrey ctermbg=black cterm=bold term=bold
+hi FoldColumn	guifg=#808080 guibg=#000040			ctermfg=darkgrey ctermbg=black cterm=bold term=bold
+hi LineNr	guifg=#90f020			ctermfg=green cterm=none
+
+hi DiffAdd	guibg=darkblue	ctermbg=darkblue term=none cterm=none
+hi DiffChange	guibg=darkmagenta ctermbg=magenta cterm=none
+hi DiffDelete	ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
+hi DiffText	cterm=bold ctermbg=red gui=bold guibg=Red
+
+hi Cursor	guifg=black guibg=yellow ctermfg=black ctermbg=yellow
+hi lCursor	guifg=black guibg=white ctermfg=black ctermbg=white
+
+
+hi Comment	guifg=#80a0ff ctermfg=darkred
+hi Constant	ctermfg=magenta guifg=#ffa0a0 cterm=none
+hi Special	ctermfg=brown guifg=Orange cterm=none gui=none
+hi Identifier	ctermfg=cyan guifg=#40ffff cterm=none
+hi Statement	ctermfg=yellow cterm=none guifg=#ffff60 gui=none
+hi PreProc	ctermfg=magenta guifg=#ff80ff gui=none cterm=none
+hi type		ctermfg=green guifg=#60ff60 gui=none cterm=none
+hi Underlined	cterm=underline term=underline
+hi Ignore	guifg=bg ctermfg=bg
+
+" suggested by tigmoid, 2008 Jul 18
+hi Pmenu guifg=#c0c0c0 guibg=#404080
+hi PmenuSel guifg=#c0c0c0 guibg=#2050d0
+hi PmenuSbar guifg=blue guibg=darkgray
+hi PmenuThumb guifg=#c0c0c0
+
+au InsertEnter * hi StatusLine ctermfg=yellow ctermbg=235
+au InsertLeave * hi StatusLine ctermfg=green ctermbg=235
+hi StatusLine term=NONE cterm=bold ctermfg=green ctermbg=235 gui=bold
+
+hi TabLine      guifg=#333 guibg=#222 gui=none ctermfg=254 ctermbg=238 cterm=none
+hi TabLineSel   guifg=#666 guibg=#222 gui=bold ctermfg=231 ctermbg=235 cterm=bold
+hi TabLineFill  guifg=#999 guibg=#222 gui=none ctermfg=254 ctermbg=238 cterm=none
+
+hi ColorColumn guibg=#2d2d2d ctermfg=red ctermbg=black
+

+ 59 - 0
colors/kate.vim

@@ -0,0 +1,59 @@
+" Vim color file
+" Maintainer:   Donald Ephraim Curtis <dcurtis@gmail.com>
+" Last Change:  09. january 2007.
+" URL:          http://milkbox.net
+" Kate default color themes.
+" version 1.1
+
+set background=light
+hi clear
+if exists("syntax_on")
+    syntax reset
+endif
+"let g:colors_name="DevC++"
+
+hi Comment      gui=italic      guifg=#808080		guibg=NONE
+hi Identifier   gui=NONE		guifg=Black			guibg=NONE
+hi Statement    gui=bold		guifg=DarkBlue		guibg=NONE
+hi PreProc      gui=NONE		guifg=#008000		guibg=NONE	
+hi Statement    gui=bold        guifg=Black         guibg=NONE
+hi Type         gui=bold		guifg=#800000		guibg=NONE
+hi link Constant Type
+hi Special      gui=NONE		guifg=Black 	    guibg=NONE
+hi Structure    gui=bold        guifg=Black         guibg=NONE
+hi String       gui=NONE  	    guifg=#DD0000	    guibg=NONE
+hi Number       gui=NONE		guifg=#0000FF       guibg=NONE
+hi SpecialKey   gui=NONE		guifg=#0000FF       guibg=NONE
+hi Float        gui=NONE        guifg=#800080       guibg=NONE
+hi Boolean      gui=bold        guifg=Black	        guibg=NONE
+hi Gutter       gui=NONE        guifg=Black		    guibg=Grey
+hi Todo         gui=bold    	guifg=black		    guibg=#FFCCCC
+hi LineNr       gui=NONE        guifg=Black         guibg=#EBE9ED
+hi NonText      gui=bold 		guifg=black         guibg=#EBE9ED
+hi Visual       gui=reverse     guifg=NONE          guibg=NONE
+hi MatchParen   gui=NONE        guifg=Black         guibg=#FFFF99
+hi Question     gui=NONE        guifg=DarkGreen     guibg=NONE
+hi More         gui=bold        guifg=DarkGreen     guibg=NONE
+hi StatusLine   gui=bold        guifg=Black         guibg=#EBE9ED
+
+" C/C++ Colors
+hi link cIncluded PreProc
+hi cOctal       gui=NONE        guifg=#008080       guibg=NONE
+hi cSpecial     gui=NONE        guifg=#FF00FF       guibg=NONE
+hi link cSpecialCharacter cSpecial
+
+" Latex Colors
+"hi texStatement guifg=#606000
+hi link texType Normal
+hi link texDocType Type
+hi link texDefParm Normal
+hi link texInput Normal
+hi link texInputFile Normal
+hi link texNewCmd texDocType
+hi link texSection String
+hi link texSectionName SpecialKey
+hi link texDelimiter Normal
+hi link texRefZone Normal
+hi link texMath PreProc
+hi link texLigature texMath
+hi texStatement gui=NONE        guifg=#800000       guibg=NONE

Разница между файлами не показана из-за своего большого размера
+ 1314 - 0
doc/NERD_tree.txt


+ 109 - 0
doc/vim-nerdtree-tabs.txt

@@ -0,0 +1,109 @@
+# NERDTree and tabs together in Vim, painlessly          *vim-nerdtree-tabs*
+                                                             *nerdtree-tabs*
+
+## Installation
+
+1. Copy the plugin to your vim config dir (via pathogen or any way you want).
+
+2. Map :NERDTreeTabsToggle command to some combo so you don't have to type it.
+   Alternatively, you can use plug-mapping instead of a command, like this:
+
+        map <Leader>n <plug>NERDTreeTabsToggle<CR>
+
+3. Celebrate.
+
+## Features
+
+In short, this vim plugin aims at making **NERDTree feel like a true panel**,
+independent of tabs. That is done by keeping NERDTree synchronized between
+tabs as much as possible. Read on for details.
+
+### One command, open everywhere, close everywhere
+
+You'll get a new command: `:NERDTreeTabsToggle`
+
+For the needs of most of us, this will be the only command needed to operate
+NERDTree. Press it once, NERDTree opens in all tabs (even in new tabs created
+from now on); press it again, NERDTree closes in all tabs.
+
+### Just one NERDTree
+
+Tired of having a fully collapsed NERDTree every time you open a new tab?
+Vim-nerdtree-tabs will keep them all synchronized. You will get just one
+NERDTree buffer for all your tabs.
+
+### Sync to the max
+
+All NERDTree windows will always have the same scroll and cursor position.
+
+### Meaningful tab captions
+
+You know the feeling when you want to switch to *that file* and you have 8 tabs
+open and they are all named 'NERD_tree_1'? Won't happen again. When leaving
+a tab, vim-nerdtree-tabs moves focus out of NERDTree so that the tab caption is
+the name of the file you are editing.
+
+### Close the file = close the tab
+
+A tab with NERDTree and a file won't hang open when you close the file window.
+NERDTree will close automatically and so will the tab.
+
+### Autoopen on startup
+
+NERDTree will open automatically on GVim/MacVim startup. You can configure it
+to open on console Vim as well, but this is disabled by default.
+
+## Commands and mappings
+
+Vim-nerdtree-tabs defines two commands:
+                                                          *:NERDTreeTabsToggle*
+* `:NERDTreeTabsToggle` switches NERDTree on/off for all tabs.
+
+                                                        *:NERDTreeMirrorToggle*
+* `:NERDTreeMirrorToggle` acts as `:NERDTreeToggle`, but smarter: When opening,
+  it first tries to use an existing tree (i.e. previously closed in this tab or
+  perform a mirror of another tab's tree). If all this fails, a new tree is
+  created. **It is recommended that you always use this command instead of
+  `:NERDTreeToggle`.**
+
+There are also plug-mappings available with the same functionality:
+
+* `<plug>NERDTreeTabsToggle`
+* `<plug>NERDTreeMirrorToggle`
+
+## Configuration
+
+You can switch on/off some features of the plugin by setting global vars to 1
+(for on) or 0 (for off) in your vimrc. Here are the options and their default
+values:
+
+* `let g:nerdtree_tabs_open_on_gui_startup = 1`  
+  Open NERDTree on gvim/macvim startup
+
+* `let g:nerdtree_tabs_open_on_console_startup = 0`  
+  Open NERDTree on console vim startup
+
+* `let g:nerdtree_tabs_open_on_new_tab = 1`  
+  Open NERDTree on new tab creation (if NERDTree was globally opened by
+  :NERDTreeTabsToggle)
+
+* `let g:nerdtree_tabs_meaningful_tab_names = 1`  
+  Unfocus NERDTree when leaving a tab for descriptive tab names
+
+* `let g:nerdtree_tabs_autoclose = 1`  
+  Close current tab if there is only one window in it and it's NERDTree
+
+* `let g:nerdtree_tabs_synchronize_view = 1`  
+  Synchronize view of all NERDTree windows (scroll and cursor position)
+
+* `let g:nerdtree_tabs_focus_on_files = 0`  
+  When switching into a tab, make sure that focus is on the file window,
+  not in the NERDTree window. (Note that this can get annoying if you use
+  NERDTree's feature "open in new tab silently", as you will lose focus on the
+  NERDTree.)
+
+## Credits
+
+* The tab autoclose feature is stolen from Carl Lerche & Yehuda Katz's
+  [Janus](https://github.com/carlhuda/janus). Thanks, guys!
+

+ 19 - 0
gvimrc

@@ -0,0 +1,19 @@
+" Make external commands work through a pipe instead of a pseudo-tty
+"set noguipty
+
+" You can also specify a different font, overriding the default font
+"if has('gui_gtk2')
+"  set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
+"else
+"  set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
+"endif
+
+" If you want to run gvim with a dark background, try using a different
+" colorscheme or running 'gvim -reverse'.
+" http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/ has examples and
+" downloads for the colorschemes on vim.org
+
+" Source a global configuration file if available
+if filereadable("/etc/vim/gvimrc.local")
+  source /etc/vim/gvimrc.local
+endif

+ 41 - 0
nerdtree_plugin/exec_menuitem.vim

@@ -0,0 +1,41 @@
+" ============================================================================
+" File:        exec_menuitem.vim
+" Description: plugin for NERD Tree that provides an execute file menu item
+" Maintainer:  Martin Grenfell <martin.grenfell at gmail dot com>
+" Last Change: 22 July, 2009
+" License:     This program is free software. It comes without any warranty,
+"              to the extent permitted by applicable law. You can redistribute
+"              it and/or modify it under the terms of the Do What The Fuck You
+"              Want To Public License, Version 2, as published by Sam Hocevar.
+"              See http://sam.zoy.org/wtfpl/COPYING for more details.
+"
+" ============================================================================
+if exists("g:loaded_nerdtree_exec_menuitem")
+    finish
+endif
+let g:loaded_nerdtree_exec_menuitem = 1
+
+call NERDTreeAddMenuItem({
+            \ 'text': '(!)Execute file',
+            \ 'shortcut': '!',
+            \ 'callback': 'NERDTreeExecFile',
+            \ 'isActiveCallback': 'NERDTreeExecFileActive' })
+
+function! NERDTreeExecFileActive()
+    let node = g:NERDTreeFileNode.GetSelected()
+    return !node.path.isDirectory && node.path.isExecutable
+endfunction
+
+function! NERDTreeExecFile()
+    let treenode = g:NERDTreeFileNode.GetSelected()
+    echo "==========================================================\n"
+    echo "Complete the command to execute (add arguments etc):\n"
+    let cmd = treenode.path.str({'escape': 1})
+    let cmd = input(':!', cmd . ' ')
+
+    if cmd != ''
+        exec ':!' . cmd
+    else
+        echo "Aborted"
+    endif
+endfunction

+ 224 - 0
nerdtree_plugin/fs_menu.vim

@@ -0,0 +1,224 @@
+" ============================================================================
+" File:        fs_menu.vim
+" Description: plugin for the NERD Tree that provides a file system menu
+" Maintainer:  Martin Grenfell <martin.grenfell at gmail dot com>
+" Last Change: 17 July, 2009
+" License:     This program is free software. It comes without any warranty,
+"              to the extent permitted by applicable law. You can redistribute
+"              it and/or modify it under the terms of the Do What The Fuck You
+"              Want To Public License, Version 2, as published by Sam Hocevar.
+"              See http://sam.zoy.org/wtfpl/COPYING for more details.
+"
+" ============================================================================
+if exists("g:loaded_nerdtree_fs_menu")
+    finish
+endif
+let g:loaded_nerdtree_fs_menu = 1
+
+call NERDTreeAddMenuItem({'text': '(a)dd a childnode', 'shortcut': 'a', 'callback': 'NERDTreeAddNode'})
+call NERDTreeAddMenuItem({'text': '(m)ove the current node', 'shortcut': 'm', 'callback': 'NERDTreeMoveNode'})
+call NERDTreeAddMenuItem({'text': '(d)elete the current node', 'shortcut': 'd', 'callback': 'NERDTreeDeleteNode'})
+
+if has("gui_mac") || has("gui_macvim") 
+    call NERDTreeAddMenuItem({'text': '(r)eveal in Finder the current node', 'shortcut': 'r', 'callback': 'NERDTreeRevealInFinder'})
+    call NERDTreeAddMenuItem({'text': '(o)pen the current node with system editor', 'shortcut': 'o', 'callback': 'NERDTreeExecuteFile'})
+    call NERDTreeAddMenuItem({'text': '(q)uicklook the current node', 'shortcut': 'q', 'callback': 'NERDTreeQuickLook'})
+endif
+
+if g:NERDTreePath.CopyingSupported()
+    call NERDTreeAddMenuItem({'text': '(c)copy the current node', 'shortcut': 'c', 'callback': 'NERDTreeCopyNode'})
+endif
+
+"FUNCTION: s:echo(msg){{{1
+function! s:echo(msg)
+    redraw
+    echomsg "NERDTree: " . a:msg
+endfunction
+
+"FUNCTION: s:echoWarning(msg){{{1
+function! s:echoWarning(msg)
+    echohl warningmsg
+    call s:echo(a:msg)
+    echohl normal
+endfunction
+
+"FUNCTION: s:promptToDelBuffer(bufnum, msg){{{1
+"prints out the given msg and, if the user responds by pushing 'y' then the
+"buffer with the given bufnum is deleted
+"
+"Args:
+"bufnum: the buffer that may be deleted
+"msg: a message that will be echoed to the user asking them if they wish to
+"     del the buffer
+function! s:promptToDelBuffer(bufnum, msg)
+    echo a:msg
+    if nr2char(getchar()) ==# 'y'
+        exec "silent bdelete! " . a:bufnum
+    endif
+endfunction
+
+"FUNCTION: NERDTreeAddNode(){{{1
+function! NERDTreeAddNode()
+    let curDirNode = g:NERDTreeDirNode.GetSelected()
+
+    let newNodeName = input("Add a childnode\n".
+                          \ "==========================================================\n".
+                          \ "Enter the dir/file name to be created. Dirs end with a '/'\n" .
+                          \ "", curDirNode.path.str() . g:NERDTreePath.Slash(), "file")
+
+    if newNodeName ==# ''
+        call s:echo("Node Creation Aborted.")
+        return
+    endif
+
+    try
+        let newPath = g:NERDTreePath.Create(newNodeName)
+        let parentNode = b:NERDTreeRoot.findNode(newPath.getParent())
+
+        let newTreeNode = g:NERDTreeFileNode.New(newPath)
+        if parentNode.isOpen || !empty(parentNode.children)
+            call parentNode.addChild(newTreeNode, 1)
+            call NERDTreeRender()
+            call newTreeNode.putCursorHere(1, 0)
+        endif
+    catch /^NERDTree/
+        call s:echoWarning("Node Not Created.")
+    endtry
+endfunction
+
+"FUNCTION: NERDTreeMoveNode(){{{1
+function! NERDTreeMoveNode()
+    let curNode = g:NERDTreeFileNode.GetSelected()
+    let newNodePath = input("Rename the current node\n" .
+                          \ "==========================================================\n" .
+                          \ "Enter the new path for the node:                          \n" .
+                          \ "", curNode.path.str(), "file")
+
+    if newNodePath ==# ''
+        call s:echo("Node Renaming Aborted.")
+        return
+    endif
+
+    try
+        let bufnum = bufnr(curNode.path.str())
+
+        call curNode.rename(newNodePath)
+        call NERDTreeRender()
+
+        "if the node is open in a buffer, ask the user if they want to
+        "close that buffer
+        if bufnum != -1
+            let prompt = "\nNode renamed.\n\nThe old file is open in buffer ". bufnum . (bufwinnr(bufnum) ==# -1 ? " (hidden)" : "") .". Delete this buffer? (yN)"
+            call s:promptToDelBuffer(bufnum, prompt)
+        endif
+
+        call curNode.putCursorHere(1, 0)
+
+        redraw
+    catch /^NERDTree/
+        call s:echoWarning("Node Not Renamed.")
+    endtry
+endfunction
+
+" FUNCTION: NERDTreeDeleteNode() {{{1
+function! NERDTreeDeleteNode()
+    let currentNode = g:NERDTreeFileNode.GetSelected()
+    let confirmed = 0
+
+    if currentNode.path.isDirectory
+        let choice =input("Delete the current node\n" .
+                         \ "==========================================================\n" .
+                         \ "STOP! To delete this entire directory, type 'yes'\n" .
+                         \ "" . currentNode.path.str() . ": ")
+        let confirmed = choice ==# 'yes'
+    else
+        echo "Delete the current node\n" .
+           \ "==========================================================\n".
+           \ "Are you sure you wish to delete the node:\n" .
+           \ "" . currentNode.path.str() . " (yN):"
+        let choice = nr2char(getchar())
+        let confirmed = choice ==# 'y'
+    endif
+
+
+    if confirmed
+        try
+            call currentNode.delete()
+            call NERDTreeRender()
+
+            "if the node is open in a buffer, ask the user if they want to
+            "close that buffer
+            let bufnum = bufnr(currentNode.path.str())
+            if buflisted(bufnum)
+                let prompt = "\nNode deleted.\n\nThe file is open in buffer ". bufnum . (bufwinnr(bufnum) ==# -1 ? " (hidden)" : "") .". Delete this buffer? (yN)"
+                call s:promptToDelBuffer(bufnum, prompt)
+            endif
+
+            redraw
+        catch /^NERDTree/
+            call s:echoWarning("Could not remove node")
+        endtry
+    else
+        call s:echo("delete aborted")
+    endif
+
+endfunction
+
+" FUNCTION: NERDTreeCopyNode() {{{1
+function! NERDTreeCopyNode()
+    let currentNode = g:NERDTreeFileNode.GetSelected()
+    let newNodePath = input("Copy the current node\n" .
+                          \ "==========================================================\n" .
+                          \ "Enter the new path to copy the node to:                   \n" .
+                          \ "", currentNode.path.str(), "file")
+
+    if newNodePath != ""
+        "strip trailing slash
+        let newNodePath = substitute(newNodePath, '\/$', '', '')
+
+        let confirmed = 1
+        if currentNode.path.copyingWillOverwrite(newNodePath)
+            call s:echo("Warning: copying may overwrite files! Continue? (yN)")
+            let choice = nr2char(getchar())
+            let confirmed = choice ==# 'y'
+        endif
+
+        if confirmed
+            try
+                let newNode = currentNode.copy(newNodePath)
+                if !empty(newNode)
+                    call NERDTreeRender()
+                    call newNode.putCursorHere(0, 0)
+                endif
+            catch /^NERDTree/
+                call s:echoWarning("Could not copy node")
+            endtry
+        endif
+    else
+        call s:echo("Copy aborted.")
+    endif
+    redraw
+endfunction
+
+function! NERDTreeQuickLook()
+    let treenode = g:NERDTreeFileNode.GetSelected()
+    if treenode != {}
+        call system("qlmanage -p 2>/dev/null '" . treenode.path.str() . "'")
+    endif
+endfunction
+
+function! NERDTreeRevealInFinder()
+    let treenode = g:NERDTreeFileNode.GetSelected()
+    if treenode != {}
+        let x = system("open -R '" . treenode.path.str() . "'")
+    endif
+endfunction
+
+function! NERDTreeExecuteFile()
+    let treenode = g:NERDTreeFileNode.GetSelected()
+    if treenode != {}
+        let x = system("open '" . treenode.path.str() . "'")
+    endif
+endfunction
+
+" vim: set sw=4 sts=4 et fdm=marker:

+ 309 - 0
nerdtree_plugin/vim-nerdtree-tabs.vim

@@ -0,0 +1,309 @@
+" === plugin configuration variables ===
+
+" open NERDTree on gvim/macvim startup
+if !exists('g:nerdtree_tabs_open_on_gui_startup')
+  let g:nerdtree_tabs_open_on_gui_startup = 1
+endif
+
+" open NERDTree on console vim startup (off by default)
+if !exists('g:nerdtree_tabs_open_on_console_startup')
+  let g:nerdtree_tabs_open_on_console_startup = 0
+endif
+
+" On startup - focus NERDTree when opening a directory, focus the file if
+" editing a specified file
+if !exists('g:nerdtree_tabs_smart_startup_focus')
+  let g:nerdtree_tabs_smart_startup_focus = 1
+endif
+
+" Open NERDTree on new tab creation if NERDTree was globally opened
+" by :NERDTreeTabsToggle
+if !exists('g:nerdtree_tabs_open_on_new_tab')
+  let g:nerdtree_tabs_open_on_new_tab = 1
+endif
+
+" unfocus NERDTree when leaving a tab so that you have descriptive tab names
+" and not names like 'NERD_tree_1'
+if !exists('g:nerdtree_tabs_meaningful_tab_names')
+  let g:nerdtree_tabs_meaningful_tab_names = 1
+endif
+
+" close current tab if there is only one window in it and it's NERDTree
+if !exists('g:nerdtree_tabs_autoclose')
+  let g:nerdtree_tabs_autoclose = 1
+endif
+
+" synchronize view of all NERDTree windows (scroll and cursor position)
+if !exists('g:nerdtree_tabs_synchronize_view')
+  let g:nerdtree_tabs_synchronize_view = 1
+endif
+
+" when switching into a tab, make sure that focus will always be in file
+" editing window, not in NERDTree window (off by default)
+if !exists('g:nerdtree_tabs_focus_on_files')
+  let g:nerdtree_tabs_focus_on_files = 0
+endif
+
+" === plugin mappings ===
+noremap <silent> <script> <Plug>NERDTreeTabsToggle :call <SID>NERDTreeToggleAllTabs()
+noremap <silent> <script> <Plug>NERDTreeMirrorToggle :call <SID>NERDTreeMirrorToggle()
+
+" === plugin commands ===
+command! NERDTreeTabsToggle call <SID>NERDTreeToggleAllTabs()
+command! NERDTreeMirrorToggle call <SID>NERDTreeMirrorToggle()
+
+
+" === rest of the code ===
+
+let s:disable_handlers_for_tabdo = 0
+
+" global on/off NERDTree state
+" the exists check is to enable script reloading without resetting the state
+if !exists('s:nerdtree_globally_active')
+  let s:nerdtree_globally_active = 0
+endif
+
+" automatic NERDTree mirroring on tab switch
+fun! s:NERDTreeMirrorIfGloballyActive()
+  let l:nerdtree_open = s:IsNERDTreeOpenInCurrentTab()
+
+  " if NERDTree is not active in the current tab, try to mirror it
+  let l:previous_winnr = winnr("$")
+  if s:nerdtree_globally_active && !l:nerdtree_open
+    silent NERDTreeMirror
+
+    " if the window count of current tab changed, it means that NERDTreeMirror
+    " was successful and we should move focus to the next window
+    if l:previous_winnr != winnr("$")
+      wincmd w
+    endif
+  endif
+endfun
+
+" close NERDTree across all tabs
+fun! s:NERDTreeCloseAllTabs()
+  let s:nerdtree_globally_active = 0
+
+  " tabdo doesn't preserve current tab - save it and restore it afterwards
+  let l:current_tab = tabpagenr()
+  tabdo silent NERDTreeClose
+  exe 'tabn ' . l:current_tab
+endfun
+
+" switch NERDTree on for current tab -- mirror it if possible, otherwise create it
+fun! s:NERDTreeMirrorOrCreate()
+  let l:nerdtree_open = s:IsNERDTreeOpenInCurrentTab()
+
+  " if NERDTree is not active in the current tab, try to mirror it
+  let l:previous_winnr = winnr("$")
+  if !l:nerdtree_open
+    silent NERDTreeMirror
+
+    " if the window count of current tab didn't increase after NERDTreeMirror,
+    " it means NERDTreeMirror was unsuccessful and a new NERDTree has to be created
+    if l:previous_winnr == winnr("$")
+      silent NERDTreeToggle
+    endif
+  endif
+endfun
+
+" switch NERDTree on for all tabs while making sure there is only one NERDTree buffer
+fun! s:NERDTreeMirrorOrCreateAllTabs()
+  let s:nerdtree_globally_active = 1
+
+  " tabdo doesn't preserve current tab - save it and restore it afterwards
+  let l:current_tab = tabpagenr()
+  tabdo call s:NERDTreeMirrorOrCreate()
+  exe 'tabn ' . l:current_tab
+endfun
+
+" toggle NERDTree in current tab and match the state in all other tabs
+fun! s:NERDTreeToggleAllTabs()
+  let l:nerdtree_open = s:IsNERDTreeOpenInCurrentTab()
+  let s:disable_handlers_for_tabdo = 1
+
+  if l:nerdtree_open
+    call s:NERDTreeCloseAllTabs()
+  else
+    call s:NERDTreeMirrorOrCreateAllTabs()
+    " force focus to NERDTree in current tab
+    if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) != -1
+      exe bufwinnr(t:NERDTreeBufName) . "wincmd w"
+    endif
+  endif
+
+  let s:disable_handlers_for_tabdo = 0
+endfun
+
+" toggle NERDTree in current tab, use mirror if possible
+fun! s:NERDTreeMirrorToggle()
+  let l:nerdtree_open = s:IsNERDTreeOpenInCurrentTab()
+
+  if l:nerdtree_open
+    silent NERDTreeClose
+  else
+    call s:NERDTreeMirrorOrCreate()
+  endif
+endfun
+
+" if the current window is NERDTree, move focus to the next window
+fun! s:NERDTreeUnfocus()
+  " save current window so that it's focus can be restored after switching
+  " back to this tab
+  let t:NERDTreeTabLastWindow = winnr()
+  if s:IsCurrentWindowNERDTree()
+    wincmd w
+  endif
+endfun
+
+" returns 1 if current window is NERDTree, false otherwise
+fun! s:IsCurrentWindowNERDTree()
+  return exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) == winnr()
+endfun
+
+" restore focus to the window that was focused before leaving current tab
+fun! s:RestoreFocus()
+  if exists("t:NERDTreeTabLastWindow")
+    exe t:NERDTreeTabLastWindow . "wincmd w"
+  endif
+endfun
+
+" Close all open buffers on entering a window if the only
+" buffer that's left is the NERDTree buffer
+fun! s:CloseIfOnlyNerdTreeLeft()
+  if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) != -1 && winnr("$") == 1
+    q
+  endif
+endfun
+
+" check if NERDTree is open in current tab
+fun! s:IsNERDTreeOpenInCurrentTab()
+  return exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) != -1
+endfun
+
+" check if NERDTree is present in current tab (not necessarily visible)
+fun! s:IsNERDTreePresentInCurrentTab()
+  return exists("t:NERDTreeBufName")
+endfun
+
+fun! s:SaveNERDTreeViewIfPossible()
+  if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) == winnr()
+    " save scroll and cursor etc.
+    let s:nerdtree_view = winsaveview()
+
+    " save buffer name (to be able to correct desync by commands spawning
+    " a new NERDTree instance)
+    let s:nerdtree_buffer = bufname("%")
+  endif
+endfun
+
+fun! s:RestoreNERDTreeViewIfPossible()
+  " if nerdtree exists in current tab, it is the current window and if saved
+  " state is available, restore it
+  if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) != -1 && exists('s:nerdtree_view')
+    let l:current_winnr = winnr()
+    let l:nerdtree_winnr = bufwinnr(t:NERDTreeBufName)
+
+    " switch to NERDTree window
+    exe l:nerdtree_winnr . "wincmd w"
+    " load the correct NERDTree buffer if not already loaded
+    if exists('s:nerdtree_buffer') && t:NERDTreeBufName != s:nerdtree_buffer
+      silent NERDTreeClose
+      silent NERDTreeMirror
+    endif
+    " restore cursor and scroll
+    call winrestview(s:nerdtree_view)
+    exe l:current_winnr . "wincmd w"
+  endif
+endfun
+
+fun! s:ShouldFocusBeOnNERDTreeAfterStartup()
+  return strlen(bufname('$')) == 0 || !getbufvar('$', '&modifiable')
+endfun
+
+" === event handlers ===
+
+fun! s:LoadPlugin()
+  if exists('g:nerdtree_tabs_loaded')
+    return
+  endif
+
+  autocmd VimEnter * call <SID>VimEnterHandler()
+  autocmd TabEnter * call <SID>TabEnterHandler()
+  autocmd TabLeave * call <SID>TabLeaveHandler()
+  autocmd WinEnter * call <SID>WinEnterHandler()
+  autocmd WinLeave * call <SID>WinLeaveHandler()
+
+  let g:nerdtree_tabs_loaded = 1
+endfun
+
+fun! s:TabEnterHandler()
+  if s:disable_handlers_for_tabdo
+    return
+  endif
+
+  if g:nerdtree_tabs_open_on_new_tab
+    call s:NERDTreeMirrorIfGloballyActive()
+  endif
+  if g:nerdtree_tabs_synchronize_view
+    call s:RestoreNERDTreeViewIfPossible()
+  endif
+
+  if g:nerdtree_tabs_meaningful_tab_names && !g:nerdtree_tabs_focus_on_files
+    call s:RestoreFocus()
+  endif
+
+  " this one is necessary in case meaningful_tab_names is off
+  if g:nerdtree_tabs_focus_on_files
+    call s:NERDTreeUnfocus()
+  endif
+endfun
+
+fun! s:TabLeaveHandler()
+  if g:nerdtree_tabs_meaningful_tab_names
+    call s:NERDTreeUnfocus()
+  endif
+endfun
+
+fun! s:WinEnterHandler()
+  if s:disable_handlers_for_tabdo
+    return
+  endif
+
+  if g:nerdtree_tabs_autoclose
+    call s:CloseIfOnlyNerdTreeLeft()
+  endif
+endfun
+
+fun! s:WinLeaveHandler()
+  if s:disable_handlers_for_tabdo
+    return
+  endif
+
+  if g:nerdtree_tabs_synchronize_view
+    call s:SaveNERDTreeViewIfPossible()
+  endif
+endfun
+
+fun! s:VimEnterHandler()
+  let l:open_nerd_tree_on_startup = (g:nerdtree_tabs_open_on_console_startup && !has('gui_running')) ||
+                                  \ (g:nerdtree_tabs_open_on_gui_startup && has('gui_running'))
+  " this makes sure that globally_active is true when using 'gvim .'
+  let s:nerdtree_globally_active = l:open_nerd_tree_on_startup
+
+  if l:open_nerd_tree_on_startup
+    let l:focus_file = !s:ShouldFocusBeOnNERDTreeAfterStartup()
+    let l:main_bufnr = bufnr('%')
+
+    if !s:IsNERDTreeOpenInCurrentTab()
+      call s:NERDTreeMirrorOrCreateAllTabs()
+    end
+
+    if l:focus_file && g:nerdtree_tabs_smart_startup_focus
+      exe bufwinnr(l:main_bufnr) . "wincmd w"
+    endif
+  endif
+endfun
+
+call s:LoadPlugin()
+

Разница между файлами не показана из-за своего большого размера
+ 4363 - 0
plugin/NERD_tree.vim


+ 82 - 0
plugin/php.vim

@@ -0,0 +1,82 @@
+" Vim filetype plugin file
+" Language:	php
+" Maintainer:	Dan Sharp <dwsharp at users dot sourceforge dot net>
+" Last Changed: 20 Jan 2009
+" URL:		http://dwsharp.users.sourceforge.net/vim/ftplugin
+
+if exists("b:did_ftplugin") | finish | endif
+
+" Make sure the continuation lines below do not cause problems in
+" compatibility mode.
+let s:save_cpo = &cpo
+set cpo-=C
+
+" Define some defaults in case the included ftplugins don't set them.
+let s:undo_ftplugin = ""
+let s:browsefilter = "HTML Files (*.html, *.htm)\t*.html;*.htm\n" .
+	    \	     "All Files (*.*)\t*.*\n"
+let s:match_words = ""
+
+runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
+let b:did_ftplugin = 1
+
+" Override our defaults if these were set by an included ftplugin.
+if exists("b:undo_ftplugin")
+    let s:undo_ftplugin = b:undo_ftplugin
+endif
+if exists("b:browsefilter")
+    let s:browsefilter = b:browsefilter
+endif
+if exists("b:match_words")
+    let s:match_words = b:match_words
+endif
+if exists("b:match_skip")
+    unlet b:match_skip
+endif
+
+" Change the :browse e filter to primarily show PHP-related files.
+if has("gui_win32")
+    let  b:browsefilter="PHP Files (*.php)\t*.php\n" . s:browsefilter
+endif
+
+" ###
+" Provided by Mikolaj Machowski <mikmach at wp dot pl>
+setlocal include=\\\(require\\\|include\\\)\\\(_once\\\)\\\?
+" Disabled changing 'iskeyword', it breaks a command such as "*"
+" setlocal iskeyword+=$
+
+if exists("loaded_matchit")
+    let b:match_words = '<?php:?>,\<switch\>:\<endswitch\>,' .
+		      \ '\<if\>:\<elseif\>:\<else\>:\<endif\>,' .
+		      \ '\<while\>:\<endwhile\>,' .
+		      \ '\<do\>:\<while\>,' .
+		      \ '\<for\>:\<endfor\>,' .
+		      \ '\<foreach\>:\<endforeach\>,' .
+                      \ '(:),[:],{:},' .
+		      \ s:match_words
+endif
+" ###
+
+if exists('&omnifunc')
+  setlocal omnifunc=phpcomplete#CompletePHP
+endif
+
+" Section jumping: [[ and ]] provided by Antony Scriven <adscriven at gmail dot com>
+let s:function = '\(abstract\s\+\|final\s\+\|private\s\+\|protected\s\+\|public\s\+\|static\s\+\)*function'
+let s:class = '\(abstract\s\+\|final\s\+\)*class'
+let s:interface = 'interface'
+let s:section = '\(.*\%#\)\@!\_^\s*\zs\('.s:function.'\|'.s:class.'\|'.s:interface.'\)'
+"exe 'nno <buffer> <silent> [[ ?' . escape(s:section, '|') . '?<CR>:nohls<CR>'
+"exe 'nno <buffer> <silent> ]] /' . escape(s:section, '|') . '/<CR>:nohls<CR>'
+"exe 'ono <buffer> <silent> [[ ?' . escape(s:section, '|') . '?<CR>:nohls<CR>'
+"exe 'ono <buffer> <silent> ]] /' . escape(s:section, '|') . '/<CR>:nohls<CR>'
+
+setlocal commentstring=/*%s*/
+
+" Undo the stuff we changed.
+let b:undo_ftplugin = "setlocal commentstring< include< omnifunc<" .
+	    \	      " | unlet! b:browsefilter b:match_words | " .
+	    \	      s:undo_ftplugin
+
+" Restore the saved compatibility options.
+let &cpo = s:save_cpo

+ 1 - 0
rust.vim

@@ -0,0 +1 @@
+Subproject commit 5dd7ab99103c05a56e059b39ad9f63274d2ae72e

+ 913 - 0
spell/README_en.txt

@@ -0,0 +1,913 @@
+en_US
+20040623 release.
+--
+This dictionary is based on a subset of the original
+English wordlist created by Kevin Atkinson for Pspell 
+and  Aspell and thus is covered by his original 
+LGPL license.  The affix file is a heavily modified
+version of the original english.aff file which was
+released as part of Geoff Kuenning's Ispell and as 
+such is covered by his BSD license.
+
+Thanks to both authors for there wonderful work.
+
+
+===================================================
+en_AU:
+This dictionary was based on the en_GB Myspell dictionary 
+which in turn was initially based on a subset of the 
+original English wordlist created by Kevin Atkinson for 
+Pspell and  Aspell and thus is covered by his original 
+LGPL licence. 
+
+The credit for this en_AU dictionary goes to:
+
+Kelvin Eldridge (maintainer)
+Jean Hollis Weber
+David Wilson
+
+- Words incorrect in Australian English removed
+- a list from the previously removed words with corrected spelling was added
+- a list of major rivers was added
+- a list of place names was added
+- a list of Australian mammals was added 
+- a list of Aboriginal/Koori words commonly used was added
+
+A total of 119,267 words are now recognized 
+by the dictionary.
+
+Of course, special thanks go to the editors of the 
+en_GB dictionary (David Bartlett, Brian Kelk and 
+Andrew Brown) which provided the starting point
+for this dictionary.
+
+The affix file is currently a duplicate of the en_AU.aff
+created completely from scratch by David Bartlett and 
+Andrew Brown, based on the published 
+rules for MySpell and is also provided under the LGPL.
+
+If you find omissions or bugs or have new words to 
+add to the dictionary, please contact the en_AU 
+maintainer at:
+
+ "Kelvin" <audictionary@onlineconnections.com.au>
+
+
+
+===================================================
+en_CA:
+The dictionary file was created using the "final" English and Canadian SCOWL (Spell Checker Oriented Word Lists) wordlists available at Kevin's Word Lists Page (http://wordlist.sourceforge.net). Lists with the suffixes 10, 20, 35, 50, 65 and 65 were used. Lists with the suffixes 70, 80 and 95 were excluded. Copyright information for SCOWL and the wordlists used in creating it is reproduced below.
+
+The affix file is identical to the MySpell English (United States) affix file. It is a heavily modified version of the original english.aff file which was released as part of Geoff Kuenning's Ispell and as such is covered by his BSD license.
+
+---
+
+COPYRIGHT, SOURCES, and CREDITS from SCOWL readme file:
+
+The collective work is Copyright 2000 by Kevin Atkinson as well as any
+of the copyrights mentioned below:
+
+  Copyright 2000 by Kevin Atkinson
+
+  Permission to use, copy, modify, distribute and sell these word
+  lists, the associated scripts, the output created from the scripts,
+  and its documentation for any purpose is hereby granted without fee,
+  provided that the above copyright notice appears in all copies and
+  that both that copyright notice and this permission notice appear in
+  supporting documentation. Kevin Atkinson makes no representations
+  about the suitability of this array for any purpose. It is provided
+  "as is" without express or implied warranty.
+
+Alan Beale <biljir@pobox.com> also deserves special credit as he has,
+in addition to providing the 12Dicts package and being a major
+contributor to the ENABLE word list, given me an incredible amount of
+feedback and created a number of special lists (those found in the
+Supplement) in order to help improve the overall quality of SCOWL.
+
+The 10 level includes the 1000 most common English words (according to
+the Moby (TM) Words II [MWords] package), a subset of the 1000 most
+common words on the Internet (again, according to Moby Words II), and
+frequently class 16 from Brian Kelk's "UK English Wordlist
+with Frequency Classification".
+
+The MWords package was explicitly placed in the public domain:
+
+    The Moby lexicon project is complete and has
+    been place into the public domain. Use, sell,
+    rework, excerpt and use in any way on any platform.
+
+    Placing this material on internal or public servers is
+    also encouraged. The compiler is not aware of any
+    export restrictions so freely distribute world-wide.
+
+    You can verify the public domain status by contacting
+
+    Grady Ward
+    3449 Martha Ct.
+    Arcata, CA  95521-4884
+
+    grady@netcom.com
+    grady@northcoast.com
+
+The "UK English Wordlist With Frequency Classification" is also in the
+Public Domain:
+
+  Date: Sat, 08 Jul 2000 20:27:21 +0100
+  From: Brian Kelk <Brian.Kelk@cl.cam.ac.uk>
+
+> I was wondering what the copyright status of your "UK English
+  > Wordlist With Frequency Classification" word list as it seems to
+  > be lacking any copyright notice.
+
+  There were many many sources in total, but any text marked
+  "copyright" was avoided. Locally-written documentation was one
+  source. An earlier version of the list resided in a filespace called
+  PUBLIC on the University mainframe, because it was considered public
+  domain.
+
+  Date: Tue, 11 Jul 2000 19:31:34 +0100
+
+  > So are you saying your word list is also in the public domain?
+
+  That is the intention.
+
+The 20 level includes frequency classes 7-15 from Brian's word list.
+
+The 35 level includes frequency classes 2-6 and words appearing in at
+least 11 of 12 dictionaries as indicated in the 12Dicts package.  All
+words from the 12Dicts package have had likely inflections added via
+my inflection database.
+
+The 12Dicts package and Supplement is in the Public Domain.
+
+The WordNet database, which was used in the creation of the
+Inflections database, is under the following copyright:
+
+  This software and database is being provided to you, the LICENSEE,
+  by Princeton University under the following license.  By obtaining,
+  using and/or copying this software and database, you agree that you
+  have read, understood, and will comply with these terms and
+  conditions.:
+
+  Permission to use, copy, modify and distribute this software and
+  database and its documentation for any purpose and without fee or
+  royalty is hereby granted, provided that you agree to comply with
+  the following copyright notice and statements, including the
+  disclaimer, and that the same appear on ALL copies of the software,
+  database and documentation, including modifications that you make
+  for internal use or for distribution.
+
+  WordNet 1.6 Copyright 1997 by Princeton University.  All rights
+  reserved.
+
+  THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON
+  UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+  IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON
+  UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT-
+  ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
+  LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY
+  THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+
+  The name of Princeton University or Princeton may not be used in
+  advertising or publicity pertaining to distribution of the software
+  and/or database.  Title to copyright in this software, database and
+  any associated documentation shall at all times remain with
+  Princeton University and LICENSEE agrees to preserve same.
+
+The 50 level includes Brian's frequency class 1, words appearing in
+at least 5 of 12 of the dictionaries as indicated in the 12Dicts
+package, and uppercase words in at least 4 of the previous 12
+dictionaries.  A decent number of proper names is also included: The
+top 1000 male, female, and Last names from the 1990 Census report; a
+list of names sent to me by Alan Beale; and a few names that I added
+myself.  Finally a small list of abbreviations not commonly found in
+other word lists is included.
+
+The name files form the Census report is a government document which I
+don't think can be copyrighted.
+
+The name list from Alan Beale is also derived from the linux words
+list, which is derived from the DEC list.  He also added a bunch of
+miscellaneous names to the list, which he released to the Public Domain.
+
+The DEC Word list doesn't have a formal name.  It is labeled as "FILE:
+english.words; VERSION: DEC-SRC-92-04-05" and was put together by Jorge
+Stolfi <stolfi@src.dec.com> DEC Systems Research Center.  The DEC Word
+list has the following copyright statement:
+
+  (NON-)COPYRIGHT STATUS
+
+  To the best of my knowledge, all the files I used to build these
+  wordlists were available for public distribution and use, at least
+  for non-commercial purposes.  I have confirmed this assumption with
+  the authors of the lists, whenever they were known.
+
+  Therefore, it is safe to assume that the wordlists in this package
+  can also be freely copied, distributed, modified, and used for
+  personal, educational, and research purposes.  (Use of these files in
+  commercial products may require written permission from DEC and/or
+  the authors of the original lists.)
+
+  Whenever you distribute any of these wordlists, please distribute
+  also the accompanying README file.  If you distribute a modified
+  copy of one of these wordlists, please include the original README
+  file with a note explaining your modifications.  Your users will
+  surely appreciate that.
+
+  (NO-)WARRANTY DISCLAIMER
+
+  These files, like the original wordlists on which they are based,
+  are still very incomplete, uneven, and inconsistent, and probably
+  contain many errors.  They are offered "as is" without any warranty
+  of correctness or fitness for any particular purpose.  Neither I nor
+  my employer can be held responsible for any losses or damages that
+  may result from their use.
+
+However since this Word List is used in the linux.words package which
+the author claims is free of any copyright I assume it is OK to use
+for most purposes.  If you want to use this in a commercial project
+and this concerns you the information from the DEC word list can
+easily be removed without much sacrifice in quality as only the name
+lists were used.
+
+The file special-jargon.50 uses common.lst and word.lst from the
+"Unofficial Jargon File Word Lists" which is derived from "The Jargon
+File".  All of which is in the Public Domain.  This file also contain
+a few extra UNIX terms which are found in the file "unix-terms" in the
+special/ directory.
+
+The 60 level includes Brian's frequency class 0 and all words
+appearing in at least 2 of the 12 dictionaries as indicated by the
+12Dicts package.  A large number of names are also included: The 4,946
+female names and 3,897 male names from the MWords package and the
+files "computer.names", "misc.names", and "org.names" from the DEC
+package.
+
+The 65 level includes words found in the Ispell "medium" word list.
+The Ispell word lists are under the same copyright of Ispell itself
+which is:
+
+  Copyright 1993, Geoff Kuenning, Granada Hills, CA
+  All rights reserved.
+
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  3. All modifications to the source code must be clearly marked as
+     such.  Binary redistributions based on modified source code
+     must be clearly marked as modified versions in the documentation
+     and/or other materials provided with the distribution.
+  4. All advertising materials mentioning features or use of this software
+     must display the following acknowledgment:
+     This product includes software developed by Geoff Kuenning and
+     other unpaid contributors.
+  5. The name of Geoff Kuenning may not be used to endorse or promote
+     products derived from this software without specific prior
+     written permission.
+
+  THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS
+  IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+  FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF
+  KUENNING OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+  POSSIBILITY OF SUCH DAMAGE.
+
+The 70 level includes the 74,550 common dictionary words and the 21,986 names
+list from the MWords package.  The common dictionary words, like those
+from the 12Dicts package, have had all likely inflections added.
+
+The 80 level includes the ENABLE word list, all the lists in the
+ENABLE supplement package (except for ABLE), the "UK Advanced Cryptics
+Dictionary" (UKACD), the list of signature words in from YAWL package,
+and the 10,196 places list from the MWords package.
+
+The ENABLE package, mainted by M\Cooper <thegrendel@theriver.com>,
+is in the Public Domain:
+
+  The ENABLE master word list, WORD.LST, is herewith formally released
+  into the Public Domain. Anyone is free to use it or distribute it in
+  any manner they see fit. No fee or registration is required for its
+  use nor are "contributions" solicited (if you feel you absolutely
+  must contribute something for your own peace of mind, the authors of
+  the ENABLE list ask that you make a donation on their behalf to your
+  favorite charity). This word list is our gift to the Scrabble
+  community, as an alternate to "official" word lists. Game designers
+  may feel free to incorporate the WORD.LST into their games. Please
+  mention the source and credit us as originators of the list. Note
+  that if you, as a game designer, use the WORD.LST in your product,
+  you may still copyright and protect your product, but you may *not*
+  legally copyright or in any way restrict redistribution of the
+  WORD.LST portion of your product. This *may* under law restrict your
+  rights to restrict your users' rights, but that is only fair.
+
+UKACD, by J Ross Beresford <ross@bryson.demon.co.uk>, is under the
+following copyright:
+
+  Copyright (c) J Ross Beresford 1993-1999. All Rights Reserved.
+
+  The following restriction is placed on the use of this publication:
+  if The UK Advanced Cryptics Dictionary is used in a software package
+  or redistributed in any form, the copyright notice must be
+  prominently displayed and the text of this document must be included
+  verbatim.
+
+  There are no other restrictions: I would like to see the list
+  distributed as widely as possible.
+
+The 95 level includes the 354,984 single words and 256,772 compound
+words from the MWords package, ABLE.LST from the ENABLE Supplement,
+and some additional words found in my part-of-speech database that
+were not found anywhere else.
+
+Accent information was taken from UKACD.
+
+My VARCON package was used to create the American, British, and
+Canadian word list. 
+
+Since the original word lists used in the VARCON package came from 
+the Ispell distribution they are under the Ispell copyright.
+
+The variant word lists were created from a list of variants found in
+the 12dicts supplement package as well as a list of variants I created
+myself.
+
+
+
+
+===================================================
+en_GB:
+This dictionary was initially based on a subset of the 
+original English wordlist created by Kevin Atkinson for 
+Pspell and  Aspell and thus is covered by his original 
+LGPL licence. 
+
+It has been extensively updated by David Bartlett, Brian Kelk
+and Andrew Brown:
+- numerous Americanism have been removed
+- numerous American spellings have been corrected
+- missing words have been added
+- many errors have been corrected
+- compound hyphenated words have been added where appropriate
+
+Valuable inputs to this process were received from many other 
+people - far too numerous to name. Serious thanks to you all
+for your greatly appreciated help.
+
+This word list is intended to be a good representation of
+current modern British English and thus it should be a good 
+basis for Commonwealth English in most countries of the world 
+outside North America.
+
+The affix file has been created completely from scratch
+by David Bartlett and Andrew Brown, based on the published 
+rules for MySpell and is also provided under the LGPL.
+
+In creating the affix rules an attempt has been made to 
+reproduce the most general rules for English word
+formation, rather than merely use it as a means to
+compress the size of the dictionary. It is hoped that this
+will facilitate future localisation to other variants of
+English.
+
+Please let David Bartlett <dwb@openoffice.org> know of any 
+errors that you find.
+
+The current release is R 1.18, 11/04/05
+===================================================
+en_NZ:
+I. Copyright
+II. Copying (Licence)
+----------------------------
+
+I. Copyright
+
+NZ English Dictionary v0.9 beta - Build 06SEP03
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+NB This is an initial version, please check:
+http://lingucomponent.openoffice.org/download_dictionary.html
+or
+http://www.girlza.com/dictionary/download.html
+for a final version, after a little while (no hurry).
+
+This dictionary is based on the en_GB Myspell dictionary 
+which in turn was initially based on a subset of the 
+original English wordlist created by Kevin Atkinson for 
+Pspell and  Aspell and thus is covered by his original 
+LGPL licence. 
+
+
+Introduction
+~~~~~~~~~~~~
+en_NZ.dic has been altered to include New Zealand places,
+including major cities and towns, and major suburbs. It
+also contains NZ words, organisations and expressions.
+
+en_NZ.aff has had a few REPlace strings added, but is
+basically unchanged.
+
+
+Acknowledgements
+~~~~~~~~~~~~~~~~
+Thanks must go to the original creators of the British
+dictionary, David Bartlett, Brian Kelk and Andrew Brown.
+
+I wouldn't have started this without seeing the Australian
+dictionary, thanks Kelvin Eldridge, Jean Hollis Weber and
+David Wilson.
+
+And thank you to all who've contributed to OpenOffice.org.
+
+
+License
+~~~~~~~
+This dictionary is covered by the GNU Lesser General Public
+License, viewable at http://www.gnu.org/copyleft/lesser.html
+
+
+Issues
+~~~~~~
+Many of the proper nouns already in the dictionary do not have
+an affix for 's.
+All my new words start after the z's of the original dictionary.
+
+
+Contact
+~~~~~~~
+Contact Tristan Burtenshaw (hooty@slingshot.co.nz) with any words,
+places or other suggestions for the dictionary.
+
+
+
+II. Copying
+
+		  GNU LESSER GENERAL PUBLIC LICENSE
+		       Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard.  To achieve this, non-free programs must be
+allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+		  GNU LESSER GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+			    NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+

+ 411 - 0
spell/README_ru.txt

@@ -0,0 +1,411 @@
+ru_RU
+Table of Contents
+===========
+README_1251
+LICENSE Txt
+README_ru_RU.txt
+README_koi.txt
+
+
+DICT ru RU ru_RU
+
+
+README_1251
+=========
+                  Словарь русского языка для MySpell
+
+Словарь подготовлен в рамках подпроекта 
+OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+Содержимое этого словаря ничем не отличается от орфографического словаря,
+разработанного для ispell Александром Лебедевым (Alexander Lebedev,
+swan@scon155.phys.msu.su).  По сути, это тот же словарь, в котором набор
+слов и affix-файл представлены в виде, пригодном для обработки myspell.
+
+При сборке настоящего пакета использован набор слов и affix-файл из пакета
+rus-ispell.tar.gz версии 0.99f7, содержащего свыше 129 тысяч базовых слов и
+более 1.241 миллиона словоформ.
+
+!!! Набор допустимых слов, предлагаемый для программ, основанных на MySpell,
+немного отличается от набора, который предлагается пользователям ispell из-за
+сделанного преобразования формата.  Следует иметь в виду, что из-за различия
+алгоритмов обработки данных программами MySpell и ispell нет абсолютной
+гарантии в идентичности получаемых ими результатов; в частности, для
+словаря русского языка известна по крайней мере одна ошибка, возникающая
+в MySpell и отсутствующая в ispell.
+
+С вопросами, касающимися работы MySpell, обращайтесь к главе проекта
+OpenOffice:Lingucomponent.
+
+При подготовке affix-файла русского словаря для MySpell приняли участие
+Анатолий Кирсанов (kiav@land.ru), Александр Рабцевич
+(alexander.v.rabtchevich@iaph.bas-net.by), Александр Лебедев
+(swan@scon155.phys.msu.su).
+
+Ссылки
+
+1. ispell
+
+http://ficus-www.cs.ucla.edu/geoff/ispell.html
+
+http://ficus-www.cs.ucla.edu/geoff/ispell-dictionaries.html#Russian-dicts
+
+ftp://scon155.phys.msu.su/pub/russian/ispell/rus-ispell.tar.gz
+
+Alexander Lebedev
+swan@scon155.phys.msu.su
+
+2. OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+ ftp://scon155.phys.msu.su/pub/russian/ispell/myspell/
+ 
+ http://whiteboard.openoffice.org/lingucomponent/dictionary.html
+
+3. OpenOffice:Lingucomponent
+ 
+ http://whiteboard.openoffice.org/lingucomponent
+
+
+LICENSE Txt
+============
+The main components of RUS-ISPELL package:
+
+    * the Russian affix file (russian.aff.koi) and
+    * a set of dictionaries (base.koi, abbrev.koi, computer.koi,
+      for_name.koi, geography.koi, rare.koi, science.koi)
+
+in their original encoding (koi8-r) and any other encoding produced
+from it as well as affix file and dictionaries prepared from the
+above files for MySpell spell checker are copyright (c) 1997-2004
+by Alexander Lebedev.
+
+Permission to use, copy, redistribute is granted.  Permission to
+redistribute modifications in patch form is granted.  Permission
+to redistribute binaries made of modified sources is granted.
+All other rights reserved.
+
+Alexander Lebedev
+<swan@scon155.phys.msu.su>
+
+
+
+README_ru_RU.txt
+=============
+
+                  Словарь русского языка для MySpell
+
+Словарь подготовлен в рамках подпроекта
+OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+Содержимое этого словаря ничем не отличается от орфографического словаря,
+разработанного для ispell Александром Лебедевым (Alexander Lebedev,
+swan@scon155.phys.msu.su).  По сути, это тот же словарь, в котором набор
+слов и affix-файл представлены в виде, пригодном для обработки myspell.
+
+При сборке настоящего пакета использован набор слов и affix-файл из пакета
+rus-ispell.tar.gz версии 0.99f7, содержащего свыше 129 тысяч базовых слов и
+более 1.241 миллиона словоформ.
+
+!!! Набор допустимых слов, предлагаемый для программ, основанных на MySpell,
+немного отличается от набора, который предлагается пользователям ispell из-за
+сделанного преобразования формата.  Следует иметь в виду, что из-за различия
+алгоритмов обработки данных программами MySpell и ispell нет абсолютной
+гарантии в идентичности получаемых ими результатов; в частности, для
+словаря русского языка известна по крайней мере одна ошибка, возникающая
+в MySpell и отсутствующая в ispell.
+
+С вопросами, касающимися работы MySpell, обращайтесь к главе проекта
+OpenOffice:Lingucomponent.
+
+При подготовке affix-файла русского словаря для MySpell приняли участие
+Анатолий Кирсанов (kiav@land.ru), Александр Рабцевич
+(alexander.v.rabtchevich@iaph.bas-net.by), Александр Лебедев
+(swan@scon155.phys.msu.su).
+
+Ссылки
+
+1. ispell
+
+http://ficus-www.cs.ucla.edu/geoff/ispell.html
+
+http://ficus-www.cs.ucla.edu/geoff/ispell-dictionaries.html#Russian-dicts
+
+ftp://scon155.phys.msu.su/pub/russian/ispell/rus-ispell.tar.gz
+
+Alexander Lebedev
+swan@scon155.phys.msu.su
+
+2. OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+ ftp://scon155.phys.msu.su/pub/russian/ispell/myspell/
+ 
+ http://whiteboard.openoffice.org/lingucomponent/dictionary.html
+
+3. OpenOffice:Lingucomponent
+ 
+ http://whiteboard.openoffice.org/lingucomponent
+
+
+
+README_koi.txt
+=================
+                  уМПЧБТШ ТХУУЛПЗП СЪЩЛБ ДМС MySpell
+
+уМПЧБТШ РПДЗПФПЧМЕО Ч ТБНЛБИ РПДРТПЕЛФБ
+OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+уПДЕТЦЙНПЕ ЬФПЗП УМПЧБТС ОЙЮЕН ОЕ ПФМЙЮБЕФУС ПФ ПТЖПЗТБЖЙЮЕУЛПЗП УМПЧБТС,
+ТБЪТБВПФБООПЗП ДМС ispell бМЕЛУБОДТПН мЕВЕДЕЧЩН (Alexander Lebedev,
+swan@scon155.phys.msu.su).  рП УХФЙ, ЬФП ФПФ ЦЕ УМПЧБТШ, Ч ЛПФПТПН ОБВПТ
+УМПЧ Й affix-ЖБКМ РТЕДУФБЧМЕОЩ Ч ЧЙДЕ, РТЙЗПДОПН ДМС ПВТБВПФЛЙ myspell.
+
+рТЙ УВПТЛЕ ОБУФПСЭЕЗП РБЛЕФБ ЙУРПМШЪПЧБО ОБВПТ УМПЧ Й affix-ЖБКМ ЙЪ РБЛЕФБ
+rus-ispell.tar.gz ЧЕТУЙЙ 0.99f7, УПДЕТЦБЭЕЗП УЧЩЫЕ 129 ФЩУСЮ ВБЪПЧЩИ УМПЧ Й
+ВПМЕЕ 1.241 НЙММЙПОБ УМПЧПЖПТН.
+
+!!! оБВПТ ДПРХУФЙНЩИ УМПЧ, РТЕДМБЗБЕНЩК ДМС РТПЗТБНН, ПУОПЧБООЩИ ОБ MySpell,
+ОЕНОПЗП ПФМЙЮБЕФУС ПФ ОБВПТБ, ЛПФПТЩК РТЕДМБЗБЕФУС РПМШЪПЧБФЕМСН ispell ЙЪ-ЪБ
+УДЕМБООПЗП РТЕПВТБЪПЧБОЙС ЖПТНБФБ.  уМЕДХЕФ ЙНЕФШ Ч ЧЙДХ, ЮФП ЙЪ-ЪБ ТБЪМЙЮЙС
+БМЗПТЙФНПЧ ПВТБВПФЛЙ ДБООЩИ РТПЗТБННБНЙ MySpell Й ispell ОЕФ БВУПМАФОПК
+ЗБТБОФЙЙ Ч ЙДЕОФЙЮОПУФЙ РПМХЮБЕНЩИ ЙНЙ ТЕЪХМШФБФПЧ; Ч ЮБУФОПУФЙ, ДМС
+УМПЧБТС ТХУУЛПЗП СЪЩЛБ ЙЪЧЕУФОБ РП ЛТБКОЕК НЕТЕ ПДОБ ПЫЙВЛБ, ЧПЪОЙЛБАЭБС
+Ч MySpell Й ПФУХФУФЧХАЭБС Ч ispell.
+
+у ЧПРТПУБНЙ, ЛБУБАЭЙНЙУС ТБВПФЩ MySpell, ПВТБЭБКФЕУШ Л ЗМБЧЕ РТПЕЛФБ
+OpenOffice:Lingucomponent.
+
+рТЙ РПДЗПФПЧЛЕ affix-ЖБКМБ ТХУУЛПЗП УМПЧБТС ДМС MySpell РТЙОСМЙ ХЮБУФЙЕ
+бОБФПМЙК лЙТУБОПЧ (kiav@land.ru), бМЕЛУБОДТ тБВГЕЧЙЮ
+(alexander.v.rabtchevich@iaph.bas-net.by), бМЕЛУБОДТ мЕВЕДЕЧ
+(swan@scon155.phys.msu.su).
+
+уУЩМЛЙ
+
+1. ispell
+
+http://ficus-www.cs.ucla.edu/geoff/ispell.html
+
+http://ficus-www.cs.ucla.edu/geoff/ispell-dictionaries.html#Russian-dicts
+
+ftp://scon155.phys.msu.su/pub/russian/ispell/rus-ispell.tar.gz
+
+Alexander Lebedev
+swan@scon155.phys.msu.su
+
+2. OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+ ftp://scon155.phys.msu.su/pub/russian/ispell/myspell/
+ 
+ http://whiteboard.openoffice.org/lingucomponent/dictionary.html
+
+3. OpenOffice:Lingucomponent
+ 
+ http://whiteboard.openoffice.org/lingucomponent
+===================================================
+ru_YO
+README_ru_RU_yo.txt
+README.koi
+README.1251
+LICENSE
+
+
+README_ru_RU_yo.txt
+===============
+
+                  Словарь русского языка для MySpell
+
+Словарь подготовлен в рамках подпроекта 
+OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+Содержимое этого словаря ничем не отличается от орфографического словаря,
+разработанного для ispell Александром Лебедевым (Alexander Lebedev,
+swan@scon155.phys.msu.su).  По сути, это тот же словарь, в котором набор
+слов и affix-файл представлены в виде, пригодном для обработки myspell.
+
+При сборке настоящего пакета использован набор слов и affix-файл из пакета
+rus-ispell.tar.gz версии 0.99f7, содержащего свыше 129 тысяч базовых слов и
+более 1.241 миллиона словоформ.
+
+!!! Набор допустимых слов, предлагаемый для программ, основанных на MySpell,
+немного отличается от набора, который предлагается пользователям ispell из-за
+сделанного преобразования формата.  Следует иметь в виду, что из-за различия
+алгоритмов обработки данных программами MySpell и ispell нет абсолютной
+гарантии в идентичности получаемых ими результатов; в частности, для
+словаря русского языка известна по крайней мере одна ошибка, возникающая
+в MySpell и отсутствующая в ispell.
+
+С вопросами, касающимися работы MySpell, обращайтесь к главе проекта
+OpenOffice:Lingucomponent.
+
+При подготовке affix-файла русского словаря для MySpell приняли участие
+Анатолий Кирсанов (kiav@land.ru), Александр Рабцевич
+(alexander.v.rabtchevich@iaph.bas-net.by), Александр Лебедев
+(swan@scon155.phys.msu.su).
+
+Ссылки
+
+1. ispell
+
+http://ficus-www.cs.ucla.edu/geoff/ispell.html
+
+http://ficus-www.cs.ucla.edu/geoff/ispell-dictionaries.html#Russian-dicts
+
+ftp://scon155.phys.msu.su/pub/russian/ispell/rus-ispell.tar.gz
+
+Alexander Lebedev
+swan@scon155.phys.msu.su
+
+2. OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+ ftp://scon155.phys.msu.su/pub/russian/ispell/myspell/
+ 
+ http://whiteboard.openoffice.org/lingucomponent/dictionary.html
+
+3. OpenOffice:Lingucomponent
+ 
+ http://whiteboard.openoffice.org/lingucomponent
+
+
+
+README.koi
+============
+
+                  уМПЧБТШ ТХУУЛПЗП СЪЩЛБ ДМС MySpell
+
+уМПЧБТШ РПДЗПФПЧМЕО Ч ТБНЛБИ РПДРТПЕЛФБ 
+OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+уПДЕТЦЙНПЕ ЬФПЗП УМПЧБТС ОЙЮЕН ОЕ ПФМЙЮБЕФУС ПФ ПТЖПЗТБЖЙЮЕУЛПЗП УМПЧБТС,
+ТБЪТБВПФБООПЗП ДМС ispell бМЕЛУБОДТПН мЕВЕДЕЧЩН (Alexander Lebedev,
+swan@scon155.phys.msu.su).  рП УХФЙ, ЬФП ФПФ ЦЕ УМПЧБТШ, Ч ЛПФПТПН ОБВПТ
+УМПЧ Й affix-ЖБКМ РТЕДУФБЧМЕОЩ Ч ЧЙДЕ, РТЙЗПДОПН ДМС ПВТБВПФЛЙ myspell.
+
+рТЙ УВПТЛЕ ОБУФПСЭЕЗП РБЛЕФБ ЙУРПМШЪПЧБО ОБВПТ УМПЧ Й affix-ЖБКМ ЙЪ РБЛЕФБ
+rus-ispell.tar.gz ЧЕТУЙЙ 0.99f7, УПДЕТЦБЭЕЗП УЧЩЫЕ 129 ФЩУСЮ ВБЪПЧЩИ УМПЧ Й
+ВПМЕЕ 1.241 НЙММЙПОБ УМПЧПЖПТН.
+
+!!! оБВПТ ДПРХУФЙНЩИ УМПЧ, РТЕДМБЗБЕНЩК ДМС РТПЗТБНН, ПУОПЧБООЩИ ОБ MySpell,
+ОЕНОПЗП ПФМЙЮБЕФУС ПФ ОБВПТБ, ЛПФПТЩК РТЕДМБЗБЕФУС РПМШЪПЧБФЕМСН ispell ЙЪ-ЪБ
+УДЕМБООПЗП РТЕПВТБЪПЧБОЙС ЖПТНБФБ.  уМЕДХЕФ ЙНЕФШ Ч ЧЙДХ, ЮФП ЙЪ-ЪБ ТБЪМЙЮЙС
+БМЗПТЙФНПЧ ПВТБВПФЛЙ ДБООЩИ РТПЗТБННБНЙ MySpell Й ispell ОЕФ БВУПМАФОПК
+ЗБТБОФЙЙ Ч ЙДЕОФЙЮОПУФЙ РПМХЮБЕНЩИ ЙНЙ ТЕЪХМШФБФПЧ; Ч ЮБУФОПУФЙ, ДМС
+УМПЧБТС ТХУУЛПЗП СЪЩЛБ ЙЪЧЕУФОБ РП ЛТБКОЕК НЕТЕ ПДОБ ПЫЙВЛБ, ЧПЪОЙЛБАЭБС
+Ч MySpell Й ПФУХФУФЧХАЭБС Ч ispell.
+
+у ЧПРТПУБНЙ, ЛБУБАЭЙНЙУС ТБВПФЩ MySpell, ПВТБЭБКФЕУШ Л ЗМБЧЕ РТПЕЛФБ
+OpenOffice:Lingucomponent.
+
+рТЙ РПДЗПФПЧЛЕ affix-ЖБКМБ ТХУУЛПЗП УМПЧБТС ДМС MySpell РТЙОСМЙ ХЮБУФЙЕ
+бОБФПМЙК лЙТУБОПЧ (kiav@land.ru), бМЕЛУБОДТ тБВГЕЧЙЮ
+(alexander.v.rabtchevich@iaph.bas-net.by), бМЕЛУБОДТ мЕВЕДЕЧ
+(swan@scon155.phys.msu.su).
+
+уУЩМЛЙ
+
+1. ispell
+
+http://ficus-www.cs.ucla.edu/geoff/ispell.html
+
+http://ficus-www.cs.ucla.edu/geoff/ispell-dictionaries.html#Russian-dicts
+
+ftp://scon155.phys.msu.su/pub/russian/ispell/rus-ispell.tar.gz
+
+Alexander Lebedev
+swan@scon155.phys.msu.su
+
+2. OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+ ftp://scon155.phys.msu.su/pub/russian/ispell/myspell/
+ 
+ http://whiteboard.openoffice.org/lingucomponent/dictionary.html
+
+3. OpenOffice:Lingucomponent
+ 
+ http://whiteboard.openoffice.org/lingucomponent
+
+
+
+
+
+README.1251
+============
+
+                  Словарь русского языка для MySpell
+
+Словарь подготовлен в рамках подпроекта 
+OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+Содержимое этого словаря ничем не отличается от орфографического словаря,
+разработанного для ispell Александром Лебедевым (Alexander Lebedev,
+swan@scon155.phys.msu.su).  По сути, это тот же словарь, в котором набор
+слов и affix-файл представлены в виде, пригодном для обработки myspell.
+
+При сборке настоящего пакета использован набор слов и affix-файл из пакета
+rus-ispell.tar.gz версии 0.99f7, содержащего свыше 129 тысяч базовых слов и
+более 1.241 миллиона словоформ.
+
+!!! Набор допустимых слов, предлагаемый для программ, основанных на MySpell,
+немного отличается от набора, который предлагается пользователям ispell из-за
+сделанного преобразования формата.  Следует иметь в виду, что из-за различия
+алгоритмов обработки данных программами MySpell и ispell нет абсолютной
+гарантии в идентичности получаемых ими результатов; в частности, для
+словаря русского языка известна по крайней мере одна ошибка, возникающая
+в MySpell и отсутствующая в ispell.
+
+С вопросами, касающимися работы MySpell, обращайтесь к главе проекта
+OpenOffice:Lingucomponent.
+
+При подготовке affix-файла русского словаря для MySpell приняли участие
+Анатолий Кирсанов (kiav@land.ru), Александр Рабцевич
+(alexander.v.rabtchevich@iaph.bas-net.by), Александр Лебедев
+(swan@scon155.phys.msu.su).
+
+Ссылки
+
+1. ispell
+
+http://ficus-www.cs.ucla.edu/geoff/ispell.html
+
+http://ficus-www.cs.ucla.edu/geoff/ispell-dictionaries.html#Russian-dicts
+
+ftp://scon155.phys.msu.su/pub/russian/ispell/rus-ispell.tar.gz
+
+Alexander Lebedev
+swan@scon155.phys.msu.su
+
+2. OpenOffice:Lingucomponent:Spell Checking / Dictionaries
+
+ ftp://scon155.phys.msu.su/pub/russian/ispell/myspell/
+ 
+ http://whiteboard.openoffice.org/lingucomponent/dictionary.html
+
+3. OpenOffice:Lingucomponent
+ 
+ http://whiteboard.openoffice.org/lingucomponent
+
+
+
+
+
+LICENSE
+=======
+
+The main components of RUS-ISPELL package:
+
+    * the Russian affix file (russian.aff.koi) and
+    * a set of dictionaries (base.koi, abbrev.koi, computer.koi,
+      for_name.koi, geography.koi, rare.koi, science.koi)
+
+in their original encoding (koi8-r) and any other encoding produced
+from it as well as affix file and dictionaries prepared from the
+above files for MySpell spell checker are copyright (c) 1997-2004
+by Alexander Lebedev.
+
+Permission to use, copy, redistribute is granted.  Permission to
+redistribute modifications in patch form is granted.  Permission
+to redistribute binaries made of modified sources is granted.
+All other rights reserved.
+
+Alexander Lebedev
+<swan@scon155.phys.msu.su>
+

BIN
spell/en.ascii.spl


BIN
spell/en.ascii.sug


BIN
spell/en.latin1.spl


BIN
spell/en.latin1.sug


BIN
spell/en.utf-8.spl


BIN
spell/en.utf-8.sug


Разница между файлами не показана из-за своего большого размера
+ 2680 - 0
spell/en/en_AU.diff


+ 459 - 0
spell/en/en_CA.diff

@@ -0,0 +1,459 @@
+*** en_CA.orig.aff	Fri Apr 15 13:20:36 2005
+--- en_CA.aff	Wed Jan 11 22:03:23 2006
+***************
+*** 3,4 ****
+--- 3,141 ----
+  
++ FOL  àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ LOW  àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ UPP  ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
++ 
++ MIDWORD	'
++ 
++ RARE ?
++ BAD !
++ 
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++ 
++ # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
++ 
++ SAL AH(AEIOUY)-^         *H
++ SAL AR(AEIOUY)-^         *R
++ SAL A(HR)^               *
++ SAL A^                   *
++ SAL AH(AEIOUY)-          H
++ SAL AR(AEIOUY)-          R
++ SAL A(HR)                _
++ SAL À^                   *
++ SAL Å^                   *
++ SAL BB-                  _
++ SAL B                    B
++ SAL CQ-                  _
++ SAL CIA                  X
++ SAL CH                   X
++ SAL C(EIY)-              S
++ SAL CK                   K
++ SAL COUGH^               KF
++ SAL CC<                  C
++ SAL C                    K
++ SAL DG(EIY)              K
++ SAL DD-                  _
++ SAL D                    T
++ SAL É<                   E
++ SAL EH(AEIOUY)-^         *H
++ SAL ER(AEIOUY)-^         *R
++ SAL E(HR)^               *
++ SAL ENOUGH^$             *NF
++ SAL E^                   *
++ SAL EH(AEIOUY)-          H
++ SAL ER(AEIOUY)-          R
++ SAL E(HR)                _
++ SAL FF-                  _
++ SAL F                    F
++ SAL GN^                  N
++ SAL GN$                  N
++ SAL GNS$                 NS
++ SAL GNED$                N
++ SAL GH(AEIOUY)-          K
++ SAL GH                   _
++ SAL GG9                  K
++ SAL G                    K
++ SAL H                    H
++ SAL IH(AEIOUY)-^         *H
++ SAL IR(AEIOUY)-^         *R
++ SAL I(HR)^               *
++ SAL I^                   *
++ SAL ING6                 N
++ SAL IH(AEIOUY)-          H
++ SAL IR(AEIOUY)-          R
++ SAL I(HR)                _
++ SAL J                    K
++ SAL KN^                  N
++ SAL KK-                  _
++ SAL K                    K
++ SAL LAUGH^               LF
++ SAL LL-                  _
++ SAL L                    L
++ SAL MB$                  M
++ SAL MM                   M
++ SAL M                    M
++ SAL NN-                  _
++ SAL N                    N
++ SAL OH(AEIOUY)-^         *H
++ SAL OR(AEIOUY)-^         *R
++ SAL O(HR)^               *
++ SAL O^                   *
++ SAL OH(AEIOUY)-          H
++ SAL OR(AEIOUY)-          R
++ SAL O(HR)                _
++ SAL PH                   F
++ SAL PN^                  N
++ SAL PP-                  _
++ SAL P                    P
++ SAL Q                    K
++ SAL RH^                  R
++ SAL ROUGH^               RF
++ SAL RR-                  _
++ SAL R                    R
++ SAL SCH(EOU)-            SK
++ SAL SC(IEY)-             S
++ SAL SH                   X
++ SAL SI(AO)-              X
++ SAL SS-                  _
++ SAL S                    S
++ SAL TI(AO)-              X
++ SAL TH                   @
++ SAL TCH--                _
++ SAL TOUGH^               TF
++ SAL TT-                  _
++ SAL T                    T
++ SAL UH(AEIOUY)-^         *H
++ SAL UR(AEIOUY)-^         *R
++ SAL U(HR)^               *
++ SAL U^                   *
++ SAL UH(AEIOUY)-          H
++ SAL UR(AEIOUY)-          R
++ SAL U(HR)                _
++ SAL V^                   W
++ SAL V                    F
++ SAL WR^                  R
++ SAL WH^                  W
++ SAL W(AEIOU)-            W
++ SAL X^                   S
++ SAL X                    KS
++ SAL Y(AEIOU)-            Y
++ SAL ZZ-                  _
++ SAL Z                    S
++ 
++ # When soundfolding "th" is turned into "@".  When this is mistyped as "ht" it
++ # soundfolds to "ht".  This difference is too big, thus use REP items to lower
++ # the score.
++ REPSAL 2
++ REPSAL ht @
++ REPSAL @ ht
++ 
+  PFX A Y 1
+***************
+*** 30,33 ****
+  SFX N   e     ion        e
+! SFX N   y     ication    y 
+! SFX N   0     en         [^ey] 
+  
+--- 167,170 ----
+  SFX N   e     ion        e
+! SFX N   y     ication    y
+! SFX N   0     en         [^ey]
+  
+***************
+*** 40,42 ****
+  SFX H   y     ieth       y
+! SFX H   0     th         [^y] 
+  
+--- 177,179 ----
+  SFX H   y     ieth       y
+! SFX H   0     th         [^y]
+  
+***************
+*** 47,49 ****
+  SFX G   e     ing        e
+! SFX G   0     ing        [^e] 
+  
+--- 184,186 ----
+  SFX G   e     ing        e
+! SFX G   0     ing        [^e]
+  
+*** en_CA.orig.dic	Sat Apr 16 14:40:06 2005
+--- en_CA.dic	Wed Mar  8 13:14:35 2006
+***************
+*** 46,48 ****
+  R/G
+- S
+  easternmost
+--- 46,47 ----
+***************
+*** 59,66 ****
+  a
+! b/KGDT
+  Emmey/M
+  baggagemen
+! c/EAS
+  antimalarial/S
+- d/AMV
+  enveloper/M
+--- 58,65 ----
+  a
+! probing
+! probed
+  Emmey/M
+  baggagemen
+! recs
+  antimalarial/S
+  enveloper/M
+***************
+*** 68,98 ****
+  Balearic/M
+! e/FDSM
+! f/BVXT
+  Karamazov/M
+! g/VXB
+! h/VEMS
+! i
+  Braille/DSGM
+- j/FTV
+  transceiver/MS
+! k/FGISE
+  promising/YU
+! l/XTJGV
+  Emmet/M
+! m/XG
+! n/FKT
+! o
+  xviii
+  fitting/PSY
+! p/KRT
+! q
+! r/GVTJ
+! s/FK
+  fatting
+! t/BGXTJ
+  Franciska/M
+  oedipal
+! u
+! v/VTK
+! w/JXTGV
+  youths
+--- 67,94 ----
+  Balearic/M
+! fens
+  Karamazov/M
+! gens
+  Braille/DSGM
+  transceiver/MS
+! inking
+! disking
+! conking
+! inks
+! disks
+! conks
+  promising/YU
+! lings
+  Emmet/M
+! ming
+! pron
+  xviii
+  fitting/PSY
+! cons
+  fatting
+! tings
+  Franciska/M
+  oedipal
+! vive
+! wens
+! wings
+  youths
+***************
+*** 100,103 ****
+  x
+! y/F
+! z/JGT
+  crumby/RT
+--- 96,98 ----
+  x
+! zings
+  crumby/RT
+***************
+*** 714,715 ****
+--- 709,711 ----
+  silty/RT
++ conj.
+  conjectural/Y
+***************
+*** 3145,3146 ****
+--- 3141,3143 ----
+  semester/MS
++ etc.
+  etch/GZSRDJ
+***************
+*** 6190,6191 ****
+--- 6187,6190 ----
+  Paula/M
++ coned
++ cone/MS
+  coneflower/M
+***************
+*** 7022,7024 ****
+  DA
+- DB
+  DC
+--- 7021,7022 ----
+***************
+*** 7395,7397 ****
+  rec
+! red/YPS
+  Eamon/M
+--- 7393,7395 ----
+  rec
+! red/YPSM
+  Eamon/M
+***************
+*** 8388,8390 ****
+  slotting
+- ON
+  OR
+--- 8386,8387 ----
+***************
+*** 9125,9127 ****
+  perchance
+- rte
+  hastiness/MS
+--- 9122,9123 ----
+***************
+*** 10603,10604 ****
+--- 10599,10603 ----
+  dB/M
++ dBi
++ dBm
++ dBd
+  Hewet/M
+***************
+*** 10615,10617 ****
+  Garold/M
+- db
+  tollhouse/M
+--- 10614,10615 ----
+***************
+*** 11017,11019 ****
+  hr
+- ht
+  MCI/M
+--- 11015,11016 ----
+***************
+*** 11609,11611 ****
+  demureness/SM
+! nd/A
+  MIA
+--- 11606,11608 ----
+  demureness/SM
+! nd
+  MIA
+***************
+*** 13669,13671 ****
+  engross/LDRSG
+! hobbit
+  certainty/MUS
+--- 13666,13668 ----
+  engross/LDRSG
+! hobbit/MS
+  certainty/MUS
+***************
+*** 14434,14435 ****
+--- 14431,14433 ----
+  pompom/MS
++ pompon/M
+  Devland/M
+***************
+*** 19265,19267 ****
+  bloodstone/M
+! cetera/S
+  storm/SGZRDM
+--- 19263,19265 ----
+  bloodstone/M
+! et cetera/S
+  storm/SGZRDM
+***************
+*** 20162,20164 ****
+  Hansel/M
+! ring/GZJDRM
+  Hansen/M
+--- 20160,20162 ----
+  Hansel/M
+! ring/GZJDRMS
+  Hansen/M
+***************
+*** 26960,26965 ****
+  Wisenheimer/M
+! disc/GDM
+  horticulturist/SM
+  isotropically
+! dish/DG
+  disburser/M
+--- 26958,26963 ----
+  Wisenheimer/M
+! disc/GDMS
+  horticulturist/SM
+  isotropically
+! dish/DGMS
+  disburser/M
+***************
+*** 28157,28158 ****
+--- 28155,28157 ----
+  pneumonia/MS
++ pneumonic
+  Socratic/S
+***************
+*** 34999,35001 ****
+  claque/MS
+- etc
+  Chad/M
+--- 34998,34999 ----
+***************
+*** 36707,36708 ****
+--- 36705,36707 ----
+  Moody/M
++ Moolenaar/M
+  Bresenham/M
+***************
+*** 40455,40457 ****
+  proneness/MS
+! transl
+  Conchita/M
+--- 40454,40456 ----
+  proneness/MS
+! transl.
+  Conchita/M
+***************
+*** 50272,50273 ****
+--- 50271,50273 ----
+  Dutch/M
++ Farsi
+  Sharon/M
+***************
+*** 52565,52567 ****
+  hatchery/MS
+! vim/SM
+  compatriot/MS
+--- 52565,52568 ----
+  hatchery/MS
+! Vim/SM
+! vim/?
+  compatriot/MS
+***************
+*** 53490,53491 ****
+--- 53491,53493 ----
+  unsearchable
++ searchable
+  felicitous/IY
+***************
+*** 62341 ****
+--- 62343,62354 ----
+  data/M
++ et al.
++ the the/!
++ and and/!
++ a a/!
++ a an/!
++ an a/!
++ an an/!
++ PayPal
++ Google
++ e.g.
++ TCP\/IP

Разница между файлами не показана из-за своего большого размера
+ 2573 - 0
spell/en/en_GB.diff


Разница между файлами не показана из-за своего большого размера
+ 2695 - 0
spell/en/en_NZ.diff


+ 598 - 0
spell/en/en_US.diff

@@ -0,0 +1,598 @@
+*** en_US.orig.aff	Fri Apr 15 13:20:36 2005
+--- en_US.aff	Wed Jan 11 22:03:34 2006
+***************
+*** 3,4 ****
+--- 3,141 ----
+  
++ FOL  àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ LOW  àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
++ UPP  ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
++ 
++ MIDWORD	'
++ 
++ RARE ?
++ BAD !
++ 
++ MAP 9
++ MAP aàáâãäå
++ MAP eèéêë
++ MAP iìíîï
++ MAP oòóôõö
++ MAP uùúûü
++ MAP nñ
++ MAP cç
++ MAP yÿý
++ MAP sß
++ 
++ # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
++ 
++ SAL AH(AEIOUY)-^         *H
++ SAL AR(AEIOUY)-^         *R
++ SAL A(HR)^               *
++ SAL A^                   *
++ SAL AH(AEIOUY)-          H
++ SAL AR(AEIOUY)-          R
++ SAL A(HR)                _
++ SAL À^                   *
++ SAL Å^                   *
++ SAL BB-                  _
++ SAL B                    B
++ SAL CQ-                  _
++ SAL CIA                  X
++ SAL CH                   X
++ SAL C(EIY)-              S
++ SAL CK                   K
++ SAL COUGH^               KF
++ SAL CC<                  C
++ SAL C                    K
++ SAL DG(EIY)              K
++ SAL DD-                  _
++ SAL D                    T
++ SAL É<                   E
++ SAL EH(AEIOUY)-^         *H
++ SAL ER(AEIOUY)-^         *R
++ SAL E(HR)^               *
++ SAL ENOUGH^$             *NF
++ SAL E^                   *
++ SAL EH(AEIOUY)-          H
++ SAL ER(AEIOUY)-          R
++ SAL E(HR)                _
++ SAL FF-                  _
++ SAL F                    F
++ SAL GN^                  N
++ SAL GN$                  N
++ SAL GNS$                 NS
++ SAL GNED$                N
++ SAL GH(AEIOUY)-          K
++ SAL GH                   _
++ SAL GG9                  K
++ SAL G                    K
++ SAL H                    H
++ SAL IH(AEIOUY)-^         *H
++ SAL IR(AEIOUY)-^         *R
++ SAL I(HR)^               *
++ SAL I^                   *
++ SAL ING6                 N
++ SAL IH(AEIOUY)-          H
++ SAL IR(AEIOUY)-          R
++ SAL I(HR)                _
++ SAL J                    K
++ SAL KN^                  N
++ SAL KK-                  _
++ SAL K                    K
++ SAL LAUGH^               LF
++ SAL LL-                  _
++ SAL L                    L
++ SAL MB$                  M
++ SAL MM                   M
++ SAL M                    M
++ SAL NN-                  _
++ SAL N                    N
++ SAL OH(AEIOUY)-^         *H
++ SAL OR(AEIOUY)-^         *R
++ SAL O(HR)^               *
++ SAL O^                   *
++ SAL OH(AEIOUY)-          H
++ SAL OR(AEIOUY)-          R
++ SAL O(HR)                _
++ SAL PH                   F
++ SAL PN^                  N
++ SAL PP-                  _
++ SAL P                    P
++ SAL Q                    K
++ SAL RH^                  R
++ SAL ROUGH^               RF
++ SAL RR-                  _
++ SAL R                    R
++ SAL SCH(EOU)-            SK
++ SAL SC(IEY)-             S
++ SAL SH                   X
++ SAL SI(AO)-              X
++ SAL SS-                  _
++ SAL S                    S
++ SAL TI(AO)-              X
++ SAL TH                   @
++ SAL TCH--                _
++ SAL TOUGH^               TF
++ SAL TT-                  _
++ SAL T                    T
++ SAL UH(AEIOUY)-^         *H
++ SAL UR(AEIOUY)-^         *R
++ SAL U(HR)^               *
++ SAL U^                   *
++ SAL UH(AEIOUY)-          H
++ SAL UR(AEIOUY)-          R
++ SAL U(HR)                _
++ SAL V^                   W
++ SAL V                    F
++ SAL WR^                  R
++ SAL WH^                  W
++ SAL W(AEIOU)-            W
++ SAL X^                   S
++ SAL X                    KS
++ SAL Y(AEIOU)-            Y
++ SAL ZZ-                  _
++ SAL Z                    S
++ 
++ # When soundfolding "th" is turned into "@".  When this is mistyped as "ht" it
++ # soundfolds to "ht".  This difference is too big, thus use REP items to lower
++ # the score.
++ REPSAL 2
++ REPSAL ht @
++ REPSAL @ ht
++ 
+  PFX A Y 1
+***************
+*** 30,33 ****
+  SFX N   e     ion        e
+! SFX N   y     ication    y 
+! SFX N   0     en         [^ey] 
+  
+--- 167,170 ----
+  SFX N   e     ion        e
+! SFX N   y     ication    y
+! SFX N   0     en         [^ey]
+  
+***************
+*** 40,42 ****
+  SFX H   y     ieth       y
+! SFX H   0     th         [^y] 
+  
+--- 177,179 ----
+  SFX H   y     ieth       y
+! SFX H   0     th         [^y]
+  
+***************
+*** 47,49 ****
+  SFX G   e     ing        e
+! SFX G   0     ing        [^e] 
+  
+--- 184,186 ----
+  SFX G   e     ing        e
+! SFX G   0     ing        [^e]
+  
+***************
+*** 99,101 ****
+  
+! REP 88
+  REP a ei
+--- 236,238 ----
+  
+! REP 91
+  REP a ei
+***************
+*** 137,138 ****
+--- 274,277 ----
+  REP uy i
++ REP y ie
++ REP ie y
+  REP i ee
+***************
+*** 174,175 ****
+--- 313,315 ----
+  REP ew ue
++ REP uf ough
+  REP uff ough
+***************
+*** 188 ****
+--- 328,332 ----
+  REP shun cion
++ REP an_a a
++ REP an_a an
++ REP a_an a
++ REP a_an an
+*** en_US.orig.dic	Fri Apr 15 13:20:36 2005
+--- en_US.dic	Wed Mar  8 13:14:43 2006
+***************
+*** 1,2 ****
+! 62076
+  a
+--- 1,2 ----
+! 62078
+  a
+***************
+*** 5944,5946 ****
+  bk
+! b/KGD
+  Bk/M
+--- 5944,5947 ----
+  bk
+! probing
+! probed
+  Bk/M
+***************
+*** 9007,9009 ****
+  Cazzie/M
+- c/B
+  CB
+--- 9008,9009 ----
+***************
+*** 9233,9235 ****
+  cetacean/S
+- cetera/S
+  Cetus/M
+--- 9233,9234 ----
+***************
+*** 11575,11576 ****
+--- 11574,11577 ----
+  conduit/MS
++ coned
++ cone/MS
+  coneflower/M
+***************
+*** 11712,11713 ****
+--- 11713,11715 ----
+  coniferous
++ conj.
+  conjectural/Y
+***************
+*** 14038,14043 ****
+  dazzling/Y
+- db
+- DB
+  dbl
+  dB/M
+  DBMS
+--- 14040,14046 ----
+  dazzling/Y
+  dbl
+  dB/M
++ dBi
++ dBm
++ dBd
+  DBMS
+***************
+*** 15464,15466 ****
+  dingbat/MS
+! ding/GD
+  dinghy/SM
+--- 15467,15469 ----
+  dingbat/MS
+! ding/GDS
+  dinghy/SM
+***************
+*** 15690,15692 ****
+  dishevelment/MS
+! dish/GD
+  dishonest
+--- 15693,15695 ----
+  dishevelment/MS
+! dish/GDMS
+  dishonest
+***************
+*** 15973,15975 ****
+  djellaba/S
+- d/JGVX
+  Djibouti/M
+--- 15976,15977 ----
+***************
+*** 16911,16912 ****
+--- 16913,16915 ----
+  dusty/RPT
++ Farsi
+  Dutch/M
+***************
+*** 17357,17359 ****
+  EFL
+- e/FMDS
+  Efrain/M
+--- 17360,17361 ----
+***************
+*** 18780,18782 ****
+  estuary/SM
+! et
+  ET
+--- 18782,18785 ----
+  estuary/SM
+! et cetera/S
+! et al.
+  ET
+***************
+*** 18785,18787 ****
+  eta/SM
+! etc
+  etcetera/SM
+--- 18788,18790 ----
+  eta/SM
+! etc.
+  etcetera/SM
+***************
+*** 20559,20561 ****
+  Fiori/M
+- f/IRAC
+  firearm/SM
+--- 20562,20563 ----
+***************
+*** 24402,24404 ****
+  guzzler/M
+! g/VBX
+  Gwalior/M
+--- 24404,24406 ----
+  guzzler/M
+! gens
+  Gwalior/M
+***************
+*** 25473,25475 ****
+  hemp/MNS
+- h/EMS
+  hemstitch/DSMG
+--- 25475,25476 ----
+***************
+*** 25963,25965 ****
+  hobbing
+! hobbit
+  hobbler/M
+--- 25964,25966 ----
+  hobbing
+! hobbit/MS
+  hobbler/M
+***************
+*** 26524,26526 ****
+  HST
+- ht
+  HTML
+--- 26525,26526 ----
+***************
+*** 26942,26944 ****
+  Hz
+- i
+  I
+--- 26942,26943 ----
+***************
+*** 29627,29629 ****
+  Jezebel/MS
+- j/F
+  JFK/M
+--- 29626,29627 ----
+***************
+*** 30578,30580 ****
+  keyword/SM
+! k/FGEIS
+  kg
+--- 30576,30583 ----
+  keyword/SM
+! inking
+! disking
+! conking
+! inks
+! disks
+! conks
+  kg
+***************
+*** 32694,32696 ****
+  Lizzy/M
+! l/JGVXT
+  Ljubljana/M
+--- 32697,32699 ----
+  Lizzy/M
+! lings
+  Ljubljana/M
+***************
+*** 34456,34458 ****
+  mash/JGZMSRD
+! m/ASK
+  masked/U
+--- 34459,34462 ----
+  mash/JGZMSRD
+! rems
+! prom/S
+  masked/U
+***************
+*** 34746,34747 ****
+--- 34750,34753 ----
+  Mb
++ Mbyte
++ Mbit
+  MB
+***************
+*** 36605,36606 ****
+--- 36611,36613 ----
+  Moog
++ Moolenaar/M
+  moo/GSD
+***************
+*** 38871,38873 ****
+  NSF
+- n/T
+  NT
+--- 38878,38879 ----
+***************
+*** 39011,39013 ****
+  NZ
+- o
+  O
+--- 39017,39018 ----
+***************
+*** 39532,39534 ****
+  om/XN
+- ON
+  onanism/M
+--- 39537,39538 ----
+***************
+*** 42508,42510 ****
+  pinfeather/SM
+! ping/GDRM
+  pinheaded/P
+--- 42512,42514 ----
+  pinfeather/SM
+! ping/GDRMS
+  pinheaded/P
+***************
+*** 42983,42984 ****
+--- 42987,42989 ----
+  pneumonia/MS
++ pneumonic
+  PO
+***************
+*** 43216,43218 ****
+  pompom/SM
+! pompon's
+  pomposity/MS
+--- 43221,43223 ----
+  pompom/SM
+! pompon/M
+  pomposity/MS
+***************
+*** 44940,44942 ****
+  PX
+- p/XTGJ
+  Pygmalion/M
+--- 44945,44946 ----
+***************
+*** 44983,44985 ****
+  pyx/MDSG
+- q
+  Q
+--- 44987,44988 ----
+***************
+*** 46507,46509 ****
+  Renault/MS
+- rend
+  renderer/M
+--- 46510,46511 ----
+***************
+*** 47258,47260 ****
+  ringer/M
+! ring/GZJDRM
+  ringing/Y
+--- 47260,47262 ----
+  ringer/M
+! ring/GZJDRMS
+  ringing/Y
+***************
+*** 47857,47862 ****
+  rt
+- rte
+  Rte
+  RTFM
+- r/TGVJ
+  Rubaiyat/M
+--- 47859,47862 ----
+***************
+*** 48085,48087 ****
+  Ryun/M
+- S
+  SA
+--- 48085,48086 ----
+***************
+*** 54450,54452 ****
+  swung
+! s/XJBG
+  sybarite/MS
+--- 54449,54451 ----
+  swung
+! sings
+  sybarite/MS
+***************
+*** 56906,56908 ****
+  transit/SGVMD
+! transl
+  translatability/M
+--- 56905,56907 ----
+  transit/SGVMD
+! transl.
+  translatability/M
+***************
+*** 57728,57730 ****
+  TX
+! t/XTJBG
+  Tybalt/M
+--- 57727,57729 ----
+  TX
+! tings
+  Tybalt/M
+***************
+*** 57809,57811 ****
+  Tzeltal/M
+- u
+  U
+--- 57808,57809 ----
+***************
+*** 58494,58495 ****
+--- 58492,58494 ----
+  unsearchable
++ searchable
+  unseasonal
+***************
+*** 59072,59074 ****
+  vast/PTSYR
+! v/ASV
+  VAT
+--- 59071,59073 ----
+  vast/PTSYR
+! revs
+  VAT
+***************
+*** 59538,59540 ****
+  vi/MDR
+! vim/MS
+  vinaigrette/MS
+--- 59537,59540 ----
+  vi/MDR
+! Vim/MS
+! vim/?
+  vinaigrette/MS
+***************
+*** 61534,61536 ****
+  WWW
+! w/XTJGV
+  WY
+--- 61534,61537 ----
+  WWW
+! wens
+! wings
+  WY
+***************
+*** 61750,61752 ****
+  yew/SM
+- y/F
+  Yggdrasil/M
+--- 61751,61752 ----
+***************
+*** 62058,62060 ****
+  Zsigmondy/M
+! z/TGJ
+  Zubenelgenubi/M
+--- 62058,62060 ----
+  Zsigmondy/M
+! zings
+  Zubenelgenubi/M
+***************
+*** 62077 ****
+--- 62077,62092 ----
+  zymurgy/S
++ nd
++ the the/!
++ and and/!
++ a a/!
++ an an/!
++ a an/!
++ an a/!
++ the a/!
++ the an/!
++ a the/!
++ an the/!
++ PayPal
++ Google
++ e.g.
++ TCP\/IP

+ 237 - 0
spell/en/main.aap

@@ -0,0 +1,237 @@
+# Aap recipe for English Vim spell files.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+    VIM = ../../../src/vim
+@else:
+    :progsearch VIM vim
+
+SPELLDIR = ..
+FILES    = en_US.aff en_US.dic
+	   en_AU.aff en_AU.dic
+           en_CA.aff en_CA.dic
+           en_GB.aff en_GB.dic
+           en_NZ.aff en_NZ.dic
+
+all: $SPELLDIR/en.latin1.spl $SPELLDIR/en.utf-8.spl \
+        $SPELLDIR/en.ascii.spl ../README_en.txt
+
+$SPELLDIR/en.latin1.spl : $FILES
+        :sys env LANG=en_US.ISO8859-1
+		$VIM -u NONE -e -c "mkspell! $SPELLDIR/en
+                        en_US en_AU en_CA en_GB en_NZ" -c q
+
+$SPELLDIR/en.utf-8.spl : $FILES
+        :sys env LANG=en_US.UTF-8
+		$VIM -u NONE -e -c "mkspell! $SPELLDIR/en
+                        en_US en_AU en_CA en_GB en_NZ" -c q
+
+$SPELLDIR/en.ascii.spl : $FILES
+        :sys $VIM -u NONE -e -c "mkspell! -ascii $SPELLDIR/en
+                        en_US en_AU en_CA en_GB en_NZ" -c q
+ 
+../README_en.txt: README_en_US.txt README_en_AU.txt
+        :print en_US >!$target
+        :cat README_en_US.txt | :eval re.sub('\r', '', stdin) >>$target
+        :print =================================================== >>$target
+        :print en_AU: >>$target
+        :cat README_en_AU.txt | :eval re.sub('\r', '', stdin) >>$target
+        :print =================================================== >>$target
+        :print en_CA: >>$target
+        :cat README_en_CA.txt | :eval re.sub('\r', '', stdin) >>$target
+        :print =================================================== >>$target
+        :print en_GB: >>$target
+        :cat README_en_GB.txt | :eval re.sub('\r', '', stdin) >>$target
+        :print =================================================== >>$target
+        :print en_NZ: >>$target
+        :cat README_en_NZ.txt | :eval re.sub('\r', '', stdin) >>$target
+
+#
+# Fetching the files from OpenOffice.org.
+#
+OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+:attr {fetch = $OODIR/%file%} en_US.zip en_CA.zip en_NZ.zip
+                                en_GB.zip en_AU.zip
+
+# The files don't depend on the .zip file so that we can delete it.
+# Only download the zip file if the targets don't exist.
+en_US.aff en_US.dic: {buildcheck=}
+        :assertpkg unzip patch
+        :fetch en_US.zip
+        :sys $UNZIP en_US.zip
+        :delete en_US.zip
+        @if not os.path.exists('en_US.orig.aff'):
+            :copy en_US.aff en_US.orig.aff
+        @if not os.path.exists('en_US.orig.dic'):
+            :copy en_US.dic en_US.orig.dic
+        @if os.path.exists('en_US.diff'):
+            :sys patch <en_US.diff
+
+en_AU.aff en_AU.dic: {buildcheck=}
+        :assertpkg unzip patch
+        :fetch en_AU.zip
+        :sys $UNZIP en_AU.zip
+        :delete en_AU.zip
+        @if not os.path.exists('en_AU.orig.aff'):
+            :copy en_AU.aff en_AU.orig.aff
+        @if not os.path.exists('en_AU.orig.dic'):
+            :copy en_AU.dic en_AU.orig.dic
+        @if os.path.exists('en_AU.diff'):
+            :sys patch <en_AU.diff
+
+en_CA.aff en_CA.dic: {buildcheck=}
+        :assertpkg unzip patch
+        :fetch en_CA.zip
+        :sys $UNZIP en_CA.zip
+        :delete en_CA.zip
+        @if not os.path.exists('en_CA.orig.aff'):
+            :copy en_CA.aff en_CA.orig.aff
+        @if not os.path.exists('en_CA.orig.dic'):
+            :copy en_CA.dic en_CA.orig.dic
+        @if os.path.exists('en_CA.diff'):
+            :sys patch <en_CA.diff
+
+en_GB.aff en_GB.dic: {buildcheck=}
+        :assertpkg unzip patch
+        :fetch en_GB.zip
+        :sys $UNZIP en_GB.zip
+        :delete en_GB.zip
+        :delete dictionary.lst.example
+        @if not os.path.exists('en_GB.orig.aff'):
+            :copy en_GB.aff en_GB.orig.aff
+        @if not os.path.exists('en_GB.orig.dic'):
+            :copy en_GB.dic en_GB.orig.dic
+        @if os.path.exists('en_GB.diff'):
+            :sys patch <en_GB.diff
+
+en_NZ.aff en_NZ.dic: {buildcheck=}
+        :assertpkg unzip patch
+        :fetch en_NZ.zip
+        :sys $UNZIP en_NZ.zip
+        :delete en_NZ.zip
+        @if not os.path.exists('en_NZ.orig.aff'):
+            :copy en_NZ.aff en_NZ.orig.aff
+        @if not os.path.exists('en_NZ.orig.dic'):
+            :copy en_NZ.dic en_NZ.orig.dic
+        @if os.path.exists('en_NZ.diff'):
+            :sys patch <en_NZ.diff
+
+
+# Generate diff files, so that others can get the OpenOffice files and apply
+# the diffs to get the Vim versions.
+
+diff:
+        :assertpkg diff
+        :sys {force} diff -a -C 1 en_US.orig.aff en_US.aff >en_US.diff
+        :sys {force} diff -a -C 1 en_US.orig.dic en_US.dic >>en_US.diff
+        :sys {force} diff -a -C 1 en_AU.orig.aff en_AU.aff >en_AU.diff
+	:sys {force} diff -a -C 1 en_AU.orig.dic en_AU.dic >>en_AU.diff
+	:sys {force} diff -a -C 1 en_CA.orig.aff en_CA.aff >en_CA.diff
+	:sys {force} diff -a -C 1 en_CA.orig.dic en_CA.dic >>en_CA.diff
+	:sys {force} diff -a -C 1 en_GB.orig.aff en_GB.aff >en_GB.diff
+	:sys {force} diff -a -C 1 en_GB.orig.dic en_GB.dic >>en_GB.diff
+	:sys {force} diff -a -C 1 en_NZ.orig.aff en_NZ.aff >en_NZ.diff
+	:sys {force} diff -a -C 1 en_NZ.orig.dic en_NZ.dic >>en_NZ.diff
+
+
+# Check for updated OpenOffice spell files.  When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check: check-us check-au check-ca check-gb check-nz
+
+check-us:
+        :assertpkg unzip diff
+        :fetch en_US.zip
+        :mkdir tmp
+        :cd tmp
+        @try:
+            @import stat
+            :sys $UNZIP ../en_US.zip
+            :sys {force} diff ../en_US.orig.aff en_US.aff >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_US.aff ../en_US.new.aff
+            :sys {force} diff ../en_US.orig.dic en_US.dic >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_US.dic ../en_US.new.dic
+        @finally:
+            :cd ..
+            :delete {r}{f}{q} tmp
+            :delete en_US.zip
+
+check-au:
+        :assertpkg unzip diff
+        :fetch en_AU.zip
+        :mkdir tmp
+        :cd tmp
+        @try:
+            @import stat
+            :sys $UNZIP ../en_AU.zip
+            :sys {force} diff ../en_AU.orig.aff en_AU.aff >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_AU.aff ../en_AU.new.aff
+            :sys {force} diff ../en_AU.orig.dic en_AU.dic >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_AU.dic ../en_AU.new.dic
+        @finally:
+            :cd ..
+            :delete {r}{f}{q} tmp
+            :delete en_AU.zip
+
+check-ca:
+        :assertpkg unzip diff
+        :fetch en_CA.zip
+        :mkdir tmp
+        :cd tmp
+        @try:
+            @import stat
+            :sys $UNZIP ../en_CA.zip
+            :sys {force} diff ../en_CA.orig.aff en_CA.aff >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_CA.aff ../en_CA.new.aff
+            :sys {force} diff ../en_CA.orig.dic en_CA.dic >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_CA.dic ../en_CA.new.dic
+        @finally:
+            :cd ..
+            :delete {r}{f}{q} tmp
+            :delete en_CA.zip
+
+check-gb:
+        :assertpkg unzip diff
+        :fetch en_GB.zip
+        :mkdir tmp
+        :cd tmp
+        @try:
+            @import stat
+            :sys $UNZIP ../en_GB.zip
+            :sys {force} diff ../en_GB.orig.aff en_GB.aff >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_GB.aff ../en_GB.new.aff
+            :sys {force} diff ../en_GB.orig.dic en_GB.dic >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_GB.dic ../en_GB.new.dic
+        @finally:
+            :cd ..
+            :delete {r}{f}{q} tmp
+            :delete en_GB.zip
+
+check-nz:
+        :assertpkg unzip diff
+        :fetch en_NZ.zip
+        :mkdir tmp
+        :cd tmp
+        @try:
+            @import stat
+            :sys $UNZIP ../en_NZ.zip
+            :sys {force} diff ../en_NZ.orig.aff en_NZ.aff >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_NZ.aff ../en_NZ.new.aff
+            :sys {force} diff ../en_NZ.orig.dic en_NZ.dic >d
+            @if os.stat('d')[stat.ST_SIZE] > 0:
+                :copy en_NZ.dic ../en_NZ.new.dic
+        @finally:
+            :cd ..
+            :delete {r}{f}{q} tmp
+            :delete en_NZ.zip
+
+# vim: set sts=4 sw=4 :

BIN
spell/ru.cp1251.spl


BIN
spell/ru.cp1251.sug


BIN
spell/ru.koi8-r.spl


BIN
spell/ru.koi8-r.sug


BIN
spell/ru.utf-8.spl


BIN
spell/ru.utf-8.sug


+ 84 - 0
spell/ru/main.aap

@@ -0,0 +1,84 @@
+# Aap recipe for Russian Vim spell files.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+    VIM = ../../../src/vim
+@else:
+    :progsearch VIM vim
+
+REGIONS = RU YO
+SPELLDIR = ..
+FILES    = ru_$*(REGIONS).aff ru_$*(REGIONS).dic
+
+all: $SPELLDIR/ru.koi8-r.spl $SPELLDIR/ru.utf-8.spl \
+        $SPELLDIR/ru.cp1251.spl ../README_ru.txt
+
+$SPELLDIR/ru.koi8-r.spl : $FILES
+        :sys env LANG=ru_RU.KOI8-R $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_YO" -c q
+
+$SPELLDIR/ru.utf-8.spl : $FILES
+        :sys env LANG=ru_RU.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_YO" -c q
+
+$SPELLDIR/ru.cp1251.spl : $FILES
+        :sys env LANG=ru_RU.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/ru ru_RU ru_YO" -c q
+
+../README_ru.txt: README_ru_$*(REGIONS).txt
+        :print ru_RU >! $target
+        :cat README_ru_RU.txt >> $target
+        :print =================================================== >>$target
+        :print ru_YO >> $target
+        :cat README_ru_YO.txt >> $target
+
+#
+# Fetching the files from OpenOffice.org.
+#
+OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+:attr {fetch = $OODIR/%file%} ru_RU.zip ru_RU_yo.zip
+
+# The files don't depend on the .zip file so that we can delete it.
+# Only download the zip file if the targets don't exist.
+# This is a bit tricky, since the file name includes the date.
+ru_RU.aff ru_RU.dic: {buildcheck=}
+        :assertpkg unzip
+        :fetch ru_RU.zip
+        :sys unzip ru_RU.zip
+        :delete ru_RU.zip
+        @if not os.path.exists('ru_RU.orig.aff'):
+            :copy ru_RU.aff ru_RU.orig.aff
+        @if not os.path.exists('ru_RU.orig.dic'):
+            :copy ru_RU.dic ru_RU.orig.dic
+        @if os.path.exists('ru_RU.diff'):
+            :sys patch <ru_RU.diff
+
+ru_YO.aff ru_YO.dic: {buildcheck=}
+        :assertpkg unzip
+        :fetch ru_RU_yo.zip
+        :sys unzip ru_RU_yo.zip
+        :delete ru_RU_yo.zip
+        :move ru_RU_yo.aff ru_YO.aff
+        :move ru_RU_yo.dic ru_YO.dic
+        :move README_ru_RU_yo.txt README_ru_YO.txt
+        @if not os.path.exists('ru_YO.orig.aff'):
+            :copy ru_YO.aff ru_YO.orig.aff
+        @if not os.path.exists('ru_YO.orig.dic'):
+            :copy ru_YO.dic ru_YO.orig.dic
+        @if os.path.exists('ru_YO.diff'):
+            :sys patch <ru_YO.diff
+
+
+# Generate diff files, so that others can get the OpenOffice files and apply
+# the diffs to get the Vim versions.
+
+diff:
+        :assertpkg diff
+        :sys {force} diff -a -C 1 ru_RU.orig.aff ru_RU.aff >ru_RU.diff
+        :sys {force} diff -a -C 1 ru_RU.orig.dic ru_RU.dic >>ru_RU.diff
+        :sys {force} diff -a -C 1 ru_YO.orig.aff ru_YO.aff >ru_YO.diff
+        :sys {force} diff -a -C 1 ru_YO.orig.dic ru_YO.dic >>ru_YO.diff
+
+
+# Check for updated spell files.  When there are changes the
+# ".new.aff" and ".new.dic" files are left behind for manual inspection.
+
+check:
+        :print Doesn't work yet.

+ 50 - 0
spell/ru/ru_RU.diff

@@ -0,0 +1,50 @@
+*** ru_RU.orig.aff	Sun Aug 28 21:12:27 2005
+--- ru_RU.aff	Mon Sep 12 22:10:22 2005
+***************
+*** 3,4 ****
+--- 3,11 ----
+  
++ FOL チツラヌトナ」ヨレノハヒフヘホマミメモヤユニネデロンリル゚ワタム
++ LOW チツラヌトナ」ヨレノハヒフヘホマミメモヤユニネデロンリル゚ワタム
++ UPP 
++ 
++ SOFOFROM ţ
++ SOFOTO   ''
++ 
+  SFX L Y 52
+*** ru_RU.orig.dic	Sun Aug 28 21:12:27 2005
+--- ru_RU.dic	Sun Sep  4 17:23:27 2005
+***************
+*** 8767,8769 ****
+  ツフナヒフマモヤリ/F
+- ツフナヒフルハ/A
+  ツフナヒフルハ/AZ
+--- 8767,8768 ----
+***************
+*** 98086,98088 ****
+  メチレメムヨナホホルハ/AES
+- メチレメムヨナホホルハ/AS
+  メチレユツナトノラロノハ/A
+--- 98085,98086 ----
+***************
+*** 115006,115009 ****
+  ヤマフヒチタンノハモム/A
+! ヤマフヒノ/B
+! ヤマフヒノ/O
+  ヤマフヒフチ/L
+--- 115004,115006 ----
+  ヤマフヒチタンノハモム/A
+! ヤマフヒノ/BO
+  ヤマフヒフチ/L
+***************
+*** 119209,119211 ****
+  ユホノヨナホホルハ/ASX
+- ユホノヨナホホルハ/AX
+  ユホノレチラロノハ/A
+--- 119206,119207 ----
+***************
+*** 120603,120605 ****
+  ユヤマボナホホルハ/ASX
+- ユヤマボナホホルハ/AX
+  ユヤマミ/L
+--- 120599,120600 ----

+ 32 - 0
spell/ru/ru_YO.diff

@@ -0,0 +1,32 @@
+*** ru_YO.orig.aff	Sun Aug 28 21:12:35 2005
+--- ru_YO.aff	Mon Sep 12 22:10:32 2005
+***************
+*** 3,4 ****
+--- 3,11 ----
+  
++ FOL チツラヌトナ」ヨレノハヒフヘホマミメモヤユニネデロンリル゚ワタム
++ LOW チツラヌトナ」ヨレノハヒフヘホマミメモヤユニネデロンリル゚ワタム
++ UPP 
++ 
++ SOFOFROM ţ
++ SOFOTO   ''
++ 
+  SFX L Y 56
+*** ru_YO.orig.dic	Sun Aug 28 21:12:35 2005
+--- ru_YO.dic	Sun Sep  4 17:24:26 2005
+***************
+*** 86471,86473 ****
+  ミマ゙ヤ」ホホルハ/AS
+- ミマ゙ヤノ
+  ミマ゙ヤノ/B
+--- 86471,86472 ----
+***************
+*** 115245,115248 ****
+  ヤマフヒチタンノハモム/A
+! ヤマフヒノ/B
+! ヤマフヒノ/O
+  ヤマフヒフチ/L
+--- 115244,115246 ----
+  ヤマフヒチタンノハモム/A
+! ヤマフヒノ/BO
+  ヤマフヒフチ/L

+ 88 - 0
syntax/nerdtree.vim

@@ -0,0 +1,88 @@
+let s:tree_up_dir_line = '.. (up a dir)'
+"NERDTreeFlags are syntax items that should be invisible, but give clues as to
+"how things should be highlighted
+syn match NERDTreeFlag #\~#
+syn match NERDTreeFlag #\[RO\]#
+
+"highlighting for the .. (up dir) line at the top of the tree
+execute "syn match NERDTreeUp #\\V". s:tree_up_dir_line ."#"
+
+"highlighting for the ~/+ symbols for the directory nodes
+syn match NERDTreeClosable #\~\<#
+syn match NERDTreeClosable #\~\.#
+syn match NERDTreeOpenable #+\<#
+syn match NERDTreeOpenable #+\.#he=e-1
+
+"highlighting for the tree structural parts
+syn match NERDTreePart #|#
+syn match NERDTreePart #`#
+syn match NERDTreePartFile #[|`]-#hs=s+1 contains=NERDTreePart
+
+"quickhelp syntax elements
+syn match NERDTreeHelpKey #" \{1,2\}[^ ]*:#hs=s+2,he=e-1
+syn match NERDTreeHelpKey #" \{1,2\}[^ ]*,#hs=s+2,he=e-1
+syn match NERDTreeHelpTitle #" .*\~#hs=s+2,he=e-1 contains=NERDTreeFlag
+syn match NERDTreeToggleOn #".*(on)#hs=e-2,he=e-1 contains=NERDTreeHelpKey
+syn match NERDTreeToggleOff #".*(off)#hs=e-3,he=e-1 contains=NERDTreeHelpKey
+syn match NERDTreeHelpCommand #" :.\{-}\>#hs=s+3
+syn match NERDTreeHelp  #^".*# contains=NERDTreeHelpKey,NERDTreeHelpTitle,NERDTreeFlag,NERDTreeToggleOff,NERDTreeToggleOn,NERDTreeHelpCommand
+
+"highlighting for readonly files
+syn match NERDTreeRO #.*\[RO\]#hs=s+2 contains=NERDTreeFlag,NERDTreeBookmark,NERDTreePart,NERDTreePartFile
+
+"highlighting for sym links
+syn match NERDTreeLink #[^-| `].* -> # contains=NERDTreeBookmark,NERDTreeOpenable,NERDTreeClosable,NERDTreeDirSlash
+
+"highlighing for directory nodes and file nodes
+syn match NERDTreeDirSlash #/#
+syn match NERDTreeDir #[^-| `].*/# contains=NERDTreeLink,NERDTreeDirSlash,NERDTreeOpenable,NERDTreeClosable
+syn match NERDTreeExecFile  #[|` ].*\*\($\| \)# contains=NERDTreeLink,NERDTreePart,NERDTreeRO,NERDTreePartFile,NERDTreeBookmark
+syn match NERDTreeFile  #|-.*# contains=NERDTreeLink,NERDTreePart,NERDTreeRO,NERDTreePartFile,NERDTreeBookmark,NERDTreeExecFile
+syn match NERDTreeFile  #`-.*# contains=NERDTreeLink,NERDTreePart,NERDTreeRO,NERDTreePartFile,NERDTreeBookmark,NERDTreeExecFile
+syn match NERDTreeCWD #^[</].*$#
+
+"highlighting for bookmarks
+syn match NERDTreeBookmark # {.*}#hs=s+1
+
+"highlighting for the bookmarks table
+syn match NERDTreeBookmarksLeader #^>#
+syn match NERDTreeBookmarksHeader #^>-\+Bookmarks-\+$# contains=NERDTreeBookmarksLeader
+syn match NERDTreeBookmarkName #^>.\{-} #he=e-1 contains=NERDTreeBookmarksLeader
+syn match NERDTreeBookmark #^>.*$# contains=NERDTreeBookmarksLeader,NERDTreeBookmarkName,NERDTreeBookmarksHeader
+
+if exists("g:NERDChristmasTree") && g:NERDChristmasTree
+    hi def link NERDTreePart Special
+    hi def link NERDTreePartFile Type
+    hi def link NERDTreeFile Normal
+    hi def link NERDTreeExecFile Title
+    hi def link NERDTreeDirSlash Identifier
+    hi def link NERDTreeClosable Type
+else
+    hi def link NERDTreePart Normal
+    hi def link NERDTreePartFile Normal
+    hi def link NERDTreeFile Normal
+    hi def link NERDTreeClosable Title
+endif
+
+hi def link NERDTreeBookmarksHeader statement
+hi def link NERDTreeBookmarksLeader ignore
+hi def link NERDTreeBookmarkName Identifier
+hi def link NERDTreeBookmark normal
+
+hi def link NERDTreeHelp String
+hi def link NERDTreeHelpKey Identifier
+hi def link NERDTreeHelpCommand Identifier
+hi def link NERDTreeHelpTitle Macro
+hi def link NERDTreeToggleOn Question
+hi def link NERDTreeToggleOff WarningMsg
+
+hi def link NERDTreeDir Directory
+hi def link NERDTreeUp Directory
+hi def link NERDTreeCWD Statement
+hi def link NERDTreeLink Macro
+hi def link NERDTreeOpenable Title
+hi def link NERDTreeFlag ignore
+hi def link NERDTreeRO WarningMsg
+hi def link NERDTreeBookmark Statement
+
+hi def link NERDTreeCurrentNode Search

+ 1 - 0
vim-pathogen

@@ -0,0 +1 @@
+Subproject commit 8c91196cfd9c8fe619f35fac6f2ac81be10677f8

+ 37 - 0
vimoutlinerrc

@@ -0,0 +1,37 @@
+"Extra mappings *****************************************************
+"This mapping is fold-level and fold-state dependent 
+"map <S-Down> dd p
+"map <S-Up> dd <up>P
+
+"Common Plugins
+" This variable holds name of all VO modules you want to load. Do NOT use ru
+" directly in this file, because you will get into many strange surprises. If
+" you do not want to load any VO modules leave it blank (default). This
+" variable can be freely modified in ~/.vimoutlinerrc.
+"let g:vo_modules2load = ""
+let g:vo_modules_load = "checkbox:hoist"
+
+"User Preferences ***************************************************
+let maplocalleader = ",,"		" this is prepended to VO key mappings
+
+"setlocal ignorecase			" searches ignore case
+"setlocal smartcase			" searches use smart case
+"setlocal wrapmargin=5
+"setlocal tw=78
+"setlocal tabstop=4			" tabstop and shiftwidth must match
+"setlocal shiftwidth=4			" values from 2 to 8 work well
+"setlocal background=dark		" for dark backgrounds
+setlocal nowrap
+
+"Hoisting ***********************************************************
+"Uncomment and set to 1 to debug hoisting
+let g:hoistParanoia=0
+
+"Custom Colors ******************************************************
+" Uncomment this next line to force using VO on a light background
+" colorscheme vo_light 
+" Uncomment this next line to force using VO on a dark background
+" colorscheme vo_dark 
+" Or create your own color scheme. You can find sample files in Vim's 
+" colors directory. There may even be a colors directory in your own
+" $HOME/.vim directory.

+ 384 - 0
vimrc

@@ -0,0 +1,384 @@
+
+set runtimepath=~/.vim,/etc/vim,$VIMRUNTIME
+
+" To fix problems with arrow-keys in INSERT-mode
+set nocompatible
+" To be able to erase EOL using backspace
+set backspace=indent,eol,start
+
+" кодировка по-умолчанию
+set encoding=utf-8
+" фикс для русских клавиш
+"set langmap=йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ],фa,ыs,вd,аf,пg,рh,оj,лk,дl,ж\\;,э',яz,чx,сc,мv,иb,тn,ьm,б\\,,ю.,ё`,ЙQ,ЦW,УE,КR,ЕT,НY,ГU,ШI,ЩO,ЗP,Х{,Ъ},ФA,ЫS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Ж:,Э\\",ЯZ,ЧX,СC,МV,ИB,ТN,ЬM,Б<,Ю>,Ё~
+" маркер границы
+set textwidth=80
+set colorcolumn=50,72,80,120
+set textauto
+if !&diff
+	" подсвечивать синтаксис
+	syntax enable
+endif
+
+" показывать спец. символы
+set list
+set list listchars=tab:>.,eol:¶
+
+" определять тип файла автоматически, загружать плагины
+filetype plugin on
+filetype indent on
+" сворачивать по синтаксису
+set foldmethod=syntax
+set nofoldenable
+" автоматически менять каталог на текущий
+"set autochdir
+" хранить swap в отдельном каталоге
+set directory=/tmp/
+" меньше приоритета бинарным файлам при автодополнении
+set suffixes+=.png,.gif,.jpg,.jpeg,.ico
+" перечитывать изменённые файлы автоматически
+set autoread
+" использовать больше цветов в терминале
+set t_Co=256
+" цветова схема
+if (!has('gui_running') && filereadable(expand("$HOME/.vim/plugin/guicolorscheme.vim")))
+  " Use the guicolorscheme plugin to makes 256-color or 88-color
+  " terminal use GUI colors rather than cterm colors.
+  runtime! plugin/guicolorscheme.vim
+  " цвет всплывающего окна
+  colorscheme kate
+else
+  " For 8-color 16-color terminals or for gvim, just use the
+  " regular :colorscheme command.
+  "colorscheme kate
+  colorscheme dark
+"  set background=dark
+  set guifont=Monospace\ 11
+  " цвет всплывающего окна
+endif
+highlight Pmenu guibg=gray guifg=black gui=bold ctermbg=blue ctermfg=black
+" наследовать отступы предыдущей строки
+set autoindent
+" умные отступы на основе синтаксиса
+set smartindent
+" показывать строку с позицией курсора
+set ruler
+" Disabled due to high CPU load
+"set cursorline
+" показывать номера строк ...
+set number
+" ... в 4 символа минимум
+set numberwidth=3
+" показывать совпадающие скобки для HTML-тегов
+set matchpairs+=<:>
+" показывать строку вкладок всегда
+set showtabline=2
+" показывать строку статуса всегда
+set laststatus=2
+" использовать табуляцию в 4 пробела ...
+"set tabstop=4
+" ... для мягких табуляций ...
+"set softtabstop=4
+" ... и сдвигов строк
+"set shiftwidth=4
+" удалять лишние пробелы при отступе
+set shiftround
+" использовать инкрементальный поиск
+set incsearch
+" использовать подсветку поиска
+set hlsearch
+" игнорировать регистр при поиске ...
+set ignorecase
+" ... если поисковый запрос в нижнем регистре
+set smartcase
+"Подсвечиваем все что можно подсвечивать
+let python_highlight_all = 1
+" более удобное передвижение внутри перенесенной строки
+nnoremap j gj
+nnoremap k gk
+vnoremap j gj
+vnoremap k gk
+"nnoremap <Down> gj
+"nnoremap <Up> gk
+"vnoremap <Down> gj
+"vnoremap <Up> gk
+"inoremap <Down> <C-o>gj
+"inoremap <Up> <C-o>gk
+"" порядок перебора кодировок
+set fileencodings=utf-8,windows-1251,iso-8859-15,koi8-r
+" включить перенос строк
+set wrap
+" символ переноса строки
+"set showbreak=____
+set showbreak=
+" переключение режима отступов при вставке
+set paste
+set pastetoggle=<F12>
+" отображать режим
+set showmode
+
+if has("gui_running")
+	" использовать контекстное меню
+	"set mousemodel=popup
+	set mousemodel=extend
+	" разрешить фокусу прыгать за мышью между окнами
+	set mousefocus
+	" не скрывать указатель при печати
+	set nomousehide
+	" сглаживание
+	set antialias
+else
+	" цветовая схема
+	"colorscheme google
+	"set background=light
+endif
+" настройки vim+latex
+set grepprg=grep\ -nH\ $*
+let g:tex_flavor='latex'
+" настройка проверки орфографии
+setlocal spell spelllang=ru_ru,en_us
+set nospell
+" использование мыши
+set mouse=a
+
+" настройки автодоплнения omnicomplete
+"set ofu=syntaxcomplete#Complete
+" дополнять после точки
+let OmniCpp_MayCompleteDot = 1 
+" дополнять после ->
+let OmniCpp_MayCompleteArrow = 1 
+" дополнять после ::
+let OmniCpp_MayCompleteScope = 1 " autocomplete with ::
+" выбирать первый элемент в списке, но не вставлять
+let OmniCpp_SelectFirstItem = 2 " select first item (but don't insert)
+" показывать прототип функции
+let OmniCpp_ShowPrototypeInAbbr = 1 
+"Настройка omnicomletion для Python (а так же для js, html и css)
+autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
+autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
+autocmd FileType css set omnifunc=csscomplete#CompleteCSS
+" путь к тегам
+set tags+=~/.vim/tags;./tags
+
+" автоматическое выставление флагов для исполняемых файлов
+function ModeChange()
+  if getline(1) =~ "^#!"
+    if getline(1) =~ "/bin/"
+      silent !chmod a+x <afile>
+    endif
+  endif
+endfunction
+
+"Вызываем SnippletsEmu(см. дальше в топике) по ctrl-j
+"вместо tab по умолчанию (на табе автокомплит)
+let g:snippetsEmu_key = "<C-j>"
+
+" автоматическая генерация тегов при записи файла
+function GenerateTags()
+	if expand("%:e") == "cpp" || expand("%:e") == "c" || expand("%:e") == "h"
+		let ctags = "!ctags --recurse --append --c++-kinds=+p --fields=+iaS --extra=+q -f tags *"
+		silent exec ctags
+		unlet ctags
+	endif
+endfunction
+
+" автоматическая генерация cscope
+function GenerateCScope()
+	if expand("%:e") == "cpp" || expand("%:e") == "c" || expand("%:e") == "h"
+		let cscope = "!cscope -Rb *"
+		silent exec cscope
+		unlet cscope
+	endif
+endfunction
+
+" загрузка cscope при возможности
+function LoadCScope()
+	if filereadable("cscope.out")
+		cs add cscope.out
+	endif
+endfunction
+
+au BufWritePost * call ModeChange()
+"au BufWritePost * call GenerateTags()
+"au BufWritePost * call GenerateCScope()
+"au BufRead * call LoadCScope()
+au BufWinLeave * silent! mkview
+"au BufWinEnter * silent! loadview
+
+command! Cscope :call GenerateTags()
+
+" автоматическое закрытие комментариев
+au FileType c,cpp,h,hpp inoremap /*<Space> /*  */<Esc>3ha
+
+" подсветка ftl
+au! BufNewFile,BufRead *.ftl setfiletype ftl
+"au BufNewFile,BufRead *.json.ftl setfiletype ftl
+"au BufNewFile,BufRead *.xml.ftl setfiletype ftl
+
+" автоматически конвертировать unicode в ascii
+let g:ucs_encode_java = 1 
+" NERDTree
+"autocmd VimEnter * NERDTree
+"autocmd BufEnter * NERDTreeMirror
+"autocmd VimEnter * wincmd w
+
+map <TAB> :wincmd w<CR>
+"map <C-Q> :wincmd k<CR>
+"map <C-J> :wincmd j<CR>
+
+map <F2> :NERDTreeTabsToggle<CR>
+"vmap <F2> <esc>:NERDTreeToggle<cr>
+"imap <F2> <esc>:NERDTreeToggle<cr>
+
+" Открытие/закрытие окна NERD_Tree (plugin-NERD_Tree)
+menu <silent> Plugin.File\ Explorer<tab><ESC>:cclose<CR> :NERDTreeToggle<cr>
+imenu <silent> Plugin.File\ Explorer<tab><ESC>:cclose<CR> <ESC>:NERDTreeToggle<cr>
+
+let NERDTreeShowHidden=1
+let NERDTreeHighlightCursorline=1
+
+let NERDTreeWinPos = 'right'
+
+let NERDTreeShowBookmarks = 1
+let NERDTreeIgnore = ['\~$', '*.pyc', '*.pyo']
+let NERDChristmasTree = 0
+
+let g:nerdtree_tabs_open_on_gui_startup = 0
+let g:nerdtree_tabs_open_on_console_startup = 0
+
+"au VimEnter * NERDTreeFind
+
+" Запустить make вызывается нажатием F5
+set makeprg=cd\ build\ &&\ make\ debug
+imap <F5> <ESC>:wa<CR>:make<CR>
+nmap <F5> :wa<CR>:make<CR>
+
+let g:copened = 0
+function! CToggle()
+	if g:copened
+		cclose
+		let g:copened = 0
+	else
+		copen 10
+		let g:copened = 1
+	endif
+endfunction
+
+"imap <esc>:NERDTreeToggle<cr> <ESC>:cclose<CR>
+"nmap :NERDTreeToggle<cr> :cclose<CR>
+
+imap <f8> <ESC>:call CToggle()<CR>
+nmap <f8> :call CToggle()<CR>
+
+
+" Перейти к следующей ошибке
+imap <F6> <ESC>:cnext<CR>
+nmap <F6> :cnext<CR>
+
+" Перейти к предыдущей ошибке
+"imap <F6> <ESC>:cprev<CR>
+"nmap <F6> :cprev<CR>
+
+map <A-q> :q!<CR>
+map <A-w> :w!<CR>
+map <C-d> :q!<CR>
+map <C-w> :w!<CR>
+
+" Uncomment the following to have Vim jump to the last position when
+" reopening a file
+if has("autocmd")
+	au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
+		\| exe "normal g'\"" | endif
+endif 
+
+"set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ %{strftime(\"%d/%m/%y\ -\ %H:%M\")}
+set statusline=%<%F%h%m%r%h%w%y\ %{&ff}\ \[%{strftime(\"%Y-%m-%d\ %H:%M:%S\")}\]\ enc:%{&enc}\ ascii:%b%=\ %c%V(%o)\ %l\/%L\ %P
+
+" Disabled due to high CPU load
+"hi CursorLine ctermfg=white cterm=bold gui=bold
+"au InsertEnter * set cursorline
+"au InsertLeave * set nocursorline
+
+nmap <F3> <C-v>
+vmap <F3> y
+
+nmap <F4> V
+vmap <F4> y
+
+"map <F7> [I:let nr = input("Which one: ")<Bar>exe "normal " . nr ."[\t"<CR>
+
+map <F10> :call DecorationsToggle()<CR>
+let g:decorationsEnabled = 1
+function! DecorationsToggle()
+	if g:decorationsEnabled
+		set nonumber
+		set nolist
+		set notextauto
+		set textwidth=0
+		set colorcolumn=0
+		let g:decorationsEnabled = 0
+	else
+		set number
+		set list
+		set textwidth=80
+		set colorcolumn=80
+		set textauto
+		let g:decorationsEnabled = 1
+	endif
+endfunction
+
+" syntax/php.vim
+let php_sql_query=1 
+let php_folding=0
+let php_special_functions=1
+let php_htmlInStrings=1
+let php_parent_error_close=1
+
+" проверка скобок
+set showmatch
+set matchtime=1
+" Disable matchparen.vim due to high CPU load
+let g:loaded_matchparen = 0
+
+function ToggleMatchParen()
+	if exists("g:loaded_matchparen") && g:loaded_matchparen == 1
+		windo 3match none
+		unlet! g:loaded_matchparen
+		au! matchparen
+	else
+		unlet! g:loaded_matchparen
+		runtime plugin/matchparen.vim
+		windo doau CursorMoved
+	endif
+endfunction
+map <F9> :call ToggleMatchParen()<CR>
+
+
+" хранить резервные копии файлов ...
+set backup
+" ... в отдельном каталоге
+"set backupdir=~/.vim/backup/
+function! BackupDir()
+	" определим каталог для сохранения резервной копии
+	let l:backupdir=$HOME.'/.vim/backup/'.
+			\substitute(expand('%:p:h'), '^'.$HOME, '~', '')
+
+	" если каталог не существует, создадим его рекурсивно
+	if !isdirectory(l:backupdir)
+		call mkdir(l:backupdir, 'p', 0700)
+	endif
+
+	" переопределим каталог для резервных копий
+	let &backupdir=l:backupdir
+
+	" переопределим расширение файла резервной копии
+	let &backupext=strftime('~%Y-%m-%d~')
+endfunction
+
+autocmd! bufwritepre * call BackupDir()
+
+set tags=./tags;/
+
+execute pathogen#infect('bundle/{}', '/etc/vim/bundle/{}')
+
+let g:rust_recommended_style = 0
+

+ 13 - 0
vimrc.tiny

@@ -0,0 +1,13 @@
+" Vim configuration file, in effect when invoked as "vi". The aim of this
+" configuration file is to provide a Vim environment as compatible with the
+" original vi as possible. Note that ~/.vimrc configuration files as other
+" configuration files in the runtimepath are still sourced.
+" When Vim is invoked differently ("vim", "view", "evim", ...) this file is
+" _not_ sourced; /etc/vim/vimrc and/or /etc/vim/gvimrc are.
+
+" Debian system-wide default configuration Vim
+set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
+
+set compatible
+
+" vim: set ft=vim: