Commits

Vladislav Bortnikov  committed bdb5750

Added spellcheck for ru_yo
Untrack vim/cache
Added hgignore for vim/cache

  • Participants
  • Parent commits ebe3498

Comments (0)

Files changed (16)

 tags
 *.un~
 .netrwhist
+vim/cache

File vim/cache/tskel_bits/general

Binary file removed.

File vim/cache/tskel_bits/help

-{}

File vim/cache/tskel_bits/html

Binary file removed.

File vim/cache/tskel_bits/html_common

-{}

File vim/cache/tskel_bits/nerdtree

-{}

File vim/cache/tskel_bits/php

Binary file removed.

File vim/cache/tskel_bits/python

-{}

File vim/cache/tskel_bits/tskeleton

Binary file removed.

File vim/cache/tskel_bits/vim

Binary file removed.

File vim/cache/tskel_menu/general

-
-menu 90.10 TSke&l.General.<< :call tskeleton#ExpandBitUnderCursor("n", '<<')<cr>
-imenu 90.10 TSke&l.General.<< <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", '<<')<cr>
-menu 90.10 TSke&l.General.date :call tskeleton#ExpandBitUnderCursor("n", 'date')<cr>
-imenu 90.10 TSke&l.General.date <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'date')<cr>
-menu 90.10 TSke&l.General.header :call tskeleton#ExpandBitUnderCursor("n", 'header')<cr>
-imenu 90.10 TSke&l.General.header <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'header')<cr>
-menu 90.10 TSke&l.General.localvariables :call tskeleton#ExpandBitUnderCursor("n", 'localvariables')<cr>
-imenu 90.10 TSke&l.General.localvariables <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'localvariables')<cr>
-menu 90.10 TSke&l.General.test_tSkeleton :call tskeleton#ExpandBitUnderCursor("n", 'test_tSkeleton')<cr>
-imenu 90.10 TSke&l.General.test_tSkeleton <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'test_tSkeleton')<cr>
-menu 90.10 TSke&l.General.time :call tskeleton#ExpandBitUnderCursor("n", 'time')<cr>
-imenu 90.10 TSke&l.General.time <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'time')<cr>
-menu 90.10 TSke&l.General.vi :call tskeleton#ExpandBitUnderCursor("n", 'vi')<cr>
-imenu 90.10 TSke&l.General.vi <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'vi')<cr>

File vim/cache/tskel_menu/html

-
-menu 90.19 TSke&l.&form.<&form :call tskeleton#ExpandBitUnderCursor("n", '<form')<cr>
-imenu 90.19 TSke&l.&form.<&form <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", '<form')<cr>
-menu 90.19 TSke&l.&attribute.action= :call tskeleton#ExpandBitUnderCursor("n", 'action=')<cr>
-imenu 90.19 TSke&l.&attribute.action= <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'action=')<cr>
-menu 90.19 TSke&l.&form.&checkbox :call tskeleton#ExpandBitUnderCursor("n", 'checkbox')<cr>
-imenu 90.19 TSke&l.&form.&checkbox <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'checkbox')<cr>
-menu 90.19 TSke&l.etc.class= :call tskeleton#ExpandBitUnderCursor("n", 'class=')<cr>
-imenu 90.19 TSke&l.etc.class= <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'class=')<cr>
-menu 90.19 TSke&l.&form.&clickbutton :call tskeleton#ExpandBitUnderCursor("n", 'clickbutton')<cr>
-imenu 90.19 TSke&l.&form.&clickbutton <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'clickbutton')<cr>
-menu 90.19 TSke&l.&a.&href :call tskeleton#ExpandBitUnderCursor("n", 'href')<cr>
-imenu 90.19 TSke&l.&a.&href <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'href')<cr>
-menu 90.19 TSke&l.&head.html&401 :call tskeleton#ExpandBitUnderCursor("n", 'html401')<cr>
-imenu 90.19 TSke&l.&head.html&401 <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'html401')<cr>
-menu 90.19 TSke&l.&attribute.method= :call tskeleton#ExpandBitUnderCursor("n", 'method=')<cr>
-imenu 90.19 TSke&l.&attribute.method= <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'method=')<cr>
-menu 90.19 TSke&l.&attribute.name= :call tskeleton#ExpandBitUnderCursor("n", 'name=')<cr>
-imenu 90.19 TSke&l.&attribute.name= <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'name=')<cr>
-menu 90.19 TSke&l.&form.&option :call tskeleton#ExpandBitUnderCursor("n", 'option')<cr>
-imenu 90.19 TSke&l.&form.&option <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'option')<cr>
-menu 90.19 TSke&l.&form.&radio :call tskeleton#ExpandBitUnderCursor("n", 'radio')<cr>
-imenu 90.19 TSke&l.&form.&radio <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'radio')<cr>
-menu 90.19 TSke&l.&form.&reset :call tskeleton#ExpandBitUnderCursor("n", 'reset')<cr>
-imenu 90.19 TSke&l.&form.&reset <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'reset')<cr>
-menu 90.19 TSke&l.&form.&select :call tskeleton#ExpandBitUnderCursor("n", 'select')<cr>
-imenu 90.19 TSke&l.&form.&select <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'select')<cr>
-menu 90.19 TSke&l.&form.&submit :call tskeleton#ExpandBitUnderCursor("n", 'submit')<cr>
-imenu 90.19 TSke&l.&form.&submit <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'submit')<cr>
-menu 90.20 TSke&l.tag :call tskeleton#ExpandBitUnderCursor("n", 'tag')<cr>
-imenu 90.20 TSke&l.tag <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'tag')<cr>
-menu 90.19 TSke&l.&form.&text :call tskeleton#ExpandBitUnderCursor("n", 'text')<cr>
-imenu 90.19 TSke&l.&form.&text <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'text')<cr>

File vim/cache/tskel_menu/php

-
-menu 90.19 TSke&l.@.@&param :call tskeleton#ExpandBitUnderCursor("n", '@param')<cr>
-imenu 90.19 TSke&l.@.@&param <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", '@param')<cr>
-menu 90.19 TSke&l.@.@&return :call tskeleton#ExpandBitUnderCursor("n", '@return')<cr>
-imenu 90.19 TSke&l.@.@&return <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", '@return')<cr>
-menu 90.20 TSke&l.case :call tskeleton#ExpandBitUnderCursor("n", 'case')<cr>
-imenu 90.20 TSke&l.case <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'case')<cr>
-menu 90.20 TSke&l.class :call tskeleton#ExpandBitUnderCursor("n", 'class')<cr>
-imenu 90.20 TSke&l.class <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'class')<cr>
-menu 90.20 TSke&l.define :call tskeleton#ExpandBitUnderCursor("n", 'define')<cr>
-imenu 90.20 TSke&l.define <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'define')<cr>
-menu 90.20 TSke&l.dowhile :call tskeleton#ExpandBitUnderCursor("n", 'dowhile')<cr>
-imenu 90.20 TSke&l.dowhile <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'dowhile')<cr>
-menu 90.20 TSke&l.elseif :call tskeleton#ExpandBitUnderCursor("n", 'elseif')<cr>
-imenu 90.20 TSke&l.elseif <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'elseif')<cr>
-menu 90.20 TSke&l.for :call tskeleton#ExpandBitUnderCursor("n", 'for')<cr>
-imenu 90.20 TSke&l.for <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'for')<cr>
-menu 90.20 TSke&l.for- :call tskeleton#ExpandBitUnderCursor("n", 'for-')<cr>
-imenu 90.20 TSke&l.for- <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'for-')<cr>
-menu 90.20 TSke&l.foreach :call tskeleton#ExpandBitUnderCursor("n", 'foreach')<cr>
-imenu 90.20 TSke&l.foreach <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'foreach')<cr>
-menu 90.20 TSke&l.foreach_assoc :call tskeleton#ExpandBitUnderCursor("n", 'foreach_assoc')<cr>
-imenu 90.20 TSke&l.foreach_assoc <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'foreach_assoc')<cr>
-menu 90.20 TSke&l.function :call tskeleton#ExpandBitUnderCursor("n", 'function')<cr>
-imenu 90.20 TSke&l.function <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'function')<cr>
-menu 90.20 TSke&l.ifelse :call tskeleton#ExpandBitUnderCursor("n", 'ifelse')<cr>
-imenu 90.20 TSke&l.ifelse <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'ifelse')<cr>
-menu 90.20 TSke&l.php :call tskeleton#ExpandBitUnderCursor("n", 'php')<cr>
-imenu 90.20 TSke&l.php <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'php')<cr>
-menu 90.20 TSke&l.preg_replace :call tskeleton#ExpandBitUnderCursor("n", 'preg_replace')<cr>
-imenu 90.20 TSke&l.preg_replace <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'preg_replace')<cr>
-menu 90.20 TSke&l.switch :call tskeleton#ExpandBitUnderCursor("n", 'switch')<cr>
-imenu 90.20 TSke&l.switch <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'switch')<cr>
-menu 90.20 TSke&l.var :call tskeleton#ExpandBitUnderCursor("n", 'var')<cr>
-imenu 90.20 TSke&l.var <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'var')<cr>
-menu 90.20 TSke&l.var_export :call tskeleton#ExpandBitUnderCursor("n", 'var_export')<cr>
-imenu 90.20 TSke&l.var_export <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'var_export')<cr>
-menu 90.20 TSke&l.while :call tskeleton#ExpandBitUnderCursor("n", 'while')<cr>
-imenu 90.20 TSke&l.while <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'while')<cr>

File vim/cache/tskel_menu/tskeleton

-
-menu 90.20 TSke&l.tskel_after :call tskeleton#ExpandBitUnderCursor("n", 'tskel_after')<cr>
-imenu 90.20 TSke&l.tskel_after <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'tskel_after')<cr>
-menu 90.20 TSke&l.tskel_before :call tskeleton#ExpandBitUnderCursor("n", 'tskel_before')<cr>
-imenu 90.20 TSke&l.tskel_before <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'tskel_before')<cr>
-menu 90.20 TSke&l.tskel_here_after :call tskeleton#ExpandBitUnderCursor("n", 'tskel_here_after')<cr>
-imenu 90.20 TSke&l.tskel_here_after <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'tskel_here_after')<cr>
-menu 90.20 TSke&l.tskel_here_before :call tskeleton#ExpandBitUnderCursor("n", 'tskel_here_before')<cr>
-imenu 90.20 TSke&l.tskel_here_before <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'tskel_here_before')<cr>

File vim/cache/tskel_menu/vim

-
-menu 90.20 TSke&l.TAB :call tskeleton#ExpandBitUnderCursor("n", 'TAB')<cr>
-imenu 90.20 TSke&l.TAB <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'TAB')<cr>
-menu 90.20 TSke&l.function :call tskeleton#ExpandBitUnderCursor("n", 'function')<cr>
-imenu 90.20 TSke&l.function <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'function')<cr>
-menu 90.20 TSke&l.if :call tskeleton#ExpandBitUnderCursor("n", 'if')<cr>
-imenu 90.20 TSke&l.if <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'if')<cr>
-menu 90.20 TSke&l.ifelse :call tskeleton#ExpandBitUnderCursor("n", 'ifelse')<cr>
-imenu 90.20 TSke&l.ifelse <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'ifelse')<cr>
-menu 90.20 TSke&l.try :call tskeleton#ExpandBitUnderCursor("n", 'try')<cr>
-imenu 90.20 TSke&l.try <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'try')<cr>
-menu 90.20 TSke&l.while :call tskeleton#ExpandBitUnderCursor("n", 'while')<cr>
-imenu 90.20 TSke&l.while <c-\><c-o>:call tskeleton#ExpandBitUnderCursor("i", 'while')<cr>
 filetype plugin indent on
 syntax on
 
-"" Settings
+" Settings --------------------------------------------------------------------
 set nocompatible
 set modelines=0
 set tabstop=4 shiftwidth=4 softtabstop=4 expandtab
 set lines=999 columns=999
 set shellslash
 set grepprg=grep\ -nH\ $*
-"" end Settings
+set spelllang=ru_yo,en
+set nospell
 
-" Mappings
+" Mappings --------------------------------------------------------------------
 let mapleader = "," 
 " Cycle through windows
 nnoremap <C-TAB> <C-w><C-w>
 nnoremap <leader>w <C-w>v<C-w>l
 "" End mappings
 
-"==========================
-" Python specific settings
-"==========================
+" Python specific settings -----------------------------------------------------
 func! DeleteTrailingWS()
   exe "normal mz"
   %s/\s\+$//ge
 autocmd FileType python highlight BadWhitespace ctermbg=red guibg=red
 
 
-"=======================
-" Autocomplete settings
-"=======================
+" Autocomplete settings -------------------------------------------------------
 autocmd Filetype java setlocal omnifunc=javacomplete#Complete
 let ropevim_vim_completion=1
 autocmd Filetype python setlocal omnifunc=RopeCompleteFunc
 let g:SuperTabDefaultCompletionType = "context"
 
-"===========
-" View opts
-"===========
+" View opts -------------------------------------------------------------------
 if has("gui_running")
     set guifont=TerminusMedium:h16
     set noantialias " Terminus looks better that way
 colo xoria256
 
 
-"==================
-" Status line opts
-"==================
+" Status line opts ------------------------------------------------------------
 set statusline=
 set statusline+=%t 
 set statusline+=\ %y%m%r
 set statusline+=%k%=%-14.(%l,%c%V%)\ %P
 set laststatus=2
 
-"===================
-" Tag list settings 
-"===================
+" Tag list settings -----------------------------------------------------------
 let Tlist_Use_Right_Window=1
 let Tlist_Enable_Fold_Column=0
 let Tlist_Compact_Format=1
 let g:Tlist_Show_One_File = 1 
 let g:Tlist_GainFocus_On_ToggleOpen = 1
 
-"=======================
-" HTML close tag plugin
-"=======================
+" HTML close tag plugin -------------------------------------------------------
 let g:closetag_html_style=1
 au Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim 
 
-"===========
-" Man pages
-"===========
+" Man pages -------------------------------------------------------------------
 runtime! ftplugin/man.vim
 nmap <S-k> :exe ":Man " expand("<cword>")<CR>
 
-"==========================
-" Pascal specific settings
-"==========================
+" Pascal specific settings ----------------------------------------------------
 au FileType pascal set tabstop=2 shiftwidth=2 softtabstop=2 expandtab
 
-"==================
-" Hexmode settings 
-"==================
-nnoremap <C-H> :Hexmode<CR>
-inoremap <C-H> <Esc>:Hexmode<CR>
-vnoremap <C-H> :<C-U>Hexmode<CR>
-
-command -bar Hexmode call ToggleHex()
-
-function ToggleHex()
-  let l:modified=&mod
-  let l:oldreadonly=&readonly
-  let &readonly=0
-  let l:oldmodifiable=&modifiable
-  let &modifiable=1
-  if !exists("b:editHex") || !b:editHex
-    let b:oldft=&ft
-    let b:oldbin=&bin
-    setlocal binary 
-    let &ft="xxd"
-    let b:editHex=1
-    %!xxd
-  else
-    let &ft=b:oldft
-    if !b:oldbin
-      setlocal nobinary
-    endif
-    let b:editHex=0
-    %!xxd -r
-  endif
-  let &mod=l:modified
-  let &readonly=l:oldreadonly
-  let &modifiable=l:oldmodifiable
-endfunction
-
-" autocmds to automatically enter hex mode and handle file writes properly
-if has("autocmd")
-  " vim -b : edit binary using xxd-format!
-  augroup Binary
-    au!
-
-    " set binary option for all binary files before reading them
-    au BufReadPre *.bin,*.hex setlocal binary
-
-    " if on a fresh read the buffer variable is already set, it's wrong
-    au BufReadPost *
-          \ if exists('b:editHex') && b:editHex |
-          \   let b:editHex = 0 |
-          \ endif
-
-    " convert to hex on startup for binary files automatically
-    au BufReadPost *
-          \ if &binary | Hexmode | endif
-
-    " When the text is freed, the next time the buffer is made active it will
-    " re-read the text and thus not match the correct mode, we will need to
-    " convert it again if the buffer is again loaded.
-    au BufUnload *
-          \ if getbufvar(expand("<afile>"), 'editHex') == 1 |
-          \   call setbufvar(expand("<afile>"), 'editHex', 0) |
-          \ endif
-
-    " before writing a file when editing in hex mode, convert back to non-hex
-    au BufWritePre *
-          \ if exists("b:editHex") && b:editHex && &binary |
-          \  let oldro=&ro | let &ro=0 |
-          \  let oldma=&ma | let &ma=1 |
-          \  silent exe "%!xxd -r" |
-          \  let &ma=oldma | let &ro=oldro |
-          \  unlet oldma | unlet oldro |
-          \ endif
-
-    " after writing a binary file, if we're in hex mode, restore hex mode
-    au BufWritePost *
-          \ if exists("b:editHex") && b:editHex && &binary |
-          \  let oldro=&ro | let &ro=0 |
-          \  let oldma=&ma | let &ma=1 |
-          \  silent exe "%!xxd" |
-          \  exe "set nomod" |
-          \  let &ma=oldma | let &ro=oldro |
-          \  unlet oldma | unlet oldro |
-          \ endif
-  augroup END
-endif
-
-
-
-"================
-" Latex settings 
-"================
+" Latex settings --------------------------------------------------------------
 let g:tex_flavor='latex'
 au FileType latex :set sw=2
 au FileType latex :set iskeyword+=:
 
-"====================
-" Syntastic settings
-"====================
+" Syntastic settings ----------------------------------------------------------
 let g:syntastic_enable_signs=1
 
-
-"==================
-" Vimwiki settings
-"==================
+" Vimwiki settings ------------------------------------------------------------
 let wiki = {}
 let wiki.path = '~/wiki/'
 let wiki.path_html = '~/Sites/wiki/'
 let wiki.html_header = '~/wiki/header.tpl'
 let g:vimwiki_list = [wiki]
 
-"====================
-" Tskeleton settings
-"====================
+" Tskeleton settings ----------------------------------------------------------
 let g:tskelUserName="Vladislav\ Bortnikov"
 let g:tskelUserEmail="bortnikov.vladislav@e-sakha.ru"
 let g:tskelUserWWW="http://d1ff.e-sakha.ru"