├── README.md ├── .gvimrc ├── .vimrc ├── .gitignore ├── .vim ├── bundle │ ├── command-t │ │ ├── .rspec │ │ ├── fixtures │ │ │ ├── baz │ │ │ ├── bing │ │ │ ├── bar │ │ │ │ ├── abc │ │ │ │ └── xyz │ │ │ └── foo │ │ │ │ ├── beta │ │ │ │ └── alpha │ │ │ │ ├── t1 │ │ │ │ └── t2 │ │ ├── doc │ │ │ └── .gitignore │ │ ├── .bundle │ │ │ └── config │ │ ├── Gemfile │ │ ├── ruby │ │ │ └── command-t │ │ │ │ ├── .gitignore │ │ │ │ ├── depend │ │ │ │ ├── extconf.rb │ │ │ │ ├── vim │ │ │ │ ├── screen.rb │ │ │ │ └── window.rb │ │ │ │ ├── match.h │ │ │ │ ├── matcher.h │ │ │ │ ├── vim.rb │ │ │ │ ├── ext.h │ │ │ │ ├── stub.rb │ │ │ │ ├── finder.rb │ │ │ │ ├── ruby_compat.h │ │ │ │ ├── settings.rb │ │ │ │ └── ext.c │ │ ├── compile-test.sh │ │ ├── bin │ │ │ ├── rake │ │ │ ├── ldiff │ │ │ ├── rspec │ │ │ └── htmldiff │ │ ├── Gemfile.lock │ │ ├── Makefile │ │ ├── multi-spec.sh │ │ ├── LICENSE │ │ ├── spec │ │ │ ├── vim_formatter.rb │ │ │ ├── spec_helper.rb │ │ │ └── command-t │ │ │ │ ├── finder_spec.rb │ │ │ │ └── matcher_spec.rb │ │ └── Rakefile │ ├── json │ │ ├── ftdetect │ │ │ └── json.vim │ │ └── syntax │ │ │ └── json.vim │ ├── factor │ │ ├── ftdetect │ │ │ └── factor.vim │ │ ├── ftplugin │ │ │ └── factor_settings.vim │ │ └── README │ ├── bufexplorer │ │ └── doc │ │ │ ├── bufexplorer.txt │ │ │ └── tags │ ├── vim-latex │ │ ├── doc │ │ │ ├── latex-suite.html │ │ │ ├── latex-suite-quickstart.html │ │ │ ├── README.new │ │ │ ├── catalog.xml │ │ │ ├── latex-suite.xsl │ │ │ ├── Makefile.in │ │ │ ├── latex-suite-chunk.xsl │ │ │ ├── Makefile │ │ │ ├── latex-suite │ │ │ │ ├── latex-viewing.html │ │ │ │ ├── latex-suite-commands-maps.html │ │ │ │ ├── default-folding.html │ │ │ │ ├── latex-project-settings.html │ │ │ │ ├── greek-letter-mappings.html │ │ │ │ ├── font-maps.html │ │ │ │ ├── diacritic-mappings.html │ │ │ │ ├── section-mappings.html │ │ │ │ ├── inverse-searching.html │ │ │ │ ├── latex-packages.html │ │ │ │ └── customizing-packages.html │ │ │ ├── latex-suite-quickstart │ │ │ │ ├── lsq-conclusions.html │ │ │ │ ├── lsq-viewing-dvi.html │ │ │ │ ├── lsq-insert-environment.html │ │ │ │ ├── lsq-using-tutorial.html │ │ │ │ ├── lsq-inserting-template.html │ │ │ │ └── lsq-compiling.html │ │ │ └── latex-suite-common.xsl │ │ ├── plugin │ │ │ └── filebrowser.vim │ │ ├── ftplugin │ │ │ ├── latex-suite │ │ │ │ ├── texrc │ │ │ │ ├── outline.pyc │ │ │ │ ├── bibtools.pyc │ │ │ │ ├── mathmacros.vim │ │ │ │ ├── packages │ │ │ │ │ ├── polski │ │ │ │ │ ├── bm │ │ │ │ │ ├── times │ │ │ │ │ ├── plain │ │ │ │ │ ├── arabic │ │ │ │ │ ├── lscape │ │ │ │ │ ├── everyshi │ │ │ │ │ ├── fn2end │ │ │ │ │ ├── afterpage │ │ │ │ │ ├── multibox │ │ │ │ │ ├── flafter │ │ │ │ │ ├── acromake │ │ │ │ │ ├── enumerate │ │ │ │ │ ├── letterspace │ │ │ │ │ ├── amsxtra │ │ │ │ │ ├── comma │ │ │ │ │ ├── oldstyle │ │ │ │ │ ├── bophook │ │ │ │ │ ├── graphpap │ │ │ │ │ ├── textfit │ │ │ │ │ ├── version │ │ │ │ │ ├── cases │ │ │ │ │ ├── boxedminipage │ │ │ │ │ ├── histogram │ │ │ │ │ ├── alltt │ │ │ │ │ ├── eqparbox │ │ │ │ │ ├── floatflt │ │ │ │ │ ├── german │ │ │ │ │ ├── ngerman │ │ │ │ │ ├── dropping │ │ │ │ │ ├── parallel │ │ │ │ │ ├── float │ │ │ │ │ ├── plates │ │ │ │ │ ├── hhline │ │ │ │ │ ├── array │ │ │ │ │ ├── ulem │ │ │ │ │ ├── manyfoot │ │ │ │ │ ├── numprint │ │ │ │ │ ├── eqlist │ │ │ │ │ ├── footmisc │ │ │ │ │ ├── harpoon │ │ │ │ │ ├── ifthen │ │ │ │ │ ├── outliner │ │ │ │ │ ├── multicol │ │ │ │ │ ├── schedule │ │ │ │ │ ├── amsthm │ │ │ │ │ ├── ccaption │ │ │ │ │ ├── chapterbib │ │ │ │ │ ├── verbatim │ │ │ │ │ ├── inputenc │ │ │ │ │ ├── newalg │ │ │ │ │ ├── accents │ │ │ │ │ ├── url │ │ │ │ │ ├── drftcite │ │ │ │ │ ├── changebar │ │ │ │ │ ├── longtable │ │ │ │ │ ├── psgo │ │ │ │ │ ├── bar │ │ │ │ │ ├── caption2 │ │ │ │ │ ├── color │ │ │ │ │ ├── cite │ │ │ │ │ ├── overcite │ │ │ │ │ ├── moreverb │ │ │ │ │ ├── deleq │ │ │ │ │ ├── lineno │ │ │ │ │ ├── graphicx │ │ │ │ │ ├── geometry │ │ │ │ │ ├── exmpl │ │ │ │ │ ├── amsmath │ │ │ │ │ └── babel │ │ │ │ ├── projecttemplate.vim │ │ │ │ ├── templates │ │ │ │ │ ├── report.tex │ │ │ │ │ ├── article.tex │ │ │ │ │ └── report_two_column.tex │ │ │ │ ├── macros │ │ │ │ │ └── example │ │ │ │ ├── multicompile.vim │ │ │ │ ├── version.vim │ │ │ │ ├── pytools.py │ │ │ │ └── texproject.vim │ │ │ ├── tex_latexSuite.vim │ │ │ └── bib_latexSuite.vim │ │ ├── latextags │ │ ├── Makefile │ │ └── ltags │ ├── lilypond │ │ ├── ftdetect │ │ │ └── lilypond.vim │ │ ├── compiler │ │ │ └── lilypond.vim │ │ ├── indent │ │ │ └── lilypond.vim │ │ ├── ftplugin │ │ │ └── lilypond.vim │ │ └── syntax │ │ │ └── lilypond.vim │ ├── matlab │ │ ├── doc │ │ │ └── tags │ │ ├── ftplugin │ │ │ └── matlab.vim │ │ ├── license.txt │ │ └── compiler │ │ │ └── mlint.vim │ ├── IndentAnything │ │ ├── doc │ │ │ └── tags │ │ └── plugin │ │ │ └── test │ │ │ └── IndentAnything │ │ │ └── test.js │ ├── NERD-tree │ │ └── nerdtree_plugin │ │ │ └── exec_menuitem.vim │ ├── hexHighlight │ │ └── plugin │ │ │ └── hexHighlight.vim │ └── matchit │ │ └── doc │ │ └── tags ├── gvimrc ├── .netrwhist ├── indent │ └── haskell.vim ├── colors │ └── Mustang.vim ├── vimrc └── autoload │ └── repeat.vim ├── .gitconfig ├── .pythonrc ├── .startup.sh ├── .gitmodules ├── .zshrc └── .conky └── .conkyrc /README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gvimrc: -------------------------------------------------------------------------------- 1 | .vim/gvimrc -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | .vim/vimrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.un~ 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/.rspec: -------------------------------------------------------------------------------- 1 | --colour 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/baz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/bing: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/doc/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/bar/abc: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/bar/xyz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/foo/beta: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/foo/alpha/t1: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/fixtures/foo/alpha/t2: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_BIN: bin 3 | -------------------------------------------------------------------------------- /.vim/bundle/json/ftdetect/json.vim: -------------------------------------------------------------------------------- 1 | 2 | autocmd BufRead,BufNewFile *.json setf json 3 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/Gemfile: -------------------------------------------------------------------------------- 1 | gem 'rake' 2 | gem 'rr' 3 | gem 'rspec', '>= 2.0.0.beta.16' 4 | -------------------------------------------------------------------------------- /.gitconfig: -------------------------------------------------------------------------------- 1 | [user] 2 | name = Michael 3 | email = michaelabed@gmail.com 4 | [color] 5 | ui = true 6 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | *.o 3 | *.log 4 | ext.* 5 | !ext.c 6 | !ext.h 7 | -------------------------------------------------------------------------------- /.vim/bundle/factor/ftdetect/factor.vim: -------------------------------------------------------------------------------- 1 | autocmd BufRead,BufNewFile *.factor,{,.}factor*-rc set filetype=factor 2 | -------------------------------------------------------------------------------- /.vim/bundle/bufexplorer/doc/bufexplorer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/bufexplorer/doc/bufexplorer.txt -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/doc/latex-suite.html -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/plugin/filebrowser.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/plugin/filebrowser.vim -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/texrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/ftplugin/latex-suite/texrc -------------------------------------------------------------------------------- /.vim/bundle/lilypond/ftdetect/lilypond.vim: -------------------------------------------------------------------------------- 1 | " 2 | " Installed As: vim/ftdetect/lilypond.vim 3 | " 4 | au! BufNewFile,BufRead *.ly,*.ily setf lilypond 5 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/doc/latex-suite-quickstart.html -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/outline.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/ftplugin/latex-suite/outline.pyc -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/bibtools.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/ftplugin/latex-suite/bibtools.pyc -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/mathmacros.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/ftplugin/latex-suite/mathmacros.vim -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/polski: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vault/dotfiles/HEAD/.vim/bundle/vim-latex/ftplugin/latex-suite/packages/polski -------------------------------------------------------------------------------- /.pythonrc: -------------------------------------------------------------------------------- 1 | 2 | import sys, os, string, time 3 | from itertools import * 4 | 5 | import readline 6 | import rlcompleter 7 | readline.parse_and_bind("tab: complete") 8 | 9 | 10 | -------------------------------------------------------------------------------- /.startup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # caps lock = control 4 | xmodmap -e "remove lock = Caps_Lock" 5 | xmodmap -e "add control = Caps_Lock" 6 | xmodmap -e "pointer = 1 2 3 4 5 6 7 0 0 8" 7 | 8 | # Disable bells 9 | xset b off 10 | xset b 0 0 0 11 | 12 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/bm: -------------------------------------------------------------------------------- 1 | if exists("bm_package_file") 2 | finish 3 | endif 4 | let bm_package_file = 1 5 | 6 | let g:TeX_package_option_bm = '' 7 | 8 | let g:TeX_package_bm = 'bra:bm' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/times: -------------------------------------------------------------------------------- 1 | if exists("times_package_file") 2 | finish 3 | endif 4 | let times_package_file = 1 5 | 6 | let g:TeX_package_option_times = '' 7 | 8 | let g:TeX_package_times = '' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/plain: -------------------------------------------------------------------------------- 1 | if exists("plain_package_file") 2 | finish 3 | endif 4 | let plain_package_file = 1 5 | 6 | let g:TeX_package_option_plain = '' 7 | 8 | let g:TeX_package_plain = 'env:plain' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/arabic: -------------------------------------------------------------------------------- 1 | if exists("arabic_package_file") 2 | finish 3 | endif 4 | let arabic_package_file = 1 5 | 6 | let g:TeX_package_option_arabic = '' 7 | 8 | let g:TeX_package_arabic = 'bra:arabicnumeral' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/lscape: -------------------------------------------------------------------------------- 1 | if exists("lscape_package_file") 2 | finish 3 | endif 4 | let lscape_package_file = 1 5 | 6 | let g:TeX_package_option_lscape = '' 7 | 8 | let g:TeX_package_lscape = 'env:landscape' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/everyshi: -------------------------------------------------------------------------------- 1 | if exists("everyshi_package_file") 2 | finish 3 | endif 4 | let everyshi_package_file = 1 5 | 6 | let g:TeX_package_option_everyshi = '' 7 | 8 | let g:TeX_package_everyshi = 'bra:EveryShipOut' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/fn2end: -------------------------------------------------------------------------------- 1 | if exists("fn2end_package_file") 2 | finish 3 | endif 4 | let fn2end_package_file = 1 5 | 6 | let g:TeX_package_option_fn2end = '' 7 | 8 | let g:TeX_package_fn2end = 'makeendnotes,theendnotes' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/afterpage: -------------------------------------------------------------------------------- 1 | if exists("afterpage_package_file") 2 | finish 3 | endif 4 | let afterpage_package_file = 1 5 | 6 | let g:TeX_package_option_afterpage = '' 7 | 8 | let g:TeX_package_afterpage = 'bra:afterpage' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/multibox: -------------------------------------------------------------------------------- 1 | if exists("multibox_package_file") 2 | finish 3 | endif 4 | let multibox_package_file = 1 5 | 6 | let g:TeX_package_option_multibox = '' 7 | 8 | let g:TeX_package_multibox = 'multimake,multiframe' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/flafter: -------------------------------------------------------------------------------- 1 | if exists("flafter_package_file") 2 | finish 3 | endif 4 | let flafter_package_file = 1 5 | 6 | let g:TeX_package_option_flafter = '' 7 | 8 | let g:TeX_package_flafter = 'noo:suppressfloats,noo:suppress' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/acromake: -------------------------------------------------------------------------------- 1 | if exists("acromake_package_file") 2 | finish 3 | endif 4 | let acromake_package_file = 1 5 | 6 | let g:TeX_package_option_acromake = '' 7 | 8 | let g:TeX_package_acromake = 'brs:acromake{<++>}{<++>}{<++>}' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/enumerate: -------------------------------------------------------------------------------- 1 | if exists("enumerate_package_file") 2 | finish 3 | endif 4 | let enumerate_package_file = 1 5 | 6 | let g:TeX_package_option_enumerate = '' 7 | 8 | let g:TeX_package_enumerate = 'ens:enumerate:[<+prefix+>]' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/letterspace: -------------------------------------------------------------------------------- 1 | if exists("letterspace_package_file") 2 | finish 3 | endif 4 | let letterspace_package_file = 1 5 | 6 | let g:TeX_package_option_letterspace = '' 7 | 8 | let g:TeX_package_letterspace = 'nor:letterspace' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/amsxtra: -------------------------------------------------------------------------------- 1 | if exists("amsxtra_package_file") 2 | finish 3 | endif 4 | let amsxtra_package_file = 1 5 | 6 | let g:TeX_package_option_amsxtra = '' 7 | 8 | let g:TeX_package_amsxtra = 9 | \ 'nor:sphat,' 10 | \.'nor:sptilde' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/comma: -------------------------------------------------------------------------------- 1 | if exists("comma_package_file") 2 | finish 3 | endif 4 | let comma_package_file = 1 5 | 6 | let g:TeX_package_option_comma = '' 7 | 8 | let g:TeX_package_comma = 9 | \ 'bra:commaform,' 10 | \.'bra:commaformtoken' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/oldstyle: -------------------------------------------------------------------------------- 1 | if exists("oldstyle_package_file") 2 | finish 3 | endif 4 | let oldstyle_package_file = 1 5 | 6 | let g:TeX_package_option_oldstyle = '' 7 | 8 | let g:TeX_package_oldstyle = 9 | \ 'bra:textos,' 10 | \.'bra:mathos' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/projecttemplate.vim: -------------------------------------------------------------------------------- 1 | " Project name 2 | " let g:projName = '' 3 | " 4 | " Project files 5 | " let g:projFiles = '' 6 | 7 | 8 | " Vim settings/maps/abbrs specific for this project 9 | 10 | " Modeline for this file 11 | " vim:fdm=marker:ff=unix:noet:ts=4:sw=4:ft=vim 12 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/latextags: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | foreach $fname (@ARGV) { 4 | $tags = `fgrep \\label $fname`; 5 | @tagsList = split('\n', $tags); 6 | foreach $tag (@tagsList) { 7 | $tag =~ /.*\\label{([^}]*)}/; 8 | $tagName = $1; 9 | print "$tagName\t$fname\t/label{$tagName}/\n"; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/bophook: -------------------------------------------------------------------------------- 1 | if exists("bophook_package_file") 2 | finish 3 | endif 4 | let bophook_package_file = 1 5 | 6 | let g:TeX_package_option_bophook = '' 7 | 8 | let g:TeX_package_bophook = 9 | \ 'bra:AtBeginPage,' 10 | \.'bra:PageLayout' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/graphpap: -------------------------------------------------------------------------------- 1 | if exists("graphpap_package_file") 2 | finish 3 | endif 4 | let graphpap_package_file = 1 5 | 6 | let g:TeX_package_option_graphpap = '' 7 | 8 | let g:TeX_package_graphpap = 'brs:graphpaper[<+step+>](<+x1,y1+>)(<+x2,y2+>)' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/textfit: -------------------------------------------------------------------------------- 1 | if exists("textfit_package_file") 2 | finish 3 | endif 4 | let textfit_package_file = 1 5 | 6 | let g:TeX_package_option_textfit = '' 7 | 8 | let g:TeX_package_textfit = 9 | \ 'brd:scaletowidth,' 10 | \.'brd:scaletoheight' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/compile-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | cd ruby/command-t 3 | for RUBY_VERSION in $(ls ~/.multiruby/install); do 4 | echo "$RUBY_VERSION: building" 5 | export PATH=~/.multiruby/install/$RUBY_VERSION/bin:$PATH 6 | ruby extconf.rb 7 | make clean 8 | make 9 | echo "$RUBY_VERSION: finished" 10 | done 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/version: -------------------------------------------------------------------------------- 1 | if exists("version_package_file") 2 | finish 3 | endif 4 | let version_package_file = 1 5 | 6 | let g:TeX_package_option_version = '' 7 | 8 | let g:TeX_package_version = 9 | \ 'bra:includeversion,' 10 | \.'bra:excludeversion' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/cases: -------------------------------------------------------------------------------- 1 | if exists("cases_package_file") 2 | finish 3 | endif 4 | let cases_package_file = 1 5 | 6 | let g:TeX_package_option_cases = '' 7 | 8 | let g:TeX_package_cases = 9 | \ 'ens:numcases:{<+label+>},' 10 | \.'ens:subnumcases:{<+label+>}' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/boxedminipage: -------------------------------------------------------------------------------- 1 | if exists("boxedminipage_package_file") 2 | finish 3 | endif 4 | let boxedminipage_package_file = 1 5 | 6 | let g:TeX_package_option_boxedminipage = '' 7 | 8 | let g:TeX_package_boxedminipage = 'ens:boxedminipage:[<+pos+>]{<+size+>}' 9 | 10 | " vim:ft=vim:ff=unix: 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/histogram: -------------------------------------------------------------------------------- 1 | if exists("histogram_package_file") 2 | finish 3 | endif 4 | let histogram_package_file = 1 5 | 6 | let g:TeX_package_option_histogram = '' 7 | 8 | let g:TeX_package_histogram = 9 | \ 'histogram,' 10 | \.'noverticallines,' 11 | \.'verticallines' 12 | 13 | " vim:ft=vim:ff=unix: 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/alltt: -------------------------------------------------------------------------------- 1 | if exists("alltt_package_file") 2 | finish 3 | endif 4 | let alltt_package_file = 1 5 | 6 | let g:TeX_package_option_alltt = '' 7 | 8 | let g:TeX_package_alltt = 'env:alltt' 9 | 10 | syn region texZone start="\\begin{alltt}" end="\\end{alltt}\|%stopzone\>" fold 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/eqparbox: -------------------------------------------------------------------------------- 1 | if exists("eqparbox_package_file") 2 | finish 3 | endif 4 | let eqparbox_package_file = 1 5 | 6 | let g:TeX_package_option_eqparbox = '' 7 | 8 | let g:TeX_package_eqparbox = 9 | \ 'brs:eqparbox[<+pos+>][<+height+>][<+inner-pos+>]{<+tag+>}{<+text+>},' 10 | \.'bra:eqboxwidth' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/matlab/doc/tags: -------------------------------------------------------------------------------- 1 | MatlabEditionFiles matlab.txt /*MatlabEditionFiles* 2 | matlab matlab.txt /*matlab* 3 | matlab-compiler matlab.txt /*matlab-compiler* 4 | matlab-indent matlab.txt /*matlab-indent* 5 | matlab-instal matlab.txt /*matlab-instal* 6 | matlab-matchit matlab.txt /*matlab-matchit* 7 | matlab-syntax matlab.txt /*matlab-syntax* 8 | matlab-tags matlab.txt /*matlab-tags* 9 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/floatflt: -------------------------------------------------------------------------------- 1 | if exists("floatflt_package_file") 2 | finish 3 | endif 4 | let floatflt_package_file = 1 5 | 6 | let g:TeX_package_option_floatflt = 'rflt,lflt,vflt' 7 | 8 | let g:TeX_package_floatflt = 9 | \ 'ens:floatingfigure:[<+loc+>]{<+spec+>},' 10 | \.'ens:floatingtable:[<+loc+>]{<+spec+>}' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/german: -------------------------------------------------------------------------------- 1 | if exists("german_package_file") 2 | finish 3 | endif 4 | let german_package_file = 1 5 | 6 | let g:TeX_package_german = '' 7 | let g:TeX_package_option_german = '' 8 | " For now just define the smart quotes. 9 | let b:Tex_SmartQuoteOpen = '"`' 10 | let b:Tex_SmartQuoteClose = "\"'" 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/ngerman: -------------------------------------------------------------------------------- 1 | if exists("ngerman_package_file") 2 | finish 3 | endif 4 | let ngerman_package_file = 1 5 | 6 | let g:TeX_package_ngerman = '' 7 | let g:TeX_package_option_ngerman = '' 8 | " For now just define the smart quotes. 9 | let b:Tex_SmartQuoteOpen = '"`' 10 | let b:Tex_SmartQuoteClose = "\"'" 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/dropping: -------------------------------------------------------------------------------- 1 | if exists("dropping_package_file") 2 | finish 3 | endif 4 | let dropping_package_file = 1 5 | 6 | let g:TeX_package_option_dropping = '' 7 | 8 | let g:TeX_package_dropping = 9 | \ 'brs:bigdrop{<+indent+>}{<+big+>}{<+font+>}{<+text+>},' 10 | \.'brs:dropping[<+indent+>]{<+big+>}{<+text+>}' 11 | 12 | " vim:ft=vim:ff=unix: 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/parallel: -------------------------------------------------------------------------------- 1 | if exists("parallel_package_file") 2 | finish 3 | endif 4 | let parallel_package_file = 1 5 | 6 | let g:TeX_package_option_parallel = '' 7 | 8 | let g:TeX_package_parallel = 9 | \ 'env:Parallel,' 10 | \.'bra:ParallelLText,' 11 | \.'bra:ParallelRText,' 12 | \.'nor:ParallelPar,' 13 | \.'nor:tolerance' 14 | 15 | " vim:ft=vim:ff=unix: 16 | -------------------------------------------------------------------------------- /.vim/gvimrc: -------------------------------------------------------------------------------- 1 | set go-=T 2 | set go-=R 3 | set go-=L 4 | set go-=l 5 | set go-=r 6 | set go-=m 7 | 8 | "function ToggleFullscreen() 9 | "if &fullscreen 10 | "set nofullscreen 11 | "set transp=8 12 | "else 13 | "let l:c=&columns 14 | "set fullscreen 15 | "let &columns=l:c 16 | "set transp=0 17 | "endif 18 | "endfunction 19 | 20 | "nmap :call ToggleFullscreen() 21 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # 3 | # This file was generated by Bundler. 4 | # 5 | # The application 'rake' is installed as part of a gem, and 6 | # this file is here to facilitate running it. 7 | # 8 | 9 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", __FILE__) 10 | 11 | require 'rubygems' 12 | require 'bundler/setup' 13 | 14 | load Gem.bin_path('rake', 'rake') 15 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/bin/ldiff: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # 3 | # This file was generated by Bundler. 4 | # 5 | # The application 'ldiff' is installed as part of a gem, and 6 | # this file is here to facilitate running it. 7 | # 8 | 9 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", __FILE__) 10 | 11 | require 'rubygems' 12 | require 'bundler/setup' 13 | 14 | load Gem.bin_path('diff-lcs', 'ldiff') 15 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/bin/rspec: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # 3 | # This file was generated by Bundler. 4 | # 5 | # The application 'rspec' is installed as part of a gem, and 6 | # this file is here to facilitate running it. 7 | # 8 | 9 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", __FILE__) 10 | 11 | require 'rubygems' 12 | require 'bundler/setup' 13 | 14 | load Gem.bin_path('rspec-core', 'rspec') 15 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/bin/htmldiff: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # 3 | # This file was generated by Bundler. 4 | # 5 | # The application 'htmldiff' is installed as part of a gem, and 6 | # this file is here to facilitate running it. 7 | # 8 | 9 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", __FILE__) 10 | 11 | require 'rubygems' 12 | require 'bundler/setup' 13 | 14 | load Gem.bin_path('diff-lcs', 'htmldiff') 15 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/float: -------------------------------------------------------------------------------- 1 | if exists("float_package_file") 2 | finish 3 | endif 4 | let float_package_file = 1 5 | 6 | let g:TeX_package_option_float = '' 7 | 8 | let g:TeX_package_float = 9 | \ 'bra:floatstyle,' 10 | \.'brs:newfloat{<++>}{<++>}{<++>}[<++>],' 11 | \.'brd:floatname,' 12 | \.'brd:listof,' 13 | \.'bra:restylefloat,' 14 | \.'brd:floatplacement' 15 | 16 | " vim:ft=vim:ff=unix: 17 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/plates: -------------------------------------------------------------------------------- 1 | if exists("plates_package_file") 2 | finish 3 | endif 4 | let plates_package_file = 1 5 | 6 | let g:TeX_package_option_plates = 'figures,onefloatperpage,memoir' 7 | 8 | let g:TeX_package_plates = 9 | \ 'env:plate,' 10 | \.'listofplates,' 11 | \.'ProcessPlates,' 12 | \.'bra:setplatename,' 13 | \.'bra:setplatename,' 14 | \.'bra:atBeginPlates' 15 | 16 | " vim:ft=vim:ff=unix: 17 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/hhline: -------------------------------------------------------------------------------- 1 | if exists("hhline_package_file") 2 | finish 3 | endif 4 | let hhline_package_file = 1 5 | 6 | let g:TeX_package_option_hhline = '' 7 | 8 | let g:TeX_package_hhline = 9 | \ 'bra:hhline,' 10 | \.'sep:a,' 11 | \.'spe:=,' 12 | \.'spe:-,' 13 | \.'spe:~,' 14 | \."spe:\\\|," 15 | \.'spe::,' 16 | \.'spe:#,' 17 | \.'spe:t,' 18 | \.'spe:b,' 19 | \.'spe:*' 20 | 21 | " vim:ft=vim:ff=unix: 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/tex_latexSuite.vim: -------------------------------------------------------------------------------- 1 | " LaTeX filetype 2 | " Language: LaTeX (ft=tex) 3 | " Maintainer: Srinath Avadhanula 4 | " Email: srinath@fastmail.fm 5 | 6 | if !exists('s:initLatexSuite') 7 | let s:initLatexSuite = 1 8 | exec 'so '.fnameescape(expand(':p:h').'/latex-suite/main.vim') 9 | 10 | silent! do LatexSuite User LatexSuiteInitPost 11 | endif 12 | 13 | silent! do LatexSuite User LatexSuiteFileType 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/array: -------------------------------------------------------------------------------- 1 | if exists("array_package_file") 2 | finish 3 | endif 4 | let array_package_file = 1 5 | 6 | let g:TeX_package_option_array = '' 7 | 8 | let g:TeX_package_array = 9 | \ 'brs:newcolumntype{<+type+>}[<+no+>]{<+preamble+>},' 10 | \.'arraycolsep,' 11 | \.'tabcolsep,' 12 | \.'arrayrulewidth,' 13 | \.'doublerulesep,' 14 | \.'arraystretch,' 15 | \.'extrarowheight' 16 | 17 | " vim:ft=vim:ff=unix: 18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/ulem: -------------------------------------------------------------------------------- 1 | if exists("ulem_package_file") 2 | finish 3 | endif 4 | let ulem_package_file = 1 5 | 6 | let g:TeX_package_option_ulem = 7 | \ 'normalem,' 8 | \.'ULforem,' 9 | \.'normalbf,' 10 | \.'UWforbf' 11 | 12 | let g:TeX_package_ulem = 13 | \ 'bra:uwave,' 14 | \.'bra:uline,' 15 | \.'bra:uuline,' 16 | \.'bra:sout,' 17 | \.'bra:xout,' 18 | \.'ULthickness,' 19 | \.'ULdepth' 20 | 21 | " vim:ft=vim:ff=unix: 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/manyfoot: -------------------------------------------------------------------------------- 1 | if exists("manyfoot_package_file") 2 | finish 3 | endif 4 | let manyfoot_package_file = 1 5 | 6 | let g:TeX_package_option_manyfoot = 'para' 7 | 8 | let g:TeX_package_manyfoot = 9 | \ 'bra:newfootnote,bra:newfootnote[para],' 10 | \.'bra:footnoteA,bra:footnoteB,' 11 | \.'bra:FootnoteA,bra:FootnoteB,' 12 | \.'bra:Footnotemark,bra:Footnotetext,' 13 | \.'SplitNote' 14 | 15 | " vim:ft=vim:ff=unix: 16 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/numprint: -------------------------------------------------------------------------------- 1 | if exists("numprint_package_file") 2 | finish 3 | endif 4 | let numprint_package_file = 1 5 | 6 | let g:TeX_package_option_numprint = '' 7 | 8 | let g:TeX_package_numprint = 9 | \ 'bra:numprint,' 10 | \.'nob:numprint,' 11 | \.'bra:thousandsep,' 12 | \.'bra:decimalsign,' 13 | \.'bra:productsign,' 14 | \.'bra:unitseparator,' 15 | \.'brd:expnumprint,' 16 | \.'global' 17 | 18 | " vim:ft=vim:ff=unix: 19 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/eqlist: -------------------------------------------------------------------------------- 1 | if exists("eqlist_package_file") 2 | finish 3 | endif 4 | let eqlist_package_file = 1 5 | 6 | let g:TeX_package_option_eqlist = '' 7 | 8 | let g:TeX_package_eqlist = 9 | \ 'env:eqlist,' 10 | \.'env:eqlist*,' 11 | \.'env:Eqlist,' 12 | \.'env:Eqlist*,' 13 | \.'sep:modificators,' 14 | \.'eqlistinit,' 15 | \.'eqliststarinit,' 16 | \.'eqlistinitpar,' 17 | \.'eqlistlabel' 18 | 19 | " vim:ft=vim:ff=unix: 20 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/footmisc: -------------------------------------------------------------------------------- 1 | if exists("footmisc_package_file") 2 | finish 3 | endif 4 | let footmisc_package_file = 1 5 | 6 | let g:TeX_package_option_footmisc = 7 | \ 'bottom,' 8 | \.'flushmargin,' 9 | \.'marginal,' 10 | \.'multiple,' 11 | \.'norule,' 12 | \.'para,' 13 | \.'perpage,' 14 | \.'splitrule,' 15 | \.'stable,' 16 | \.'symbol,' 17 | \.'symbol+' 18 | 19 | let g:TeX_package_footmisc = '' 20 | 21 | " vim:ft=vim:ff=unix: 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/templates/report.tex: -------------------------------------------------------------------------------- 1 | <+ +> !comp! !exe! 2 | % File: !comp!expand("%")!comp! 3 | % Created: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp! 4 | % Last Change: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp! 5 | % 6 | \documentclass[a4paper]{report} 7 | \begin{document} 8 | <++> 9 | \end{document} 10 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/templates/article.tex: -------------------------------------------------------------------------------- 1 | <+ +> !comp! !exe! 2 | % File: !comp!expand("%:p:t")!comp! 3 | % Created: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp! 4 | % Last Change: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp! 5 | % 6 | \documentclass[a4paper]{article} 7 | \begin{document} 8 | <++> 9 | \end{document} 10 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/harpoon: -------------------------------------------------------------------------------- 1 | if exists("harpoon_package_file") 2 | finish 3 | endif 4 | let harpoon_package_file = 1 5 | 6 | let g:TeX_package_option_harpoon = '' 7 | 8 | let g:TeX_package_harpoon = 9 | \ 'bra:overleftharp,' 10 | \.'bra:overrightharp,' 11 | \.'bra:overleftharpdown,' 12 | \.'bra:overrightharpdown,' 13 | \.'bra:underleftharp,' 14 | \.'bra:underrightharp,' 15 | \.'bra:underleftharpdown,' 16 | \.'bra:underrightharpdown' 17 | 18 | " vim:ft=vim:ff=unix: 19 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/templates/report_two_column.tex: -------------------------------------------------------------------------------- 1 | <+ +> !comp! !exe! 2 | % File: !comp!expand("%:p:t")!comp! 3 | % Created: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp! 4 | % Last Change: !comp!strftime("%a %b %d %I:00 %p %Y ").substitute(strftime('%Z'), '\<\(\w\)\(\w*\)\>\(\W\|$\)', '\1', 'g')!comp! 5 | % 6 | \documentclass[a4paper,twocolumn]{report} 7 | \begin{document} 8 | <++> 9 | \end{document} 10 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/ifthen: -------------------------------------------------------------------------------- 1 | if exists("ifthen_package_file") 2 | finish 3 | endif 4 | let ifthen_package_file = 1 5 | 6 | let g:TeX_package_option_ifthen = '' 7 | 8 | let g:TeX_package_ifthen = 9 | \ 'brs:ifthenelse{<++>}{<++>}{<++>},' 10 | \.'brd:equal,' 11 | \.'bra:boolean,' 12 | \.'bra:lengthtest,' 13 | \.'bra:isodd,' 14 | \.'brd:whiledo,' 15 | \.'bra:newboolean,' 16 | \.'brd:setboolean,' 17 | \.'nor:and,' 18 | \.'nor:or,' 19 | \.'nor:not' 20 | 21 | " vim:ft=vim:ff=unix: 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/outliner: -------------------------------------------------------------------------------- 1 | if exists("outliner_package_file") 2 | finish 3 | endif 4 | let outliner_package_file = 1 5 | 6 | let g:TeX_package_option_outliner = '' 7 | 8 | let g:TeX_package_outliner = 9 | \ 'env:Outline,' 10 | \.'bra:Level,' 11 | \.'bra:SetBaseLevel,' 12 | \.'sep:preamble,' 13 | \.'bra:OutlinePageBreaks,' 14 | \.'bra:OutlinePageBreaks,' 15 | \.'bra:OutlineLevelStart,' 16 | \.'bra:OutlineLevelCont,' 17 | \.'bra:OutlineLevelEnd' 18 | 19 | " vim:ft=vim:ff=unix: 20 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/README.new: -------------------------------------------------------------------------------- 1 | ==================================== 2 | Generating Latex-Suite documentation 3 | ==================================== 4 | 5 | You need: 6 | - xsltproc 7 | - Docbook XSL stylesheets (*) 8 | - Docbook DTD (*) 9 | 10 | (*) These files will be downloaded every time you create the documentation, 11 | unless you install or download them. 12 | 13 | On Fedora, you can run as root: 14 | 15 | yum install libxslt docbook-style-xsl docbook-dtds 16 | 17 | to install the required packages. 18 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | specs: 3 | diff-lcs (1.1.2) 4 | rake (0.8.7) 5 | rr (0.10.11) 6 | rspec (2.0.0.beta.16) 7 | rspec-core (= 2.0.0.beta.16) 8 | rspec-expectations (= 2.0.0.beta.16) 9 | rspec-mocks (= 2.0.0.beta.16) 10 | rspec-core (2.0.0.beta.16) 11 | rspec-expectations (2.0.0.beta.16) 12 | diff-lcs (>= 1.1.2) 13 | rspec-mocks (2.0.0.beta.16) 14 | 15 | PLATFORMS 16 | ruby 17 | 18 | DEPENDENCIES 19 | rake 20 | rr 21 | rspec (>= 2.0.0.beta.16) 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/multicol: -------------------------------------------------------------------------------- 1 | if exists("multicol_package_file") 2 | finish 3 | endif 4 | let multicol_package_file = 1 5 | 6 | let g:TeX_package_option_multicol = '' 7 | 8 | let g:TeX_package_multicol = 9 | \ 'ens:multicols:{<+cols+>}[<+text+>][<+sep+>],' 10 | \.'columnbreak,' 11 | \.'premulticols,' 12 | \.'postmulticols,' 13 | \.'multicolsep,' 14 | \.'columnsep,' 15 | \.'linewidth,' 16 | \.'columnseprule,' 17 | \.'flushcolumnt,' 18 | \.'raggedcolumns,' 19 | \.'unbalanced' 20 | 21 | " vim:ft=vim:ff=unix: 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/schedule: -------------------------------------------------------------------------------- 1 | if exists("schedule_package_file") 2 | finish 3 | endif 4 | let schedule_package_file = 1 5 | 6 | let g:TeX_package_option_schedule = '' 7 | 8 | let g:TeX_package_schedule = 9 | \ 'ens:schedule:[<+title+>],' 10 | \.'bra:CellHeight,' 11 | \.'bra:CellWidth,' 12 | \.'bra:TimeRange,' 13 | \.'bra:SubUnits,' 14 | \.'bra:BeginOn,' 15 | \.'bra:TextSize,' 16 | \.'nor:FiveDay,' 17 | \.'nor:SevenDay,' 18 | \.'brs:NewAppointment{<+name+>}{<+bg+>}{<+fg+>}' 19 | 20 | " vim:ft=vim:ff=unix: 21 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/macros/example: -------------------------------------------------------------------------------- 1 | % my long complicated macro. This is an example of how to set up a 2 | % tex-macro for latex-suite. simply type in the lines as you would in 3 | % latex. Place holders are allowed. 4 | % NOTE: if you have filetype indentation turned on, then do not do 5 | % formatting here. the indentation will follow automatically... 6 | \begin{mycomplicatedenvironment} 7 | \mycommand1{<++>} 8 | \mycommand2{<+hint2+>} 9 | \mycommand3{<++>} 10 | \mycommand4{<++>} 11 | \end{mycomplicatedenvironment}<++> 12 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/amsthm: -------------------------------------------------------------------------------- 1 | if exists("amsthm_package_file") 2 | finish 3 | endif 4 | let amsthm_package_file = 1 5 | 6 | let TeX_package_option_amsthm = '' 7 | 8 | let TeX_package_amsthm = 9 | \ 'env:proof,' 10 | \.'nor:swapnumbers,' 11 | \.'brd:newtheorem,' 12 | \.'brd:newtheorem*,' 13 | \.'nor:theoremstyle{plain},' 14 | \.'nor:theoremstyle{definition},' 15 | \.'nor:theoremstyle{remark},' 16 | \.'nor:newtheoremstyle,' 17 | \.'nor:qedsymbol,' 18 | \.'nor:qed,' 19 | \.'nor:qedhere' 20 | 21 | " vim:ft=vim:ff=unix: 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/ccaption: -------------------------------------------------------------------------------- 1 | if exists("ccaption_package_file") 2 | finish 3 | endif 4 | let ccaption_package_file = 1 5 | 6 | let g:TeX_package_option_ccaption = '' 7 | 8 | let g:TeX_package_ccaption = 9 | \ 'bra:contcaption,' 10 | \.'bra:legend,' 11 | \.'bra:namedlegend,' 12 | \.'abovelegendskip,' 13 | \.'belowlegendskip,' 14 | \.'brd:newfixedcaption,' 15 | \.'brd:renewfixedcaption,' 16 | \.'brd:providefixedcaption,' 17 | \.'brs:newfloatenv[<+counter+>]{<+name+>}{<+ext+>}{<+etiq+>},' 18 | \.'brd:listfloats' 19 | 20 | " vim:ft=vim:ff=unix: 21 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/chapterbib: -------------------------------------------------------------------------------- 1 | if exists("chapterbib_package_file") 2 | finish 3 | endif 4 | let chapterbib_package_file = 1 5 | 6 | let g:TeX_package_option_chapterbib = 7 | \ 'sectionbib,' 8 | \.'rootbib,' 9 | \.'gather,' 10 | \.'duplicate' 11 | 12 | let g:TeX_package_chapterbib = 13 | \ 'env:cbunit,' 14 | \.'brd:sectionbib,' 15 | \.'bra:cbinput,' 16 | \.'sep:redefine,' 17 | \.'bra:citeform,' 18 | \.'bra:citepunct,' 19 | \.'bra:citeleft,' 20 | \.'bra:citeright,' 21 | \.'bra:citemid,' 22 | \.'bra:citedash' 23 | 24 | " vim:ft=vim:ff=unix: 25 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/verbatim: -------------------------------------------------------------------------------- 1 | if exists("verbatim_package_file") 2 | finish 3 | endif 4 | let verbatim_package_file = 1 5 | 6 | let g:TeX_package_option_verbatim = '' 7 | 8 | let g:TeX_package_verbatim = 9 | \ 'env:comment,' 10 | \.'env:verbatim,' 11 | \.'env:verbatim*,' 12 | \.'bra:verbatiminput,' 13 | \.'bra:verbatiminput' 14 | 15 | syn region texZone start="\\begin{comment}" end="\\end{comment}\|%stopzone\>" fold 16 | syn region texZone start="\\begin{verbatim}" end="\\end{verbatim}\|%stopzone\>" fold 17 | 18 | " vim:ft=vim:ff=unix: 19 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/inputenc: -------------------------------------------------------------------------------- 1 | if exists("inputenc_package_file") 2 | finish 3 | endif 4 | let inputenc_package_file = 1 5 | 6 | let g:TeX_package_option_inputenc = 7 | \ 'ascii,' 8 | \.'latin1,' 9 | \.'latin2,' 10 | \.'latin3,' 11 | \.'latin4,' 12 | \.'latin5,' 13 | \.'latin9,' 14 | \.'decmulti,' 15 | \.'cp850,' 16 | \.'cp852,' 17 | \.'cp437,' 18 | \.'cp437de,' 19 | \.'cp865,' 20 | \.'applemac,' 21 | \.'next,' 22 | \.'ansinew,' 23 | \.'cp1250,' 24 | \.'cp1252' 25 | 26 | let g:TeX_package_inputenc = 27 | \ 'bra:inputencoding' 28 | 29 | " vim:ft=vim:ff=unix: 30 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/Makefile: -------------------------------------------------------------------------------- 1 | rubyfiles := $(shell find ruby -name '*.rb') 2 | cfiles := $(shell find ruby -name '*.c') 3 | cheaders := $(shell find ruby -name '*.h') 4 | depends := $(shell find ruby -name depend) 5 | txtfiles := $(shell find doc -name '*.txt') 6 | vimfiles := $(shell find plugin -name '*.vim') 7 | 8 | vimball: command-t.vba 9 | 10 | command-t.vba: $(rubyfiles) $(cfiles) $(cheaders) $(depends) $(txtfiles) $(vimfiles) 11 | mkvimball $(basename $@) $^ 12 | 13 | .PHONY: spec 14 | spec: 15 | rspec spec 16 | 17 | .PHONY: clean 18 | clean: 19 | rm -f command-t.vba 20 | -------------------------------------------------------------------------------- /.vim/.netrwhist: -------------------------------------------------------------------------------- 1 | let g:netrw_dirhistmax =10 2 | let g:netrw_dirhist_cnt =9 3 | let g:netrw_dirhist_1='/home/michael' 4 | let g:netrw_dirhist_2='/tmp/clyde-michael/thunar-vcs-plugin/thunar-vcs-plugin/pkg' 5 | let g:netrw_dirhist_3='/home/michael/.themes' 6 | let g:netrw_dirhist_4='/home/michael' 7 | let g:netrw_dirhist_5='/var/run/dhcpcd/resolv.conf' 8 | let g:netrw_dirhist_6='/home/michael/Code/androidsubs/jni/freetype' 9 | let g:netrw_dirhist_7='/home/michael/Code/androidsubs/jni/fontconfig' 10 | let g:netrw_dirhist_8='/home/michael/Code/andweb' 11 | let g:netrw_dirhist_9='/home/michael/.xbindkeys_config' 12 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/catalog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/newalg: -------------------------------------------------------------------------------- 1 | if exists("newalg_package_file") 2 | finish 3 | endif 4 | let newalg_package_file = 1 5 | 6 | let g:TeX_package_option_newalg = '' 7 | 8 | let g:TeX_package_newalg = 9 | \ 'ens:algorithm:{<+name+>}{<++>},' 10 | \.'ens:IF:{<+cond+>},' 11 | \.'ens:FOR:{<+loop+>},' 12 | \.'ens:WHILE:{<+cond+>},' 13 | \.'bra:ERROR,' 14 | \.'nor:ELSE,' 15 | \.'nor:RETURN,' 16 | \.'nor:NIL,' 17 | \.'nor:TO,' 18 | \.'bra:CALL,' 19 | \.'bra:text,' 20 | \.'env:REPEAT,' 21 | \.'env:SWITCH,' 22 | \.'nor:=,' 23 | \.'bra:item,' 24 | \.'nor:algkey' 25 | 26 | " vim:ft=vim:ff=unix: 27 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/accents: -------------------------------------------------------------------------------- 1 | if exists("accents_package_file") 2 | finish 3 | endif 4 | let accents_package_file = 1 5 | 6 | let g:TeX_package_option_accents = 7 | \ 'nonscript,' 8 | \.'single' 9 | 10 | let g:TeX_package_accents = 11 | \ 'bra:grave,' 12 | \.'bra:acute,' 13 | \.'bra:check,' 14 | \.'bra:breve,' 15 | \.'bra:bar,' 16 | \.'bra:ring,' 17 | \.'bra:hat,' 18 | \.'bra:dot,' 19 | \.'bra:tilde,' 20 | \.'bra:undertilde,' 21 | \.'bra:ddot,' 22 | \.'bra:dddot,' 23 | \.'bra:ddddot,' 24 | \.'bra:vec,' 25 | \.'brd:accentset,' 26 | \.'brd:underaccent' 27 | 28 | " vim:ft=vim:ff=unix: 29 | -------------------------------------------------------------------------------- /.vim/bundle/lilypond/compiler/lilypond.vim: -------------------------------------------------------------------------------- 1 | " LilyPond compiler file 2 | " Language: LilyPond 3 | " Maintainer: Heikki Junes 4 | " Last Change: 2004 Mar 01 5 | " 6 | " Installed As: vim/compiler/lilypond.vim 7 | " 8 | " Only load this indent file when no other was loaded. 9 | if exists("current_compiler") 10 | finish 11 | endif 12 | let current_compiler = "lilypond" 13 | 14 | " default make 15 | setlocal makeprg=lilypond\ $* 16 | " errorformat for lily (with columns) and gcc 17 | " (how to see multiple-line error messages?) 18 | setlocal errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,In\ file\ included\ from\ %f:%l:,\^I\^Ifrom\ %f:%l%m 19 | " 20 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/multi-spec.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | 3 | function build_quietly() 4 | { 5 | cd ruby/command-t 6 | ruby extconf.rb > /dev/null 7 | make clean > /dev/null 8 | make > /dev/null 9 | cd - 10 | } 11 | 12 | OLD_PATH=$PATH 13 | for RUBY_VERSION in $(ls ~/.multiruby/install); do 14 | echo "$RUBY_VERSION: building" 15 | export PATH=~/.multiruby/install/$RUBY_VERSION/bin:$OLD_PATH 16 | build_quietly 17 | echo "$RUBY_VERSION: running spec suite" 18 | bin/rspec spec 19 | echo "$RUBY_VERSION: finished" 20 | done 21 | 22 | # put things back the way we found them 23 | export PATH=$OLD_PATH 24 | echo "Restoring: $(ruby -v)" 25 | build_quietly 26 | -------------------------------------------------------------------------------- /.vim/bundle/factor/ftplugin/factor_settings.vim: -------------------------------------------------------------------------------- 1 | " Code formatting settings loosely adapted from: 2 | " http://concatenative.org/wiki/view/Factor/Coding%20Style 3 | 4 | " Tabs are not allowed in Factor source files; use four spaces instead. 5 | setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 6 | 7 | " Try to limit lines to 64 characters, except for documentation, which can be 8 | " any length. 9 | if expand("%:t") !~ "-docs\.factor$" 10 | setlocal textwidth=64 11 | 12 | " Mark anything in column 64 or beyond as a syntax error. 13 | match Error /\%>63v.\+/ 14 | endif 15 | 16 | " Teach Vim what comments look like. 17 | setlocal comments+=b:!,b:#! 18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/url: -------------------------------------------------------------------------------- 1 | if exists("url_package_file") 2 | finish 3 | endif 4 | let url_package_file = 1 5 | 6 | let g:TeX_package_option_url = 7 | \ 'hyphens,' 8 | \.'obeyspaces,' 9 | \.'spaces,' 10 | \.'T1' 11 | 12 | let g:TeX_package_url = 13 | \ 'bra:urlstyle,' 14 | \.'bra:url,' 15 | \.'bra:path,' 16 | \.'bra:urldef' 17 | 18 | " TODO uncomment if you figure out 19 | " 1. how to get this syn command to work every time instead of only the 20 | " first time this file is sourced. 21 | " syn region texZone start="\\url{" end="}\|%stopzone\>" 22 | " syn region texZone start="\\path{" end="}\|%stopzone\>" 23 | 24 | " vim:ft=vim:ff=unix: 25 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/bib_latexSuite.vim: -------------------------------------------------------------------------------- 1 | " File: bib_latexSuite.vim 2 | " Author: Srinath Avadhanula 3 | " License: Vim Charityware License 4 | " Description: 5 | " This file sources the bibtex.vim file distributed as part of latex-suite. 6 | " That file sets up 3 maps BBB, BAS, and BBA which are easy wasy to type in 7 | " bibliographic entries. 8 | " 9 | " CVS: $Id: bib_latexSuite.vim 997 2006-03-20 09:45:45Z srinathava $ 10 | 11 | " source main.vim because we need a few functions from it. 12 | runtime ftplugin/latex-suite/main.vim 13 | " Disable smart-quotes because we need to enter real quotes in bib files. 14 | runtime ftplugin/latex-suite/bibtex.vim 15 | 16 | " vim:fdm=marker:ff=unix:noet:ts=4:sw=4:nowrap 17 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/drftcite: -------------------------------------------------------------------------------- 1 | if exists("drftcite_package_file") 2 | finish 3 | endif 4 | let drftcite_package_file = 1 5 | 6 | let g:TeX_package_option_drftcite = 7 | \ 'verbose,' 8 | \.'nospace,' 9 | \.'space,' 10 | \.'breakcites,' 11 | \.'manualsort,' 12 | \.'tt,' 13 | \.'shownumbers,' 14 | \.'nocitecount' 15 | 16 | let g:TeX_package_drftcite = 17 | \ 'bra:cite,' 18 | \.'bra:citen,' 19 | \.'sep:redefine,' 20 | \.'bra:citeform,' 21 | \.'bra:citepunct,' 22 | \.'bra:citeleft,' 23 | \.'bra:citeright,' 24 | \.'bra:citemid,' 25 | \.'bra:citedash' 26 | 27 | syn region texRefZone matchgroup=texStatement start="\\citen\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 28 | 29 | " vim:ft=vim:ff=unix: 30 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/changebar: -------------------------------------------------------------------------------- 1 | if exists("changebar_package_file") 2 | finish 3 | endif 4 | let changebar_package_file = 1 5 | 6 | let g:TeX_package_option_changebar = 7 | \ 'DVItoLN03,' 8 | \.'dvitoln03,' 9 | \.'DVItoPS,' 10 | \.'dvitops,' 11 | \.'DVIps,' 12 | \.'dvips,' 13 | \.'emTeX,' 14 | \.'emtex,' 15 | \.'textures,' 16 | \.'Textures,' 17 | \.'outerbars,' 18 | \.'innerbars,' 19 | \.'leftbars,' 20 | \.'rightbars,' 21 | \.'traceon,' 22 | \.'traceoff' 23 | 24 | let g:TeX_package_changebar = 25 | \ 'ens:changebar:[<+thickness+>],' 26 | \.'noo:cbstart,' 27 | \.'cbend,' 28 | \.'cbdelete,' 29 | \.'changebarwidth,' 30 | \.'deletebarwidth,' 31 | \.'changebarsep,' 32 | \.'spe:changebargrey,' 33 | \.'nochangebars' 34 | 35 | " vim:ft=vim:ff=unix: 36 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule ".vim/bundle/cocoa.vim"] 2 | path = .vim/bundle/cocoa.vim 3 | url = http://github.com/msanders/cocoa.vim.git 4 | [submodule ".vim/bundle/histwin.vim"] 5 | path = .vim/bundle/histwin.vim 6 | url = http://github.com/chrisbra/histwin.vim.git 7 | [submodule ".vim/bundle/snipmate.vim"] 8 | path = .vim/bundle/snipmate.vim 9 | url = http://github.com/msanders/snipmate.vim.git 10 | [submodule ".vim/bundle/vim-ragtag"] 11 | path = .vim/bundle/vim-ragtag 12 | url = http://github.com/tpope/vim-ragtag.git 13 | [submodule ".vim/bundle/vim-speeddating"] 14 | path = .vim/bundle/vim-speeddating 15 | url = http://github.com/tpope/vim-speeddating.git 16 | [submodule ".vim/bundle/vim-surround"] 17 | path = .vim/bundle/vim-surround 18 | url = http://github.com/tpope/vim-surround.git 19 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/longtable: -------------------------------------------------------------------------------- 1 | if exists("longtable_package_file") 2 | finish 3 | endif 4 | let longtable_package_file = 1 5 | 6 | let g:TeX_package_option_longtable = 7 | \ 'errorshow,' 8 | \.'pausing,' 9 | \.'set,' 10 | \.'final' 11 | 12 | let g:TeX_package_longtable = 13 | \ 'sbr:Commands,' 14 | \.'nor:setlongtables,' 15 | \.'bra:LTleft,' 16 | \.'bra:LTright,' 17 | \.'bra:LTpre,' 18 | \.'bra:LTpost,' 19 | \.'bra:LTchunksize,' 20 | \.'bra:LTcapwidth,' 21 | \.'bra:LTcapwidth,' 22 | \.'sbr:Longtable,' 23 | \.'env:longtable,' 24 | \.'sep:lt,' 25 | \.'nor:endhead,' 26 | \.'nor:endfirsthead,' 27 | \.'nor:endfoot,' 28 | \.'nor:endlastfoot,' 29 | \.'nor:kill,' 30 | \.'bra:caption,' 31 | \.'nob:caption,' 32 | \.'bra:caption*,' 33 | \.'nor:newpage' 34 | 35 | " vim:ft=vim:ts=4:sw=4:noet:ff=unix: 36 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite.xsl: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/psgo: -------------------------------------------------------------------------------- 1 | if exists("psgo_package_file") 2 | finish 3 | endif 4 | let psgo_package_file = 1 5 | 6 | let g:TeX_package_option_psgo = '' 7 | 8 | let g:TeX_package_psgo = 9 | \ 'env:psgogoard,' 10 | \.'env:psgoboard*,' 11 | \.'brs:stone{<+color+>}{<+letter+>}{<+number+>},' 12 | \.'brs:stone[<+marker+>]{<+color+>}{<+letter+>}{<+number+>},' 13 | \.'brs:move{<+letter+>}{<+number+>},' 14 | \.'brs:move*{<+letter+>}{<+number+>},' 15 | \.'brs:goline{<+letter1+>}{<+number1+>}{<+letter2+>}{<+number2+>},' 16 | \.'brs:goarrow{<+letter1+>}{<+number1+>}{<+letter2+>}{<+number2+>},' 17 | \.'sbr:Markers,' 18 | \.'brs:markpos{<+marker+>}{<+letter+>}{<+number+>},' 19 | \.'markma,' 20 | \.'marktr,' 21 | \.'markcr,' 22 | \.'marksq,' 23 | \.'bra:marklb,' 24 | \.'marksl,' 25 | \.'markdd' 26 | 27 | " vim:ft=vim:ff=unix: 28 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/bar: -------------------------------------------------------------------------------- 1 | if exists("bar_package_file") 2 | finish 3 | endif 4 | let bar_package_file = 1 5 | 6 | let g:TeX_package_option_bar = '' 7 | 8 | let g:TeX_package_bar = 9 | \ 'env:barenv,' 10 | \.'brs:bar{<+height+>}{<+index+>}[<+desc+>],' 11 | \.'hlineon,' 12 | \.'brs:legend{<+index+>}{<+text+>},' 13 | \.'bra:setdepth,' 14 | \.'bra:sethspace,' 15 | \.'brs:setlinestyle{<+solid-dotted+>},' 16 | \.'brs:setnumberpos{<+empty-axis-down-inside-outside-up+>},' 17 | \.'bra:setprecision,' 18 | \.'bra:setstretch,' 19 | \.'bra:setstyle,' 20 | \.'bra:setwidth,' 21 | \.'brs:setxaxis{<+w1+>}{<+w2+>}{<+step+>},' 22 | \.'brs:setyaxis[<+n+>]{<+w1+>}{<+w2+>}{<+step+>},' 23 | \.'brs:setxname[<+lrbt+>]{<+etiquette+>},' 24 | \.'brs:setyname[<+lrbt+>]{<+etiquette+>},' 25 | \.'brs:setxvaluetyp{<+day-month+>}' 26 | 27 | " vim:ft=vim:ff=unix: 28 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/caption2: -------------------------------------------------------------------------------- 1 | if exists("caption2_package_file") 2 | finish 3 | endif 4 | let caption2_package_file = 1 5 | 6 | let g:TeX_package_option_caption2 = 7 | \ 'scriptsize,' 8 | \.'footnotesize,' 9 | \.'small,' 10 | \.'normalsize,' 11 | \.'large,' 12 | \.'Large,' 13 | \.'up,' 14 | \.'it,' 15 | \.'sl,' 16 | \.'sc,' 17 | \.'md,' 18 | \.'bf,' 19 | \.'rm,' 20 | \.'sf,' 21 | \.'tt,' 22 | \.'ruled,' 23 | \.'boxed,' 24 | \.'centerlast,' 25 | \.'anne,' 26 | \.'center,' 27 | \.'flushleft,' 28 | \.'flushright,' 29 | \.'oneline,' 30 | \.'nooneline,' 31 | \.'hang,' 32 | \.'isu,' 33 | \.'indent,' 34 | \.'longtable' 35 | 36 | let g:TeX_package_caption2 = 37 | \ 'bra:captionsize,' 38 | \.'bra:captionfont,' 39 | \.'bra:captionlabelfont,' 40 | \.'bra:setcaptionmargin,' 41 | \.'bra:setcaptionwidth' 42 | 43 | " vim:ft=vim:ff=unix: 44 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/Makefile.in: -------------------------------------------------------------------------------- 1 | # Manual files 2 | ls-flat: 3 | java com.icl.saxon.StyleSheet latex-suite.xml latex-suite.xsl > latex-suite.html 4 | 5 | ls-chunk: 6 | ( \ 7 | cd latex-suite && \ 8 | java com.icl.saxon.StyleSheet ../latex-suite.xml ../latex-suite-chunk.xsl \ 9 | ) 10 | 11 | ls-txt: 12 | db2vim --prefix=ls_ latex-suite.xml > latex-suite.txt 13 | 14 | # Quickstart files 15 | lsq-flat: 16 | java com.icl.saxon.StyleSheet latex-suite-quickstart.xml latex-suite.xsl > latex-suite-quickstart.html 17 | 18 | lsq-chunk: 19 | ( \ 20 | cd latex-suite-quickstart && \ 21 | java com.icl.saxon.StyleSheet ../latex-suite-quickstart.xml ../latex-suite-chunk.xsl \ 22 | ) 23 | 24 | lsq-txt: 25 | db2vim --prefix=lq_ latex-suite-quickstart.xml > latex-suite-quickstart.txt 26 | 27 | cvsci: 28 | cvs ci latex-suite.xml latex-suite.txt 29 | # vim:nowrap 30 | -------------------------------------------------------------------------------- /.vim/bundle/matlab/ftplugin/matlab.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: matlab 3 | " Maintainer: Fabrice Guy 4 | " Last Changed: 2010 May 19 5 | 6 | if exists('b:did_ftplugin') 7 | finish 8 | endif 9 | 10 | let b:did_ftplugin = 1 11 | 12 | let s:save_cpo = &cpo 13 | set cpo-=C 14 | 15 | setlocal fo+=croql 16 | setlocal comments=:%>,:% 17 | 18 | if exists('loaded_matchit') 19 | let s:conditionalEnd = '\([-+{\*\:(\/]\s*\)\@\(\s*[-+}\:\*\/)]\)\@!' 20 | let b:match_words = '\\|\\|\\|\\|\\|\\|\\|\\|\\|\:' . s:conditionalEnd 21 | endif 22 | 23 | setlocal suffixesadd=.m 24 | setlocal suffixes+=.asv 25 | 26 | let b:undo_ftplugin = "setlocal suffixesadd< suffixes< " . "| unlet! b:browsefilter" . "| unlet! b:match_words" 27 | 28 | let &cpo = s:save_cpo 29 | 30 | -------------------------------------------------------------------------------- /.vim/bundle/IndentAnything/doc/tags: -------------------------------------------------------------------------------- 1 | IndentAnything IndentAnything.txt /*IndentAnything* 2 | b:blockCommentEndRE IndentAnything.txt /*b:blockCommentEndRE* 3 | b:blockCommentMiddleExtra IndentAnything.txt /*b:blockCommentMiddleExtra* 4 | b:blockCommentMiddleRE IndentAnything.txt /*b:blockCommentMiddleRE* 5 | b:blockCommentRE IndentAnything.txt /*b:blockCommentRE* 6 | b:blockCommentStartRE IndentAnything.txt /*b:blockCommentStartRE* 7 | b:commentRE IndentAnything.txt /*b:commentRE* 8 | b:contTraversesLineComments IndentAnything.txt /*b:contTraversesLineComments* 9 | b:defaultIndentExpr IndentAnything.txt /*b:defaultIndentExpr* 10 | b:doubleQuoteStringRE IndentAnything.txt /*b:doubleQuoteStringRE* 11 | b:indentTrios IndentAnything.txt /*b:indentTrios* 12 | b:lineCommentRE IndentAnything.txt /*b:lineCommentRE* 13 | b:lineContList IndentAnything.txt /*b:lineContList* 14 | b:singleQuoteStringRE IndentAnything.txt /*b:singleQuoteStringRE* 15 | b:stringRE IndentAnything.txt /*b:stringRE* 16 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/multicompile.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================ 2 | " File: multicompile.vim 3 | " Author: Srinath Avadhanula 4 | " Created: Sat Jul 05 03:00 PM 2003 5 | " Description: compile a .tex file multiple times to get cross references 6 | " right. 7 | " License: Vim Charityware License 8 | " Part of vim-latexSuite: http://vim-latex.sourceforge.net 9 | " CVS: $Id: multicompile.vim 997 2006-03-20 09:45:45Z srinathava $ 10 | " ============================================================================ 11 | 12 | " The contents of this file have been moved to compiler.vim, the file which 13 | " contains all functions relevant to compiling and viewing. 14 | " This file is kept empty on purpose so that it will over-write previous 15 | " versions of multicompile.vim, therby preventing conflicts. 16 | 17 | " vim:fdm=marker:nowrap:noet:ff=unix:ts=4:sw=4 18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/color: -------------------------------------------------------------------------------- 1 | if exists("color_package_file") 2 | finish 3 | endif 4 | let color_package_file = 1 5 | 6 | let g:TeX_package_option_color = 7 | \ 'monochrome,' 8 | \.'debugshow,' 9 | \.'dvips,' 10 | \.'xdvi,' 11 | \.'dvipdf,' 12 | \.'pdftex,' 13 | \.'dvipsone,' 14 | \.'dviwindo,' 15 | \.'emtex,' 16 | \.'dviwin,' 17 | \.'oztex,' 18 | \.'textures,' 19 | \.'pctexps,' 20 | \.'pctexwin,' 21 | \.'pctexhp,' 22 | \.'pctex32,' 23 | \.'truetex,' 24 | \.'tcidvi,' 25 | \.'dvipsnames,' 26 | \.'nodvipsnames,' 27 | \.'usenames' 28 | 29 | let g:TeX_package_color = 30 | \ 'brs:definecolor{<++>}{<++>}{<++>},' 31 | \.'brs:DefineNamedColor{<++>}{<++>}{<++>}{<++>},' 32 | \.'bra:color,' 33 | \.'nob:color,' 34 | \.'brd:textcolor,' 35 | \.'brs:textcolor[<++>]{<++>}{<++>},' 36 | \.'brd:colorbox,' 37 | \.'brs:colorbox[<++>]{<++>}{<++>},' 38 | \.'brs:fcolorbox{<++>}{<++>}{<++>},' 39 | \.'brs:fcolorbox[<++>]{<++>}{<++>}{<++>},' 40 | \.'brd:pagecolor,' 41 | \.'nob:pagecolor' 42 | 43 | " vim:ft=vim:ff=unix: 44 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/Makefile: -------------------------------------------------------------------------------- 1 | PREFIX = /usr/local 2 | VIMDIR = $(PREFIX)/share/vim 3 | BINDIR = $(PREFIX)/bin 4 | 5 | VERSION=1.8.23 6 | REVISION=$(shell svn info -r HEAD 2>/dev/null| head -n 5 | tail -n 1 | cut -d" " -f2) 7 | DATE = $(shell date +%Y%m%d) 8 | 9 | SNAPSHOTNAME = vim-latex-$(VERSION)-$(DATE)-r$(REVISION) 10 | 11 | snapshot: 12 | rm -rf -- ./$(SNAPSHOTNAME) 13 | svn export -r HEAD . $(SNAPSHOTNAME) 14 | make -C $(SNAPSHOTNAME)/doc 15 | tar cvzf ./$(SNAPSHOTNAME).tar.gz ./$(SNAPSHOTNAME) 16 | rm -rf -- ./$(SNAPSHOTNAME) 17 | 18 | install: 19 | install -d "$(DESTDIR)$(VIMDIR)/doc" 20 | install -m 0644 doc/*.txt "$(DESTDIR)$(VIMDIR)/doc" 21 | 22 | install -d "$(DESTDIR)$(VIMDIR)" 23 | cp -R compiler ftplugin indent plugin "$(DESTDIR)$(VIMDIR)" 24 | chmod 0755 "$(DESTDIR)$(VIMDIR)/ftplugin/latex-suite/outline.py" 25 | 26 | install -d "$(DESTDIR)$(BINDIR)" 27 | install latextags ltags "$(DESTDIR)$(BINDIR)" 28 | 29 | upload: snapshot 30 | scp "$(SNAPSHOTNAME).tar.gz" frs.sourceforge.net:/home/frs/project/v/vi/vim-latex/snapshots 31 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/cite: -------------------------------------------------------------------------------- 1 | if exists("cite_package_file") 2 | finish 3 | endif 4 | let cite_package_file = 1 5 | 6 | let g:TeX_package_option_cite = 7 | \ 'verbose,' 8 | \.'nospace,' 9 | \.'space,' 10 | \.'nosort,' 11 | \.'sort,' 12 | \.'noadjust' 13 | 14 | let g:TeX_package_cite = 15 | \ 'bra:cite,' 16 | \.'bra:citen,' 17 | \.'bra:citenum,' 18 | \.'bra:citeonline,' 19 | \.'bra:nocite,' 20 | \.'sep:redefine,' 21 | \.'bra:citeform,' 22 | \.'bra:citepunct,' 23 | \.'bra:citeleft,' 24 | \.'bra:citeright,' 25 | \.'bra:citemid,' 26 | \.'bra:citedash' 27 | 28 | syn region texRefZone matchgroup=texStatement start="\\citen\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 29 | syn region texRefZone matchgroup=texStatement start="\\citenum\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 30 | syn region texRefZone matchgroup=texStatement start="\\citeonline\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 31 | 32 | " vim:ft=vim:ff=unix: 33 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/overcite: -------------------------------------------------------------------------------- 1 | if exists("overcite_package_file") 2 | finish 3 | endif 4 | let overcite_package_file = 1 5 | 6 | let g:TeX_package_option_overcite = 7 | \ 'verbose,' 8 | \.'ref,' 9 | \.'nospace,' 10 | \.'space,' 11 | \.'nosort,' 12 | \.'sort,' 13 | \.'nomove,' 14 | \.'noadjust' 15 | 16 | let g:TeX_package_overcite = 17 | \ 'bra:cite,' 18 | \.'bra:citen,' 19 | \.'bra:citenum,' 20 | \.'bra:citeonline,' 21 | \.'bra:nocite,' 22 | \.'sep:redefine,' 23 | \.'bra:citeform,' 24 | \.'bra:citepunct,' 25 | \.'bra:citeleft,' 26 | \.'bra:citeright,' 27 | \.'bra:citemid,' 28 | \.'bra:citedash' 29 | 30 | syn region texRefZone matchgroup=texStatement start="\\citen\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 31 | syn region texRefZone matchgroup=texStatement start="\\citenum\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 32 | syn region texRefZone matchgroup=texStatement start="\\citeonline\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter 33 | 34 | " vim:ft=vim:ff=unix: 35 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/moreverb: -------------------------------------------------------------------------------- 1 | if exists("moreverb_package_file") 2 | finish 3 | endif 4 | let moreverb_package_file = 1 5 | 6 | let g:TeX_package_option_moreverb = '' 7 | 8 | let g:TeX_package_moreverb = 9 | \ 'ens:verbatimwrite:{<++>},' 10 | \.'ens:verbatimtab:[<++>],' 11 | \.'ens:listing:[<+step+>]{<+number+>},' 12 | \.'ens:listing*:[<+step+>]{<+number+>},' 13 | \.'env:boxedverbatim,' 14 | \.'bra:verbatimtabsize,' 15 | \.'bra:listingoffset,' 16 | \.'brs:listinginput[<++>]{<++>}{<++>},' 17 | \.'brs:verbatimtabinput[<++>]{<++>}' 18 | 19 | let g:Tex_completion_explorer = g:Tex_completion_explorer.'verbatimtabinput,' 20 | 21 | syn region texZone start="\\begin{verbatimwrite}" end="\\end{verbatimwrite}\|%stopzone\>" fold 22 | syn region texZone start="\\begin{verbatimtab}" end="\\end{verbatimtab}\|%stopzone\>" fold 23 | syn region texZone start="\\begin{boxedverbatim}" end="\\end{boxedverbatim}\|%stopzone\>" fold 24 | syn region texZone start="\\begin{listing}" end="\\end{listing}\|%stopzone\>" fold 25 | syn region texZone start="\\begin{listing*}" end="\\end{listing*}\|%stopzone\>" fold 26 | 27 | 28 | " vim:ft=vim:ff=unix: 29 | -------------------------------------------------------------------------------- /.vim/bundle/lilypond/indent/lilypond.vim: -------------------------------------------------------------------------------- 1 | " LilyPond indent file 2 | " Language: LilyPond 3 | " Maintainer: Heikki Junes 4 | " Last Change: 2004 Mar 01 5 | " 6 | " Installed As: vim/indent/lilypond.vim 7 | " 8 | " Only load this indent file when no other was loaded. 9 | if exists("b:did_indent") 10 | finish 11 | endif 12 | let b:did_indent = 1 13 | 14 | setlocal indentexpr=GetLilyPondIndent() 15 | setlocal indentkeys=o,O,},>>,!^F 16 | 17 | " Only define the function once. 18 | if exists("*GetLilyPondIndent") 19 | finish 20 | endif 21 | 22 | function GetLilyPondIndent() 23 | if v:lnum == 1 24 | return 0 25 | endif 26 | 27 | "Find a non-blank line above the current line. 28 | let lnum = prevnonblank(v:lnum - 1) 29 | "Check if a block was started: '{' or '<<' is the last non-blank character of the previous line. 30 | if getline(lnum) =~ '^.*\({\|<<\)\s*$' 31 | let ind = indent(lnum) + &sw 32 | else 33 | let ind = indent(lnum) 34 | endif 35 | 36 | "Check if a block was ended: '}' or '>>' is the first non-blank character of the current line. 37 | if getline(v:lnum) =~ '^\s*\(}\|>>\)' 38 | let ind = ind - &sw 39 | endif 40 | 41 | return ind 42 | endfunction 43 | " 44 | " 45 | " 46 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, 7 | this list of conditions and the following disclaimer. 8 | 2. Redistributions in binary form must reproduce the above copyright notice, 9 | this list of conditions and the following disclaimer in the documentation 10 | and/or other materials provided with the distribution. 11 | 12 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | POSSIBILITY OF SUCH DAMAGE. 23 | -------------------------------------------------------------------------------- /.vim/bundle/matlab/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009, Fabrice 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in 12 | the documentation and/or other materials provided with the distribution 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 18 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 | POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /.zshrc: -------------------------------------------------------------------------------- 1 | # Path to your oh-my-zsh configuration. 2 | export ZSH=$HOME/.oh-my-zsh 3 | export GNOME_DESKTOP_SESSION_ID="FUCKXDGOPEN" 4 | 5 | # Set to the name theme to load. 6 | # Look in ~/.oh-my-zsh/themes/ 7 | export ZSH_THEME="poem" 8 | 9 | # Set to this to use case-sensitive completion 10 | # export CASE_SENSITIVE="true" 11 | 12 | # Comment this out to disable weekly auto-update checks 13 | # export DISABLE_AUTO_UPDATE="true" 14 | 15 | # Uncomment following line if you want to disable colors in ls 16 | # export DISABLE_LS_COLORS="true" 17 | 18 | source $ZSH/oh-my-zsh.sh 19 | #source /etc/profile.d/go.sh 20 | export PATH=~/bin:/usr/local/bin:/opt/android-ndk:/opt/android-sdk/platform-tools/:$PATH 21 | 22 | # Customize to your needs... 23 | export ANDROID_NDK_ROOT=/opt/anroid-ndk 24 | 25 | #set up rvm 26 | if [[ -s /home/michael/.rvm/scripts/rvm ]] ; then source /home/michael/.rvm/scripts/rvm ; fi 27 | 28 | 29 | #export VISUAL=gvim 30 | export EDITOR=vim 31 | export TERM=xterm-256color 32 | export PYTHONSTARTUP=/home/michael/.pythonrc 33 | 34 | #alias python=bpython 35 | alias vi=vim 36 | alias netcfg='sudo netcfg' 37 | alias dormup='netcfg Dorm' 38 | alias buup='netcfg BU' 39 | alias mntx='sshfs -o workaround=rename enggrid: ~/mnt/x' 40 | alias mntv='sshfs -o workaround=rename enggrid:/ad/eng/courses ~/mnt/v' 41 | alias flashdie='killall -KILL npviewer.bin' 42 | alias pacman='clyde' 43 | alias scl='sudo clyde' 44 | alias recon='sudo netcfg reonnect' 45 | cd 46 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/spec/vim_formatter.rb: -------------------------------------------------------------------------------- 1 | require 'spec/runner/formatter/base_text_formatter' 2 | require 'pathname' 3 | 4 | # Format spec results for display in the Vim quickfix window 5 | # Use this custom formatter like this: 6 | # spec -r spec/vim_formatter.rb -f Spec::Runner::Formatter::VimFormatter spec 7 | module Spec 8 | module Runner 9 | module Formatter 10 | class VimFormatter < BaseTextFormatter 11 | 12 | # TODO: handle pending issues 13 | # TODO: vim-side function for printing progress 14 | def dump_failure counter, failure 15 | path = failure.exception.backtrace.find do |frame| 16 | frame =~ %r{\bspec/.*_spec\.rb:\d+\z} 17 | end 18 | message = failure.exception.message.gsub("\n", ' ') 19 | @output.puts "#{relativize_path(path)}: #{message}" if path 20 | end 21 | 22 | def dump_pending; end 23 | 24 | def dump_summary duration, example_count, failure_count, pending_count 25 | end 26 | 27 | private 28 | 29 | def relativize_path path 30 | @wd ||= Pathname.new Dir.getwd 31 | begin 32 | return Pathname.new(path).relative_path_from(@wd) 33 | rescue ArgumentError 34 | # raised unless both paths relative, or both absolute 35 | return path 36 | end 37 | end 38 | end # class VimFormatter 39 | end # module Formatter 40 | end # module Runner 41 | end # module Spec 42 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/deleq: -------------------------------------------------------------------------------- 1 | if exists("deleq_package_file") 2 | finish 3 | endif 4 | let deleq_package_file = 1 5 | 6 | let g:TeX_package_option_deleq = '' 7 | 8 | let g:TeX_package_deleq = 9 | \.'env:deqn,' 10 | \.'env:ddeqn,' 11 | \.'env:deqarr,' 12 | \.'env:ddeqar,' 13 | \.'env:deqrarr,' 14 | \.'nor:nydeqno,' 15 | \.'nor:heqno,' 16 | \.'bra:reqno,' 17 | \.'bra:rndeqno,' 18 | \.'bra:rdeqno,' 19 | \.'nob:eqreqno,' 20 | \.'nob:deqreqno,' 21 | \.'nob:ddeqreqno,' 22 | \.'bra:arrlabel,' 23 | \.'nor:where,' 24 | \.'bra:remtext,' 25 | \.'nor:nydeleqno,' 26 | \.'nor:deleqno,' 27 | \.'nor:jotbaseline' 28 | 29 | if !exists("tex_no_math") 30 | syn region texMathZoneA start="\\begin\s*{\s*deqn\*\s*}" end="\\end\s*{\s*deqn\*\s*}" keepend fold contains=@texMathZoneGroup 31 | syn region texMathZoneB start="\\begin\s*{\s*ddeqn\*\s*}" end="\\end\s*{\s*ddeqn\*\s*}" keepend fold contains=@texMathZoneGroup 32 | syn region texMathZoneC start="\\begin\s*{\s*deqarr\s*}" end="\\end\s*{\s*deqarr\s*}" keepend fold contains=@texMathZoneGroup 33 | syn region texMathZoneD start="\\begin\s*{\s*ddeqar\s*}" end="\\end\s*{\s*ddeqar\s*}" keepend fold contains=@texMathZoneGroup 34 | syn region texMathZoneE start="\\begin\s*{\s*deqrarr\*\s*}" end="\\end\s*{\s*deqrarr\*\s*}" keepend fold contains=@texMathZoneGroup 35 | endif 36 | " vim:ft=vim:ff=unix:noet:ts=4: 37 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/version.vim: -------------------------------------------------------------------------------- 1 | " Tex_Version: returns a string which gives the current version number of latex-suite 2 | " Description: 3 | " Each time a bug fix/addition is done in any source file in latex-suite, 4 | " not just this file, the number below has to be incremented by the author. 5 | " This will ensure that there is a single 'global' version number for all of 6 | " latex-suite. 7 | " 8 | " If a change is done in the doc/ directory, i.e an addition/change in the 9 | " documentation, then this number should NOT be incremented. 10 | " 11 | " Latex-suite will follow a 3-tier system of versioning just as Vim. A 12 | " version number will be of the form: 13 | " 14 | " X.Y.ZZ 15 | " 16 | " 'X' will only be incremented for a major over-haul or feature addition. 17 | " 'Y' will be incremented for significant changes which do not qualify 18 | " as major. 19 | " 'ZZ' will be incremented for bug-fixes and very trivial additions such 20 | " as adding an option etc. Once ZZ reaches 50, then Y will be 21 | " incremented and ZZ will be reset to 01. Each time we have a 22 | " version number of the form X.Y.01, then we'll make a release on 23 | " vim.sf.net and also create a cvs tag at that point. We'll try to 24 | " "stabilize" that version by releasing a few pre-releases and then 25 | " keep that as a stable point. 26 | function! Tex_Version() 27 | return "Latex-Suite: version 1.8.23" 28 | endfunction 29 | 30 | com! -nargs=0 TVersion echo Tex_Version() 31 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/depend: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | CFLAGS += -std=c99 -Wall -Wextra -Wno-unused-parameter 25 | -------------------------------------------------------------------------------- /.vim/bundle/bufexplorer/doc/tags: -------------------------------------------------------------------------------- 1 | bufexplorer bufexplorer.txt /*bufexplorer* 2 | bufexplorer-changelog bufexplorer.txt /*bufexplorer-changelog* 3 | bufexplorer-credits bufexplorer.txt /*bufexplorer-credits* 4 | bufexplorer-customization bufexplorer.txt /*bufexplorer-customization* 5 | bufexplorer-installation bufexplorer.txt /*bufexplorer-installation* 6 | bufexplorer-todo bufexplorer.txt /*bufexplorer-todo* 7 | bufexplorer-usage bufexplorer.txt /*bufexplorer-usage* 8 | bufexplorer-windowlayout bufexplorer.txt /*bufexplorer-windowlayout* 9 | bufexplorer.txt bufexplorer.txt /*bufexplorer.txt* 10 | buffer-explorer bufexplorer.txt /*buffer-explorer* 11 | g:bufExplorerDefaultHelp bufexplorer.txt /*g:bufExplorerDefaultHelp* 12 | g:bufExplorerDetailedHelp bufexplorer.txt /*g:bufExplorerDetailedHelp* 13 | g:bufExplorerFindActive bufexplorer.txt /*g:bufExplorerFindActive* 14 | g:bufExplorerReverseSort bufexplorer.txt /*g:bufExplorerReverseSort* 15 | g:bufExplorerShowDirectories bufexplorer.txt /*g:bufExplorerShowDirectories* 16 | g:bufExplorerShowRelativePath bufexplorer.txt /*g:bufExplorerShowRelativePath* 17 | g:bufExplorerShowTabBuffer bufexplorer.txt /*g:bufExplorerShowTabBuffer* 18 | g:bufExplorerShowUnlisted bufexplorer.txt /*g:bufExplorerShowUnlisted* 19 | g:bufExplorerSortBy bufexplorer.txt /*g:bufExplorerSortBy* 20 | g:bufExplorerSplitBelow bufexplorer.txt /*g:bufExplorerSplitBelow* 21 | g:bufExplorerSplitOutPathName bufexplorer.txt /*g:bufExplorerSplitOutPathName* 22 | g:bufExplorerSplitRight bufexplorer.txt /*g:bufExplorerSplitRight* 23 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/lineno: -------------------------------------------------------------------------------- 1 | if exists("lineno_package_file") 2 | finish 3 | endif 4 | let lineno_package_file = 1 5 | 6 | let g:TeX_package_option_lineno = 7 | \ 'left,' 8 | \.'right,' 9 | \.'switch,' 10 | \.'switch*,' 11 | \.'pagewise,' 12 | \.'running,' 13 | \.'modulo,' 14 | \.'mathlines,' 15 | \.'displaymath,' 16 | \.'hyperref' 17 | 18 | let g:TeX_package_lineno = 19 | \ 'sbr:Environments,' 20 | \.'env:linenumbers,' 21 | \.'env:linenumbers*,' 22 | \.'env:numquote,' 23 | \.'env:numquote*,' 24 | \.'env:numquotation,' 25 | \.'env:numquotation*,' 26 | \.'env:bframe,' 27 | \.'env:linenomath,' 28 | \.'env:linenomath*,' 29 | \.'bra:linelabel,' 30 | \.'sbr:Commands,' 31 | \.'nor:linenumbers,' 32 | \.'nor:linenumbers*,' 33 | \.'noo:linenumbers,' 34 | \.'nor:nolinenumbers,' 35 | \.'nor:runninglinenumbers,' 36 | \.'nor:runninglinenumbers*,' 37 | \.'noo:runninglinenumbers,' 38 | \.'nor:pagewiselinenumbers,' 39 | \.'nor:resetlinenumber,' 40 | \.'noo:resetlinenumber,' 41 | \.'nor:setrunninglinenumbers,' 42 | \.'nor:setpagewiselinenumbers,' 43 | \.'nor:switchlinenumbers,' 44 | \.'nor:switchlinenumbers*,' 45 | \.'nor:leftlinenumbers,' 46 | \.'nor:leftlinenumbers*,' 47 | \.'nor:rightlinenumbers,' 48 | \.'nor:rightlinenumbers*,' 49 | \.'nor:runningpagewiselinenumbers,' 50 | \.'nor:realpagewiselinenumbers,' 51 | \.'nor:modulolinenumbers,' 52 | \.'noo:modulolinenumbers,' 53 | \.'nor:linenumberdisplaymath,' 54 | \.'nor:nolinenumberdisplaymath,' 55 | \.'nor:thelinenumber,' 56 | \.'nob:linerefp,' 57 | \.'nob:linerefr,' 58 | \.'nob:lineref' 59 | 60 | " vim:ft=vim:ff=unix: 61 | -------------------------------------------------------------------------------- /.vim/bundle/matlab/compiler/mlint.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Matlab mlint code checker 3 | " Maintainer: Fabrice Guy 4 | " Latest Revision: 2008 Oct 16 5 | " Comment: mlint messages are either 6 | " - L x (C y): message (where x and y are line number and 7 | " column number) 8 | " - L x (C y-z): message (where x is the line number, y and 9 | " z the column numbers where the error comes from) 10 | 11 | 12 | if exists("current_compiler") 13 | finish 14 | endif 15 | let current_compiler = "mlint" 16 | 17 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 18 | command -nargs=* CompilerSet setlocal 19 | endif 20 | 21 | " mlint doesn't provide filename information except if multiple 22 | " filenames are given 23 | " With the following command : 24 | " mlint 25 | " mlint produces an output like that : 26 | " ========== ========== 27 | " L x (C y): ID : Message 28 | " L x (C y): ID : Message 29 | " .. 30 | " .. 31 | " ========== ========== 32 | " L 0 (C 0): MDOTM :Filename 'filename' must end in .m or .M 33 | " 34 | " The filename can then be parsed 35 | CompilerSet makeprg=mlint\ -id\ %\ %< 36 | 37 | CompilerSet errorformat= 38 | \%-P==========\ %f\ ==========, 39 | \%-G%>==========\ %s\ ==========, 40 | \%-G%>L\ %l\ (C\ %c):\ MDOTM%m, 41 | \L\ %l\ (C\ %c):\ %m, 42 | \L\ %l\ (C\ %c-%*[0-9]):\ %m, 43 | \%-Q 44 | 45 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/graphicx: -------------------------------------------------------------------------------- 1 | if exists("graphicx_package_file") 2 | finish 3 | endif 4 | let graphicx_package_file = 1 5 | 6 | let g:TeX_package_option_graphicx = 7 | \ 'sbr:Drivers,' 8 | \.'xdvi,' 9 | \.'dvipdf,' 10 | \.'dvipdfm,' 11 | \.'pdftex,' 12 | \.'dvipsone,' 13 | \.'dviwindo,' 14 | \.'emtex,' 15 | \.'dviwin,' 16 | \.'oztex,' 17 | \.'textures,' 18 | \.'pctexps,' 19 | \.'pctexwin,' 20 | \.'pctexhp,' 21 | \.'pctex32,' 22 | \.'truetex,' 23 | \.'tcidvi,' 24 | \.'vtex,' 25 | \.'sbr:Rest,' 26 | \.'debugshow,' 27 | \.'draft,' 28 | \.'final,' 29 | \.'hiderotate,' 30 | \.'hiresbb,' 31 | \.'hidescale,' 32 | \.'unknownkeysallowed,' 33 | \.'unknownkeyserror' 34 | 35 | let g:TeX_package_graphicx = 36 | \ 'sbr:Includegraphics,' 37 | \.'brs:includegraphics[<++>]{<++>},' 38 | \.'spe:height=,' 39 | \.'spe:width=,' 40 | \.'spe:keepaspectratio=,' 41 | \.'spe:totalheight=,' 42 | \.'spe:angle=,' 43 | \.'spe:scale=,' 44 | \.'spe:origin=,' 45 | \.'spe:clip,' 46 | \.'spe:bb=,' 47 | \.'spe:viewport=,' 48 | \.'spe:trim=,' 49 | \.'spe:draft,' 50 | \.'spe:hiresbb,' 51 | \.'spe:type=,' 52 | \.'spe:ext=,' 53 | \.'spe:read=,' 54 | \.'spe:command=,' 55 | \.'sbr:Rotatebox,' 56 | \.'brs:rotatebox[<++>]{<++>}{<++>},' 57 | \.'spe:origin=,' 58 | \.'spe:x=,' 59 | \.'spe:y=,' 60 | \.'spe:units=,' 61 | \.'sbr:Rest,' 62 | \.'brs:scalebox{<++>}[<++>]{<++>},' 63 | \.'brs:resizebox{<++>}{<++>}{<++>},' 64 | \.'brs:resizebox*{<++>}{<++>}{<++>},' 65 | \.'bra:DeclareGraphicsExtensions,' 66 | \.'brs:DeclareGraphicsRule{<++>}{<++>}{<++>}{<++>},' 67 | \.'bra:graphicspath' 68 | 69 | " vim:ft=vim:ff=unix: 70 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/pytools.py: -------------------------------------------------------------------------------- 1 | import string, vim, re, os, glob 2 | # catFile: assigns a local variable retval to the contents of a file {{{ 3 | def catFile(filename): 4 | try: 5 | file = open(filename) 6 | lines = ''.join(file.readlines()) 7 | file.close() 8 | except: 9 | lines = '' 10 | 11 | # escape double quotes and backslashes before quoting the string so 12 | # everything passes throught. 13 | vim.command("""let retval = "%s" """ % re.sub(r'"|\\', r'\\\g<0>', lines)) 14 | return lines 15 | 16 | # }}} 17 | # isPresentInFile: check if regexp is present in the file {{{ 18 | def isPresentInFile(regexp, filename): 19 | try: 20 | fp = open(filename) 21 | fcontents = string.join(fp.readlines(), '') 22 | fp.close() 23 | if re.search(regexp, fcontents): 24 | vim.command('let retval = 1') 25 | return 1 26 | else: 27 | vim.command('let retval = 0') 28 | return None 29 | except: 30 | vim.command('let retval = 0') 31 | return None 32 | 33 | # }}} 34 | # deleteFile: deletes a file if present {{{ 35 | # If the file does not exist, check if its a filepattern rather than a 36 | # filename. If its a pattern, then deletes all files matching the 37 | # pattern. 38 | def deleteFile(filepattern): 39 | if os.path.exists(filepattern): 40 | try: 41 | os.remove(filepattern) 42 | except: 43 | vim.command('let retval = -1') 44 | else: 45 | if glob.glob(filepattern): 46 | for filename in glob.glob(filepattern): 47 | os.remove(filename) 48 | else: 49 | vim.command('let retval = -1') 50 | 51 | # }}} 52 | # vim:fdm=marker:ff=unix:noet:ts=4:sw=4:nowrap 53 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/extconf.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | require 'mkmf' 25 | 26 | def missing item 27 | puts "couldn't find #{item} (required)" 28 | exit 1 29 | end 30 | 31 | have_header('ruby.h') or missing('ruby.h') 32 | create_makefile('ext') 33 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/vim/screen.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | module CommandT 25 | module VIM 26 | module Screen 27 | def self.lines 28 | ::VIM::evaluate('&lines').to_i 29 | end 30 | end # module Screen 31 | end # module VIM 32 | end # module CommandT 33 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/match.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 2. Redistributions in binary form must reproduce the above copyright notice, 9 | // this list of conditions and the following disclaimer in the documentation 10 | // and/or other materials provided with the distribution. 11 | // 12 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | // POSSIBILITY OF SUCH DAMAGE. 23 | 24 | #include 25 | 26 | extern VALUE CommandTMatch_initialize(int argc, VALUE *argv, VALUE self); 27 | extern VALUE CommandTMatch_matches(VALUE self); 28 | extern VALUE CommandTMatch_score(VALUE self); 29 | extern VALUE CommandTMatch_to_s(VALUE self); 30 | -------------------------------------------------------------------------------- /.vim/bundle/lilypond/ftplugin/lilypond.vim: -------------------------------------------------------------------------------- 1 | " LilyPond filetype plugin 2 | " Language: LilyPond (ft=ly) 3 | " Maintainer: Heikki Junes 4 | " Last Change: 2004 March 1 5 | " 6 | " Installed As: vim/ftplugin/lilypond.vim 7 | " Uses Generated File: vim/syntax/lilypond-words.el 8 | " 9 | " Only do this when not done yet for this buffer 10 | if exists("b:did_ftplugin") 11 | finish 12 | endif 13 | 14 | " Don't load another plugin for this buffer 15 | let b:did_ftplugin = 1 16 | 17 | setlocal autoindent 18 | setlocal shiftwidth=2 19 | " 20 | " some handy key mappings 21 | " 22 | " save & make and play midi 23 | map :w:se makeprg=lilypond\ -m\ %<:make:!timidity %<.midi 24 | " 25 | " save & make dvi, midi, ps 26 | map :w:se makeprg=lilypond\ %<:make 27 | " 28 | " view ps 29 | map :!gv --watch %<.ps & 30 | " 31 | " view dvi 32 | map :!xdvi %<.dvi & 33 | " 34 | " prev error 35 | map :cp 36 | " 37 | " next error 38 | map :cn 39 | " 40 | " make 41 | map :w:se makeprg=make\ -k:make 42 | " 43 | " menu 44 | source $VIMRUNTIME/menu.vim 45 | setlocal wildmenu 46 | setlocal cpo-=< 47 | setlocal wcm= 48 | map :emenu 49 | " 50 | " comment region 51 | map :g!/%.*/normal 0i% 52 | " 53 | " remove comments in region 54 | map :g/%.*/normal 0x 55 | " 56 | " Completions in Insert/Replace-mode with 57 | setlocal dictionary-=$VIM/syntax/lilypond-words dictionary+=$VIM/syntax/lilypond-words 58 | setlocal complete-=k complete+=k 59 | " 60 | setlocal showmatch 61 | -------------------------------------------------------------------------------- /.conky/.conkyrc: -------------------------------------------------------------------------------- 1 | 2 | # vim:ft=conkyrc 3 | # ---- Conky Settings ---- 4 | background no 5 | update_interval 1 6 | total_run_times 0 7 | 8 | cpu_avg_samples 2 9 | net_avg_samples 2 10 | 11 | override_utf8_locale no 12 | 13 | double_buffer yes 14 | no_buffers yes 15 | 16 | text_buffer_size 2048 17 | 18 | # ---- Window Settings ---- 19 | own_window yes 20 | own_window_type desktop 21 | own_window_transparent yes 22 | own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below 23 | 24 | # ---- Appearance ---- 25 | draw_shades no 26 | draw_outline no 27 | draw_borders no 28 | draw_graph_borders yes 29 | 30 | # ---- Position and Size ---- 31 | alignment top_right 32 | border_width 0 33 | minimum_size 200 768 34 | maximum_width 200 35 | 36 | # ---- Fonts ---- 37 | use_xft yes 38 | xftfont Monofur:size=18 39 | xftalpha 0.8 40 | uppercase no 41 | 42 | 43 | # ---- Colors ---- 44 | default_color white 45 | default_shade_color black 46 | default_outline_color white 47 | 48 | # ---- Lua ---- 49 | #lua_load ~/.conky/functions.lua 50 | #lua_load ~/.conky/rings.lua 51 | #lua_draw_hook_pre run 52 | 53 | # Information we would eventually like to see 54 | # CPU: 55 | # usage, temp, freq 56 | # Mem: 57 | # usage, swap 58 | # Net: 59 | # up, down, wifi 60 | # Disks: 61 | # mounted, space 62 | # Battery 63 | # percent, time remaining 64 | # Sysinfo 65 | # kernel, name, ip 66 | # MPD: 67 | # now playing, progress, artist, album, status 68 | # Mail 69 | TEXT 70 | CPU:$hr 71 | Usage: ${cpu 1}% ${cpu 2}% 72 | Freq: ${freq_g 1} ${freq_g 2} 73 | ${cpugraph cpu1 30,100 green red -t}${cpugraph cpu2 30,100 green red -t} 74 | Memory:$hr 75 | Usage: ${mem}/${memmax} ${memperc}% 76 | ${membar 3,200} 77 | Swap: ${swap}/${swapmax} ${swapperc}% 78 | ${swapbar 3,200} 79 | Sysinfo$hr 80 | Kernel: $kernel $machine 81 | Load: $loadavg 82 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | if !Object.const_defined?('Bundler') 25 | require 'rubygems' 26 | require 'bundler' 27 | Bundler.setup 28 | end 29 | require 'rspec' 30 | 31 | lib = File.expand_path('../ruby', File.dirname(__FILE__)) 32 | unless $LOAD_PATH.include? lib 33 | $LOAD_PATH.unshift lib 34 | end 35 | 36 | RSpec.configure do |config| 37 | config.mock_framework = :rr 38 | end 39 | -------------------------------------------------------------------------------- /.vim/bundle/NERD-tree/nerdtree_plugin/exec_menuitem.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================ 2 | " File: exec_menuitem.vim 3 | " Description: plugin for NERD Tree that provides an execute file menu item 4 | " Maintainer: Martin Grenfell 5 | " Last Change: 22 July, 2009 6 | " License: This program is free software. It comes without any warranty, 7 | " to the extent permitted by applicable law. You can redistribute 8 | " it and/or modify it under the terms of the Do What The Fuck You 9 | " Want To Public License, Version 2, as published by Sam Hocevar. 10 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 11 | " 12 | " ============================================================================ 13 | if exists("g:loaded_nerdtree_exec_menuitem") 14 | finish 15 | endif 16 | let g:loaded_nerdtree_exec_menuitem = 1 17 | 18 | call NERDTreeAddMenuItem({ 19 | \ 'text': '(!)Execute file', 20 | \ 'shortcut': '!', 21 | \ 'callback': 'NERDTreeExecFile', 22 | \ 'isActiveCallback': 'NERDTreeExecFileActive' }) 23 | 24 | function! NERDTreeExecFileActive() 25 | let node = g:NERDTreeFileNode.GetSelected() 26 | return !node.path.isDirectory && node.path.isExecutable 27 | endfunction 28 | 29 | function! NERDTreeExecFile() 30 | let treenode = g:NERDTreeFileNode.GetSelected() 31 | echo "==========================================================\n" 32 | echo "Complete the command to execute (add arguments etc):\n" 33 | let cmd = treenode.path.str({'escape': 1}) 34 | let cmd = input(':!', cmd . ' ') 35 | 36 | if cmd != '' 37 | exec ':!' . cmd 38 | else 39 | echo "Aborted" 40 | endif 41 | endfunction 42 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/matcher.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 2. Redistributions in binary form must reproduce the above copyright notice, 9 | // this list of conditions and the following disclaimer in the documentation 10 | // and/or other materials provided with the distribution. 11 | // 12 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | // POSSIBILITY OF SUCH DAMAGE. 23 | 24 | #include 25 | 26 | extern VALUE CommandTMatcher_initialize(int argc, VALUE *argv, VALUE self); 27 | extern VALUE CommandTMatcher_sorted_matchers_for(VALUE self, VALUE abbrev, VALUE options); 28 | 29 | // most likely the function will be subsumed by the sorted_matcher_for function 30 | extern VALUE CommandTMatcher_matches_for(VALUE self, VALUE abbrev); 31 | -------------------------------------------------------------------------------- /.vim/bundle/hexHighlight/plugin/hexHighlight.vim: -------------------------------------------------------------------------------- 1 | "gvim plugin for highlighting hex codes to help with tweaking colors 2 | "Last Change: 2010 Jan 21 3 | "Maintainer: Yuri Feldman 4 | "License: WTFPL - Do What The Fuck You Want To Public License. 5 | "Email me if you'd like. 6 | let s:HexColored = 0 7 | let s:HexColors = [] 8 | 9 | map :call HexHighlight() 10 | function! HexHighlight() 11 | if has("gui_running") 12 | if s:HexColored == 0 13 | let hexGroup = 4 14 | let lineNumber = 0 15 | while lineNumber <= line("$") 16 | let currentLine = getline(lineNumber) 17 | let hexLineMatch = 1 18 | while match(currentLine, '#\x\{6}', 0, hexLineMatch) != -1 19 | let hexMatch = matchstr(currentLine, '#\x\{6}', 0, hexLineMatch) 20 | exe 'hi hexColor'.hexGroup.' guifg='.hexMatch.' guibg='.hexMatch 21 | exe 'let m = matchadd("hexColor'.hexGroup.'", "'.hexMatch.'", 25, '.hexGroup.')' 22 | let s:HexColors += ['hexColor'.hexGroup] 23 | let hexGroup += 1 24 | let hexLineMatch += 1 25 | endwhile 26 | let lineNumber += 1 27 | endwhile 28 | unlet lineNumber hexGroup 29 | let s:HexColored = 1 30 | echo "Highlighting hex colors..." 31 | elseif s:HexColored == 1 32 | for hexColor in s:HexColors 33 | exe 'highlight clear '.hexColor 34 | endfor 35 | call clearmatches() 36 | let s:HexColored = 0 37 | echo "Unhighlighting hex colors..." 38 | endif 39 | else 40 | echo "hexHighlight only works with a graphical version of vim" 41 | endif 42 | endfunction 43 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/geometry: -------------------------------------------------------------------------------- 1 | if exists("geometry_package_file") 2 | finish 3 | endif 4 | let geometry_package_file = 1 5 | 6 | let g:TeX_package_option_geometry = 7 | \ 'sbr:Boolean,' 8 | \.'verbose,' 9 | \.'landscape,' 10 | \.'portrait,' 11 | \.'twoside,' 12 | \.'includemp,' 13 | \.'reversemp,' 14 | \.'reversemarginpar,' 15 | \.'nohead,' 16 | \.'nofoot,' 17 | \.'noheadfoot,' 18 | \.'dvips,' 19 | \.'pdftex,' 20 | \.'vtex,' 21 | \.'truedimen,' 22 | \.'reset,' 23 | \.'sbr:BooleanDimensions,' 24 | \.'a0paper,' 25 | \.'a1paper,' 26 | \.'a2paper,' 27 | \.'a3paper,' 28 | \.'a4paper,' 29 | \.'a5paper,' 30 | \.'a6paper,' 31 | \.'b0paper,' 32 | \.'b1paper,' 33 | \.'b2paper,' 34 | \.'b3paper,' 35 | \.'b4paper,' 36 | \.'b5paper,' 37 | \.'b6paper,' 38 | \.'letterpaper,' 39 | \.'executivepaper,' 40 | \.'legalpaper,' 41 | \.'sbr:SingleValueOption,' 42 | \.'paper=,' 43 | \.'papername=,' 44 | \.'paperwidth=,' 45 | \.'paperheight=,' 46 | \.'width=,' 47 | \.'totalwidth=,' 48 | \.'height=,' 49 | \.'totalheight=,' 50 | \.'left=,' 51 | \.'lmargin=,' 52 | \.'right=,' 53 | \.'rmargin=,' 54 | \.'top=,' 55 | \.'tmargin=,' 56 | \.'bottom=,' 57 | \.'bmargin=,' 58 | \.'hscale=,' 59 | \.'vscale=,' 60 | \.'textwidth=,' 61 | \.'textheight=,' 62 | \.'marginparwidth=,' 63 | \.'marginpar=,' 64 | \.'marginparsep=,' 65 | \.'headheight=,' 66 | \.'head=,' 67 | \.'headsep=,' 68 | \.'footskip=,' 69 | \.'hoffset=,' 70 | \.'voffset=,' 71 | \.'twosideshift=,' 72 | \.'mag=,' 73 | \.'columnsep=,' 74 | \.'footnotesep=,' 75 | \.'sbr:TwoValueOptions,' 76 | \.'papersize={<++>},' 77 | \.'total={<++>},' 78 | \.'body={<++>},' 79 | \.'text={<++>},' 80 | \.'scale={<++>},' 81 | \.'hmargin={<++>},' 82 | \.'vmargin={<++>},' 83 | \.'margin={<++>},' 84 | \.'offset={<++>},' 85 | \.'sbr:ThreeValueOptions,' 86 | \.'hdivide={<++>},' 87 | \.'vdivide={<++>},' 88 | \.'divide={<++>}' 89 | 90 | let g:TeX_package_geometry = 91 | \ 'bra:geometry' 92 | 93 | " vim:ft=vim:ff=unix: 94 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-chunk.xsl: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 2 29 | 30 | 31 | 32 | 33 | 34 | 36 | 38 | 39 | 40 | 41 | appendix toc 42 | article/appendix toc 43 | article toc 44 | sect1 toc 45 | sect2 toc 46 | sect3 toc 47 | sect4 toc 48 | sect5 toc 49 | section toc 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/vim/window.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | module CommandT 25 | module VIM 26 | class Window 27 | def self.select window 28 | return true if $curwin == window 29 | initial = $curwin 30 | while true do 31 | ::VIM::command 'wincmd w' # cycle through windows 32 | return true if $curwin == window # have selected desired window 33 | return false if $curwin == initial # have already looped through all 34 | end 35 | end 36 | end # class Window 37 | end # module VIM 38 | end # module CommandT 39 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/texproject.vim: -------------------------------------------------------------------------------- 1 | "============================================================================= 2 | " File: texproject.vim 3 | " Author: Mikolaj Machowski 4 | " Version: 1.0 5 | " Created: Wen Apr 16 05:00 PM 2003 6 | " 7 | " Description: Handling tex projects. 8 | "============================================================================= 9 | 10 | let s:path = fnameescape(expand(":p:h")) 11 | 12 | command! -nargs=0 TProjectEdit :call Tex_ProjectEdit() 13 | 14 | " Tex_ProjectEdit: Edit project file " {{{ 15 | " Description: If project file exists (*.latexmain) open it in window created 16 | " with ':split', if no create ':new' window and read there 17 | " project template 18 | " 19 | function! s:Tex_ProjectEdit() 20 | 21 | let file = expand("%:p") 22 | let mainfname = Tex_GetMainFileName() 23 | if glob(mainfname.'.latexmain') != '' 24 | exec 'split '.fnameescape(mainfname.'.latexmain') 25 | else 26 | echohl WarningMsg 27 | echomsg "Master file not found." 28 | echomsg " :help latex-master-file" 29 | echomsg "for more information" 30 | echohl None 31 | endif 32 | 33 | endfunction " }}} 34 | " Tex_ProjectLoad: loads the .latexmain file {{{ 35 | " Description: If a *.latexmain file exists, then sources it 36 | function! Tex_ProjectLoad() 37 | let s:origdir = fnameescape(getcwd()) 38 | exe 'cd '.fnameescape(expand('%:p:h')) 39 | 40 | if glob(Tex_GetMainFileName(':p').'.latexmain') != '' 41 | call Tex_Debug("Tex_ProjectLoad: sourcing [".Tex_GetMainFileName().".latexmain]", "proj") 42 | exec 'source '.fnameescape(Tex_GetMainFileName().'.latexmain') 43 | endif 44 | 45 | exe 'cd '.s:origdir 46 | endfunction " }}} 47 | 48 | augroup LatexSuite 49 | au LatexSuite User LatexSuiteFileType 50 | \ call Tex_Debug("texproject.vim: catching LatexSuiteFileType event", "proj") | 51 | \ call Tex_ProjectLoad() 52 | augroup END 53 | 54 | " vim:fdm=marker:ff=unix:noet:ts=4:sw=4 55 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/Makefile: -------------------------------------------------------------------------------- 1 | projects = latex-suite latex-suite-quickstart 2 | htmlfiles = $(addsuffix .html, $(projects)) 3 | txtfiles = $(addsuffix .txt, $(projects)) 4 | cssfiles = $(addsuffix .css, $(projects)) 5 | all = $(projects) $(htmlfiles) $(cssfiles) $(txtfiles) 6 | 7 | 8 | xsltproc=xsltproc 9 | db2vim=../../db2vim/db2vim 10 | 11 | # Use for debugging: 12 | #xsltproc=strace -e trace=file xsltproc --nonet --load-trace 13 | # export XML_DEBUG_CATALOG = 1 14 | 15 | # Specify local catalog to not use system installed dtd/xsl files 16 | # export XML_CATALOG_FILES=catalog.xml 17 | 18 | # User configuration of this Makefile goes into Makefile.local 19 | # E.g. to use a catalog file installed by the user. 20 | -include Makefile.local 21 | 22 | # Default Target is to create all documentation files 23 | all: $(all) 24 | 25 | # create multi page html (chunk xhtml) 26 | $(projects): %: %.xml latex-suite-chunk.xsl latex-suite-common.xsl 27 | $(xsltproc) -o $@/ latex-suite-chunk.xsl $< 28 | 29 | # create single html files 30 | $(htmlfiles): %.html: %.xml latex-suite.xsl latex-suite-common.xsl 31 | $(xsltproc) -o $@ latex-suite.xsl $< 32 | 33 | # create vim flat files 34 | latex-suite.txt: %.txt: %.xml 35 | $(db2vim) --prefix=ls_ $< > $@ 36 | 37 | latex-suite-quickstart.txt: %.txt: %.xml 38 | $(db2vim) --prefix=lq_ $< > $@ 39 | 40 | # validate xml 41 | validate: 42 | for file in *.xml; do \ 43 | xmllint --valid --noout $$file; \ 44 | done 45 | 46 | clean: 47 | rm -f $(htmlfiles) 48 | rm -rf $(projects) 49 | 50 | # $(txtfiles) are currently in revision control, therefore they are not 51 | # removed in the clean target 52 | mr-proper: clean 53 | rm -f $(txtfiles) 54 | 55 | upload: $(all) 56 | # vim-latex-web is configured in ~/.ssh/config 57 | #Host vim-latex-web 58 | # Hostname web.sourceforge.net 59 | # User SOURCEFORGE_USERNAME,vim-latex 60 | rsync --perms --chmod g+w,o-w --delete -lrtvz $(all) vim-latex-web:/home/groups/v/vi/vim-latex/htdocs/documentation/ 61 | 62 | # vim:nowrap 63 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/vim.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | require 'command-t/vim/screen' 25 | require 'command-t/vim/window' 26 | 27 | module CommandT 28 | module VIM 29 | def self.has_syntax? 30 | ::VIM::evaluate('has("syntax")').to_i != 0 31 | end 32 | 33 | def self.pwd 34 | ::VIM::evaluate 'getcwd()' 35 | end 36 | 37 | # Escape a string for safe inclusion in a Vim single-quoted string 38 | # (single quotes escaped by doubling, everything else is literal) 39 | def self.escape_for_single_quotes str 40 | str.gsub "'", "''" 41 | end 42 | end # module VIM 43 | end # module CommandT 44 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/ext.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 2. Redistributions in binary form must reproduce the above copyright notice, 9 | // this list of conditions and the following disclaimer in the documentation 10 | // and/or other materials provided with the distribution. 11 | // 12 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | // POSSIBILITY OF SUCH DAMAGE. 23 | 24 | #include 25 | 26 | extern VALUE mCommandT; // module CommandT 27 | extern VALUE cCommandTMatch; // class CommandT::Match 28 | extern VALUE cCommandTMatcher; // class CommandT::Matcher 29 | 30 | // Encapsulates common pattern of checking for an option in an optional 31 | // options hash. The hash itself may be nil, but an exception will be 32 | // raised if it is not nil and not a hash. 33 | VALUE CommandT_option_from_hash(const char *option, VALUE hash); 34 | 35 | // Debugging macro. 36 | #define ruby_inspect(obj) rb_funcall(rb_mKernel, rb_intern("p"), 1, obj) 37 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/Rakefile: -------------------------------------------------------------------------------- 1 | def bail_on_failure 2 | exitstatus = $?.exitstatus 3 | if exitstatus != 0 4 | raise "last command failed with exit status #{exitstatus}" 5 | end 6 | end 7 | 8 | task :default => :spec 9 | 10 | desc 'Run specs' 11 | task :spec do 12 | system 'bin/rspec spec' 13 | bail_on_failure 14 | end 15 | 16 | desc 'Create vimball archive' 17 | task :vimball do 18 | system 'make' 19 | bail_on_failure 20 | end 21 | 22 | desc 'Clean compiled products' 23 | task :clean do 24 | Dir.chdir 'ruby/command-t' do 25 | system 'make clean' 26 | end 27 | end 28 | 29 | desc 'Clobber all generated files' 30 | task :clobber => :clean do 31 | system 'make clean' 32 | end 33 | 34 | desc 'Compile extension' 35 | task :make do 36 | Dir.chdir 'ruby/command-t' do 37 | ruby 'extconf.rb' 38 | system 'make clean && make' 39 | bail_on_failure 40 | end 41 | end 42 | 43 | namespace :make do 44 | desc 'Compile under all multiruby versions' 45 | task :all do 46 | system './compile-test.sh' 47 | bail_on_failure 48 | end 49 | end 50 | 51 | namespace :spec do 52 | desc 'Run specs under all multiruby versions' 53 | task :all do 54 | system './multi-spec.sh' 55 | bail_on_failure 56 | end 57 | end 58 | 59 | desc 'Check that the current HEAD is tagged' 60 | task :check_tag do 61 | system 'git describe --exact-match HEAD 2> /dev/null' 62 | if $?.exitstatus != 0 63 | puts 'warning: current HEAD is not tagged' 64 | end 65 | end 66 | 67 | namespace :readme do 68 | desc 'Check that README.txt is up-to-date ("rake readme:update" needed)' 69 | task :check do 70 | system 'diff -q doc/command-t.txt README.txt' 71 | if $?.exitstatus != 0 72 | puts 'warning: README.txt is not up-to-date' 73 | end 74 | end 75 | 76 | desc 'Copy README.txt from doc/command-t.txt' 77 | task :update do 78 | system 'cp doc/command-t.txt README.txt' 79 | puts "README.txt updated" 80 | end 81 | end 82 | 83 | desc 'Run checks prior to release' 84 | task :prerelease => ['make:all', 'spec:all', :vimball, 'readme:check', :check_tag] 85 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/stub.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | module CommandT 25 | class Stub 26 | @@load_error = ['command-t.vim could not load the C extension', 27 | 'Please see INSTALLATION and TROUBLE-SHOOTING in the help', 28 | 'For more information type: :help command-t'] 29 | 30 | def show 31 | warn *@@load_error 32 | end 33 | 34 | def flush 35 | warn *@@load_error 36 | end 37 | 38 | private 39 | 40 | def warn *msg 41 | ::VIM::command 'echohl WarningMsg' 42 | msg.each { |m| ::VIM::command "echo '#{m}'" } 43 | ::VIM::command 'echohl none' 44 | end 45 | end # class Stub 46 | end # module CommandT 47 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/exmpl: -------------------------------------------------------------------------------- 1 | if exists("exmpl_package_file") 2 | finish 3 | endif 4 | let exmpl_package_file = 1 5 | 6 | " Author: Mikolaj Machowski 7 | " Date: 10.04.2002 8 | " Example plugin for packages in latexSuite 9 | " 10 | 11 | " This variable creates Options submenu in package menu. Even when no options are 12 | " given for this package it HAS to exist in form 13 | " let TeX_package_option_exmpl = "" 14 | " Options and commands are delimited with comma , 15 | 16 | let g:TeX_package_option_exmpl = "OpcjaA=,OpcjaB,OpcjaC" 17 | 18 | " Most command should have some definition before. Package menu system can 19 | " recognize type of command and behave in good manner: 20 | " env: (environment) creates simple environment template 21 | " \begin{command} 22 | " x <- cursor here 23 | " \end{command} 24 | " 25 | " bra: (brackets) useful when inserting brackets commands 26 | " \command{x}<<>> <- cursor at x, and placeholders as in other menu entries 27 | " 28 | " nor: (normal) nor: and pla: are `highlighted' in menu with `'' 29 | " \command 30 | " 31 | " pla: (plain) 32 | " command 33 | " 34 | " spe: (special) 35 | " command <-literal insertion of command, in future here should go 36 | " commands with special characters 37 | " 38 | " sep: (separator) creates separator. Good for aesthetics and usability :) 39 | " 40 | " Command can be also given with no prefix:. The result is 41 | " \command (as in nor: but without ) 42 | 43 | 44 | let g:TeX_package_exmpl = "env:AEnvFirst,env:aEnvSec,env:BThi," 45 | \ . "sep:a,env:zzzz," 46 | \ . "bra:aBraFirst,bra:bBraSec,bra:cBraThi," 47 | \ . "sep:b," 48 | \ . "nor:aNorPri,nor:bNorSec,nor:cNorTer," 49 | \ . "sep:c," 50 | \ . "pla:aPla1,pla:bPla2,pla:cPla3," 51 | \ . "sep:d," 52 | \ . "spe:aSpe1,spe:bSpe2,spe:cSpe3," 53 | \ . "sep:e," 54 | \ . "aNo1,bNo2,cNo3" 55 | " vim:ft=vim 56 | -------------------------------------------------------------------------------- /.vim/bundle/matchit/doc/tags: -------------------------------------------------------------------------------- 1 | :MatchDebug matchit.txt /*:MatchDebug* 2 | MatchError matchit.txt /*MatchError* 3 | [% matchit.txt /*[%* 4 | ]% matchit.txt /*]%* 5 | b:match_col matchit.txt /*b:match_col* 6 | b:match_debug matchit.txt /*b:match_debug* 7 | b:match_ignorecase matchit.txt /*b:match_ignorecase* 8 | b:match_ini matchit.txt /*b:match_ini* 9 | b:match_iniBR matchit.txt /*b:match_iniBR* 10 | b:match_match matchit.txt /*b:match_match* 11 | b:match_pat matchit.txt /*b:match_pat* 12 | b:match_skip matchit.txt /*b:match_skip* 13 | b:match_table matchit.txt /*b:match_table* 14 | b:match_tail matchit.txt /*b:match_tail* 15 | b:match_wholeBR matchit.txt /*b:match_wholeBR* 16 | b:match_word matchit.txt /*b:match_word* 17 | b:match_words matchit.txt /*b:match_words* 18 | g% matchit.txt /*g%* 19 | matchit matchit.txt /*matchit* 20 | matchit-% matchit.txt /*matchit-%* 21 | matchit-\1 matchit.txt /*matchit-\\1* 22 | matchit-activate matchit.txt /*matchit-activate* 23 | matchit-backref matchit.txt /*matchit-backref* 24 | matchit-bugs matchit.txt /*matchit-bugs* 25 | matchit-choose matchit.txt /*matchit-choose* 26 | matchit-configure matchit.txt /*matchit-configure* 27 | matchit-debug matchit.txt /*matchit-debug* 28 | matchit-details matchit.txt /*matchit-details* 29 | matchit-highlight matchit.txt /*matchit-highlight* 30 | matchit-hl matchit.txt /*matchit-hl* 31 | matchit-intro matchit.txt /*matchit-intro* 32 | matchit-languages matchit.txt /*matchit-languages* 33 | matchit-modes matchit.txt /*matchit-modes* 34 | matchit-newlang matchit.txt /*matchit-newlang* 35 | matchit-o_% matchit.txt /*matchit-o_%* 36 | matchit-parse matchit.txt /*matchit-parse* 37 | matchit-s:notend matchit.txt /*matchit-s:notend* 38 | matchit-s:sol matchit.txt /*matchit-s:sol* 39 | matchit-spaces matchit.txt /*matchit-spaces* 40 | matchit-troubleshoot matchit.txt /*matchit-troubleshoot* 41 | matchit-v_% matchit.txt /*matchit-v_%* 42 | matchit.txt matchit.txt /*matchit.txt* 43 | matchit.vim matchit.txt /*matchit.vim* 44 | o_[% matchit.txt /*o_[%* 45 | o_]% matchit.txt /*o_]%* 46 | o_g% matchit.txt /*o_g%* 47 | v_[% matchit.txt /*v_[%* 48 | v_]% matchit.txt /*v_]%* 49 | v_a% matchit.txt /*v_a%* 50 | v_g% matchit.txt /*v_g%* 51 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/latex-viewing.html: -------------------------------------------------------------------------------- 1 | 2 | 7 Latex Viewing and Searching 3 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart/lsq-conclusions.html: -------------------------------------------------------------------------------- 1 | 2 | 10 Conclusions

10 Conclusions

3 | Thats all folks! By now, you should know enough of the basic functions 4 | of latex-suite. Ofcourse, latex-suite is capable of much, much more such 5 | as compiling files multiple times to resolve changed labels, compiling 6 | dependencies, handling user packages and more. To get a feel for that, 7 | you will need to take a look at the Latex-Suite 8 | user manual. 9 |

10 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/finder.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | require 'command-t/ext' # CommandT::Matcher 25 | require 'command-t/scanner' 26 | 27 | module CommandT 28 | # Encapsulates a Scanner instance (which builds up a list of available files 29 | # in a directory) and a Matcher instance (which selects from that list based 30 | # on a search string). 31 | class Finder 32 | def initialize path = Dir.pwd, options = {} 33 | @scanner = Scanner.new path, options 34 | @matcher = Matcher.new @scanner, options 35 | end 36 | 37 | # Options: 38 | # :limit (integer): limit the number of returned matches 39 | def sorted_matches_for str, options = {} 40 | @matcher.sorted_matches_for str, options 41 | end 42 | 43 | def flush 44 | @scanner.flush 45 | end 46 | 47 | def path= path 48 | @scanner.path = path 49 | end 50 | end # class Finder 51 | end # CommandT 52 | -------------------------------------------------------------------------------- /.vim/indent/haskell.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Haskell 3 | " Author: motemen 4 | " Version: 0.1 5 | " Last Change: 2007-07-25 6 | " 7 | " Modify g:haskell_indent_if and g:haskell_indent_case to 8 | " change indentation for `if'(default 3) and `case'(default 5). 9 | " Example (in .vimrc): 10 | " > let g:haskell_indent_if = 2 11 | 12 | if exists('b:did_indent') 13 | finish 14 | endif 15 | 16 | let b:did_indent = 1 17 | 18 | if !exists('g:haskell_indent_if') 19 | " if bool 20 | " >>>then ... 21 | " >>>else ... 22 | let g:haskell_indent_if = 3 23 | endif 24 | 25 | if !exists('g:haskell_indent_case') 26 | " case xs of 27 | " >>>>>[] -> ... 28 | " >>>>>(y:ys) -> ... 29 | let g:haskell_indent_case = 5 30 | endif 31 | 32 | setlocal indentexpr=GetHaskellIndent() 33 | setlocal indentkeys=!^F,o,O 34 | 35 | function! GetHaskellIndent() 36 | let line = substitute(getline(getpos('.')[1] - 1), '\t', repeat(' ', &tabstop), 'g') 37 | 38 | if line =~ '[!#$%&*+./<=>?@\\^|~-]$\|\' 63 | let s = match(line, '\.*\&.*\zs\') 64 | if s > 0 65 | return s 66 | endif 67 | 68 | let s = match(line, '\') 69 | if s > 0 70 | return s + g:haskell_indent_if 71 | endif 72 | endif 73 | 74 | let s = match(line, '\ 0 76 | return s 77 | endif 78 | 79 | let s = match(line, '\') 80 | if s > 0 81 | return s + g:haskell_indent_case 82 | endif 83 | 84 | return match(line, '\S') 85 | endfunction 86 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/ruby_compat.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 2. Redistributions in binary form must reproduce the above copyright notice, 9 | // this list of conditions and the following disclaimer in the documentation 10 | // and/or other materials provided with the distribution. 11 | // 12 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | // POSSIBILITY OF SUCH DAMAGE. 23 | 24 | #include 25 | 26 | // for compatibility with older versions of Ruby which don't declare RSTRING_PTR 27 | #ifndef RSTRING_PTR 28 | #define RSTRING_PTR(s) (RSTRING(s)->ptr) 29 | #endif 30 | 31 | // for compatibility with older versions of Ruby which don't declare RSTRING_LEN 32 | #ifndef RSTRING_LEN 33 | #define RSTRING_LEN(s) (RSTRING(s)->len) 34 | #endif 35 | 36 | // for compatibility with older versions of Ruby which don't declare RARRAY_PTR 37 | #ifndef RARRAY_PTR 38 | #define RARRAY_PTR(a) (RARRAY(a)->ptr) 39 | #endif 40 | 41 | // for compatibility with older versions of Ruby which don't declare RARRAY_LEN 42 | #ifndef RARRAY_LEN 43 | #define RARRAY_LEN(a) (RARRAY(a)->len) 44 | #endif 45 | 46 | // for compatibility with older versions of Ruby which don't declare RFLOAT_VALUE 47 | #ifndef RFLOAT_VALUE 48 | #define RFLOAT_VALUE(f) (RFLOAT(f)->value) 49 | #endif 50 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-common.xsl: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 3 28 | 2 29 | 30 | 31 | 32 |
33 | 34 | 35 | 42 | 43 | 44 | 45 | 46 |
36 | 37 | 38 | 39 | 40 | 41 |
47 |
48 |
49 | 50 | 63 | 64 |
65 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/latex-suite-commands-maps.html: -------------------------------------------------------------------------------- 1 | 2 | 10 Latex-Suite Commands and Maps

10 Latex-Suite Commands and Maps

3 | This section describes the maps and commands used in Latex-Suite. It also 4 | describes a way to change the map sequences according to your 5 | preference. 6 |

7 | -------------------------------------------------------------------------------- /.vim/bundle/IndentAnything/plugin/test/IndentAnything/test.js: -------------------------------------------------------------------------------- 1 | // 2 | // Sample Javascript test code 3 | // 4 | if ( x ) 5 | x; 6 | x = { f + // foo 7 | q 8 | go 9 | } 10 | r + 11 | bar + call( foo + 12 | bar 13 | // foo 14 | then 15 | bar 16 | ) 17 | ntnth // TODO: this line should be at col 0 18 | 19 | foo = { 20 | at : the, 21 | bar : tender 22 | } 23 | 24 | 25 | r 26 | if (foo) 27 | // then 28 | // do something 29 | bar; 30 | yo; 31 | if (foo) 32 | { 33 | // 34 | // then do something 35 | bar; 36 | } 37 | if (bar) 38 | /* 39 | * Comment on something. Comment on something. Comment on something. 40 | * Comment on something. Comment on something. 41 | * 42 | */ 43 | yo; 44 | foo 45 | 46 | { 47 | line = getline() /* comment after code but spanning multiple lines seems to 48 | * work pretty well. 49 | */ 50 | foo 51 | } 52 | 53 | window.prototype.foo = { 54 | a : hole, 55 | dink : wad 56 | } 57 | 58 | document.getElementById( 59 | string); 60 | 61 | /* 62 | * : 63 | */ 64 | if (go()) // do it 65 | foo; 66 | while (false) /* never do it */ 67 | ; 68 | 69 | 70 | /*** 71 | * 72 | * blah 73 | */ 74 | 75 | 76 | switch (x) { 77 | case 'x': 78 | window.alert(x); 79 | break; 80 | default: 81 | break; 82 | } 83 | 84 | foo + 85 | //and + bar( 86 | //another 87 | ) 88 | r + 89 | bar + call( foo + 90 | bar 91 | // foo 92 | then 93 | bar 94 | ) 95 | foo 96 | 97 | 98 | 99 | { 100 | fuction foo() { 101 | /* comment */ 102 | foo(); 103 | } 104 | } 105 | 106 | 107 | /***************************************************************************** 108 | * 109 | * Known broken-ness: 110 | * 111 | */ 112 | 113 | if (yo) /* 114 | * dude 115 | * 116 | */ 117 | blah // this should be one level in 118 | 119 | // 120 | 121 | // 122 | 123 | if ( 124 | something) /* 125 | */ 126 | // 127 | // broken here. This should be one level back. But I'll argue (for now) that 128 | // the previous comment (which causes this) is bad style. 129 | // 130 | 131 | 132 | -------------------------------------------------------------------------------- /.vim/colors/Mustang.vim: -------------------------------------------------------------------------------- 1 | " Maintainer: Henrique C. Alves (hcarvalhoalves@gmail.com) 2 | " Version: 1.0 3 | " Last Change: September 25 2008 4 | 5 | set background=dark 6 | 7 | hi clear 8 | 9 | if exists("syntax_on") 10 | syntax reset 11 | endif 12 | 13 | let colors_name = "mustang" 14 | 15 | " Vim >= 7.0 specific colors 16 | if version >= 700 17 | hi CursorLine guibg=#2d2d2d ctermbg=236 18 | hi CursorColumn guibg=#2d2d2d ctermbg=236 19 | hi MatchParen guifg=#d0ffc0 guibg=#2f2f2f gui=bold ctermfg=157 ctermbg=237 cterm=bold 20 | hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238 21 | hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 22 | endif 23 | 24 | " General colors 25 | hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241 26 | hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234 27 | hi NonText guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=235 28 | hi LineNr guifg=#808080 guibg=#000000 gui=none ctermfg=244 ctermbg=232 29 | hi StatusLine guifg=#d3d3d5 guibg=#444444 gui=italic ctermfg=253 ctermbg=238 cterm=none 30 | hi StatusLineNC guifg=#939395 guibg=#444444 gui=none ctermfg=246 ctermbg=238 31 | hi VertSplit guifg=#444444 guibg=#444444 gui=none ctermfg=238 ctermbg=238 32 | hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248 33 | hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold 34 | hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 35 | hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236 36 | 37 | " Syntax highlighting 38 | hi Comment guifg=#808080 gui=italic ctermfg=244 39 | hi Todo guifg=#8f8f8f gui=none ctermfg=245 40 | hi Boolean guifg=#b1d631 gui=none ctermfg=148 41 | hi String guifg=#b1d631 gui=italic ctermfg=148 42 | hi Identifier guifg=#b1d631 gui=none ctermfg=148 43 | hi Function guifg=#ffffff gui=bold ctermfg=255 44 | hi Type guifg=#7e8aa2 gui=none ctermfg=103 45 | hi Statement guifg=#7e8aa2 gui=none ctermfg=103 46 | hi Keyword guifg=#ff9800 gui=none ctermfg=208 47 | hi Constant guifg=#ff9800 gui=none ctermfg=208 48 | hi Number guifg=#ff9800 gui=none ctermfg=208 49 | hi Special guifg=#ff9800 gui=none ctermfg=208 50 | hi PreProc guifg=#faf4c6 gui=none ctermfg=230 51 | hi Todo guifg=#000000 guibg=#e6ea50 gui=none 52 | 53 | " Code-specific colors 54 | hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103 55 | 56 | hi Search guifg=white guibg=NONE cterm=NONE gui=underline 57 | 58 | -------------------------------------------------------------------------------- /.vim/bundle/json/syntax/json.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: JSON 3 | " Maintainer: Jeroen Ruigrok van der Werven 4 | " Last Change: 2009-06-16 5 | " Version: 0.4 6 | " {{{1 7 | 8 | " Syntax setup {{{2 9 | " For version 5.x: Clear all syntax items 10 | " For version 6.x: Quit when a syntax file was already loaded 11 | 12 | if !exists("main_syntax") 13 | if version < 600 14 | syntax clear 15 | elseif exists("b:current_syntax") 16 | finish 17 | endif 18 | let main_syntax = 'json' 19 | endif 20 | 21 | " Syntax: Strings {{{2 22 | syn region jsonString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=jsonEscape 23 | " Syntax: JSON does not allow strings with single quotes, unlike JavaScript. 24 | syn region jsonStringSQ start=+'+ skip=+\\\\\|\\"+ end=+'+ 25 | 26 | " Syntax: Escape sequences {{{3 27 | syn match jsonEscape "\\["\\/bfnrt]" contained 28 | syn match jsonEscape "\\u\x\{4}" contained 29 | 30 | " Syntax: Strings should always be enclosed with quotes. 31 | syn match jsonNoQuotes "\<\a\+\>" 32 | 33 | " Syntax: Numbers {{{2 34 | syn match jsonNumber "-\=\<\%(0\|[1-9]\d*\)\%(\.\d\+\)\=\%([eE][-+]\=\d\+\)\=\>" 35 | 36 | " Syntax: An integer part of 0 followed by other digits is not allowed. 37 | syn match jsonNumError "-\=\<0\d\.\d*\>" 38 | 39 | " Syntax: Boolean {{{2 40 | syn keyword jsonBoolean true false 41 | 42 | " Syntax: Null {{{2 43 | syn keyword jsonNull null 44 | 45 | " Syntax: Braces {{{2 46 | syn match jsonBraces "[{}\[\]]" 47 | 48 | " Define the default highlighting. {{{1 49 | " For version 5.7 and earlier: only when not done already 50 | " For version 5.8 and later: only when an item doesn't have highlighting yet 51 | if version >= 508 || !exists("did_json_syn_inits") 52 | if version < 508 53 | let did_json_syn_inits = 1 54 | command -nargs=+ HiLink hi link 55 | else 56 | command -nargs=+ HiLink hi def link 57 | endif 58 | HiLink jsonString String 59 | HiLink jsonEscape Special 60 | HiLink jsonNumber Number 61 | HiLink jsonBraces Operator 62 | HiLink jsonNull Function 63 | HiLink jsonBoolean Boolean 64 | 65 | HiLink jsonNumError Error 66 | HiLink jsonStringSQ Error 67 | HiLink jsonNoQuotes Error 68 | delcommand HiLink 69 | endif 70 | 71 | let b:current_syntax = "json" 72 | if main_syntax == 'json' 73 | unlet main_syntax 74 | endif 75 | 76 | " Vim settings {{{2 77 | " vim: ts=8 fdm=marker 78 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/amsmath: -------------------------------------------------------------------------------- 1 | if exists("amsmath_package_file") 2 | finish 3 | endif 4 | let amsmath_package_file = 1 5 | 6 | let g:TeX_package_option_amsmath = 7 | \ 'centertags,' 8 | \.'tbtags,' 9 | \.'sumlimits,' 10 | \.'nosumlimits,' 11 | \.'intlimits,' 12 | \.'nointlimits,' 13 | \.'namelimits,' 14 | \.'nonamelimits,' 15 | \.'leqno,' 16 | \.'reqno,' 17 | \.'fleqno' 18 | 19 | let g:TeX_package_amsmath = 20 | \ 'sbr:Environments,' 21 | \.'env:equation,' 22 | \.'env:equation*,' 23 | \.'env:align,' 24 | \.'env:align*,' 25 | \.'env:gather,' 26 | \.'env:gather*,' 27 | \.'env:flalign,' 28 | \.'env:flalign*,' 29 | \.'env:multline,' 30 | \.'env:multline*,' 31 | \.'ens:alignat:{<+arg1+>}{<+arg2+>},' 32 | \.'env:alignat,' 33 | \.'ens:alignat*:{<+arg1+>}{<+arg2+>},,' 34 | \.'env:alignat*,' 35 | \.'env:subequations,' 36 | \.'env:subarray,' 37 | \.'env:split,' 38 | \.'env:cases,' 39 | \.'sbr:Matrices,' 40 | \.'env:matrix,' 41 | \.'env:pmatrix,' 42 | \.'env:bmatrix,' 43 | \.'env:Bmatrix,' 44 | \.'env:vmatrix,' 45 | \.'env:Vmatrix,' 46 | \.'env:smallmatrix,' 47 | \.'bra:hdotsfor,' 48 | \.'sbr:Dots,' 49 | \.'dotsc,' 50 | \.'dotsb,' 51 | \.'dotsm,' 52 | \.'dotsi,' 53 | \.'dotso,' 54 | \.'sbr:ItalicGreek,' 55 | \.'nor:varGamma,' 56 | \.'nor:varDelta,' 57 | \.'nor:varTheta,' 58 | \.'nor:varLambda,' 59 | \.'nor:varXi,' 60 | \.'nor:varPi,' 61 | \.'nor:varSigma,' 62 | \.'nor:varUpsilon,' 63 | \.'nor:varPhi,' 64 | \.'nor:varPsi,' 65 | \.'nor:varOmega,' 66 | \.'sbr:Mod,' 67 | \.'nor:mod,' 68 | \.'nor:bmod,' 69 | \.'nor:pmod,' 70 | \.'nor:pod,' 71 | \.'sbr:CreatingSymbols,' 72 | \.'brd:overset,' 73 | \.'brd:underset,' 74 | \.'brd:sideset,' 75 | \.'sbr:Fractions,' 76 | \.'brd:frac,' 77 | \.'brd:dfrac,' 78 | \.'brd:tfrac,' 79 | \.'brd:cfrac,' 80 | \.'brd:binom,' 81 | \.'brd:dbinom,' 82 | \.'brd:tbinom,' 83 | \.'brs:genfrac{<+ldelim+>}{<+rdelim+>}{<+thick+>}{<+style+>}{<+numer+>}{<+denom+>},' 84 | \.'sbr:Commands,' 85 | \.'nob:smash,' 86 | \.'bra:substack,' 87 | \.'bra:tag,' 88 | \.'bra:tag*,' 89 | \.'nor:notag,' 90 | \.'bra:raisetag,' 91 | \.'bra:shoveleft,' 92 | \.'bra:shoveright,' 93 | \.'bra:intertext,' 94 | \.'bra:text,' 95 | \.'nor:displaybreak,' 96 | \.'noo:displaybreak,' 97 | \.'noo:allowdisplaybreaks,' 98 | \.'nor:nobreakdash,' 99 | \.'brs:numberwithin{<+env+>}{<+parent+>},' 100 | \.'bra:leftroot,' 101 | \.'bra:uproot,' 102 | \.'bra:boxed,' 103 | \.'brs:DeclareMathSymbol{<++>}{<++>}{<++>}{<++>},' 104 | \.'bra:eqref' 105 | 106 | " vim:ft=vim:ff=unix: 107 | -------------------------------------------------------------------------------- /.vim/vimrc: -------------------------------------------------------------------------------- 1 | 2 | " Basics 3 | set nocompatible 4 | filetype off 5 | call pathogen#runtime_append_all_bundles() 6 | set ignorecase smartcase 7 | set virtualedit=all 8 | set textwidth=75 9 | set formatoptions=qrn1 10 | syntax enable 11 | filetype plugin on 12 | filetype plugin indent on 13 | set backup 14 | set hidden 15 | set ttyfast 16 | set autochdir 17 | set writebackup 18 | set undofile 19 | set backupdir=~/Documents/backups/ 20 | set shortmess=aOstT 21 | set backspace=start,eol,indent 22 | set directory=~/.tmp/ 23 | 24 | " Indent 25 | set autoindent 26 | set tabstop=2 27 | set shiftwidth=2 28 | set expandtab 29 | set smartindent 30 | 31 | " Display 32 | set incsearch 33 | set nowrap 34 | set scrolloff=3 35 | set sidescroll=10 36 | set hlsearch 37 | set gdefault 38 | set noerrorbells 39 | "set visualbell t_vb= 40 | set novisualbell 41 | set showcmd 42 | set showmode 43 | set ruler 44 | set number 45 | set shiftround 46 | set showmatch 47 | set relativenumber 48 | 49 | 50 | " Statusline 51 | set laststatus=2 52 | set statusline=%n " buffer number 53 | set statusline+=\ %-t " tail of filename 54 | set statusline+=\ [%{strlen(&fenc)?&fenc:'none'}, " file encoding 55 | set statusline+=\ %{&ff}] " file format 56 | set statusline+=\ %m%r%h%w%y " flags 57 | set statusline+=\ [%l,%v:%L] " line:column 58 | set statusline+=\ %P " percent 59 | 60 | " GUI 61 | if has("gui_running") 62 | "set transp=8 63 | set gfn=Inconsolata\ Medium\ 9 64 | set anti 65 | "set fuoptions=maxvert,maxhorz 66 | endif 67 | 68 | set cursorline 69 | colorscheme zenburn 70 | 71 | " Folding 72 | set foldenable 73 | set foldmethod=syntax 74 | set foldlevel=100 75 | 76 | " Plugins 77 | set wildmenu 78 | let b:delimitMate_expand_cr = 1 79 | let b:delimitMate_expand_space = 1 80 | let g:SuperTabDefaultCompletionType = 'context' 81 | let g:tex_flavor='latex' 82 | set grepprg=egrep\ -nH\ $* 83 | 84 | " Mappings 85 | let mapleader = "," 86 | noremap 87 | noremap 88 | nnoremap :TlistToggle 89 | nnoremap / /\v 90 | vnoremap / /\v 91 | nnoremap % 92 | vnoremap % 93 | inoremap 94 | nnoremap 95 | vnoremap 96 | nnoremap ; : 97 | nnoremap :noh 98 | nnoremap , :TlistToggle 99 | inoremap jj 100 | 101 | autocmd BufRead,BufNewFile *.lisp,*.cl,*.clj runtime plugin/rainbowparen.vim 102 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/default-folding.html: -------------------------------------------------------------------------------- 1 | 2 | 8.1 Default Folding Scheme in Latex-Suite

8.1 Default Folding Scheme in Latex-Suite

3 | By default Latex-Suite creates folds in the following manner: 4 |

\chapter
 5 | \section
 6 | %%fakesection
 7 |     \subsection
 8 |         \subsubsection
 9 |             \item
10 |                 \equation
11 |                 \eqnarray
12 |                 \figure
13 |                 \table
14 |                 \footnote

15 | The indentation shows the "nestedness" of the folding scheme. 16 | See the next section to 17 | see how you can change this scheme. 18 |

19 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ftplugin/latex-suite/packages/babel: -------------------------------------------------------------------------------- 1 | if exists("babel_package_file") 2 | finish 3 | endif 4 | let babel_package_file = 1 5 | 6 | " This package sets some language specific options. 7 | " Since it needs to find out which options the user used with the babel 8 | " package, it needs to wait till latex-suite is done scanning packages. It 9 | " then catches the LatexSuiteScannedPackages event which 10 | " Tex_pack_updateall() throws at which time g:Tex_pack_detected and 11 | " g:Tex_babel_options contain the necessary information. 12 | 13 | let g:TeX_package_option_babel = 14 | \ 'afrikaans,' 15 | \.'bahasa,' 16 | \.'basque,' 17 | \.'breton,' 18 | \.'bulgarian,' 19 | \.'catalan,' 20 | \.'croatian,' 21 | \.'chech,' 22 | \.'danish,' 23 | \.'dutch,' 24 | \.'english,USenglish,american,UKenglish,british,canadian,' 25 | \.'esperanto,' 26 | \.'estonian,' 27 | \.'finnish,' 28 | \.'french,francais,canadien,acadian,' 29 | \.'galician,' 30 | \.'austrian,german,germanb,ngerman,naustrian,' 31 | \.'greek,polutonikogreek,' 32 | \.'hebrew,' 33 | \.'magyar,hungarian,' 34 | \.'icelandic,' 35 | \.'irish,' 36 | \.'italian,' 37 | \.'latin,' 38 | \.'lowersorbian,' 39 | \.'samin,' 40 | \.'norsk,nynorsk,' 41 | \.'polish,' 42 | \.'portuges,portuguese,brazilian,brazil,' 43 | \.'romanian,' 44 | \.'russian,' 45 | \.'scottish,' 46 | \.'spanish,' 47 | \.'slovak,' 48 | \.'slovene,' 49 | \.'swedish,' 50 | \.'serbian,' 51 | \.'turkish,' 52 | \.'ukrainian,' 53 | \.'uppersorbian,' 54 | \.'welsh' 55 | 56 | let g:TeX_package_babel = 57 | \ 'bra:selectlanguage,' 58 | \.'env:otherlanguage,' 59 | \.'env:otherlanguage*,' 60 | \.'env:hyphenrules,' 61 | \.'brd:foreignlanguage,' 62 | \.'spe:iflanguage{<+name+>}{<+true+>}{<+false+>},' 63 | \.'languagename,' 64 | \.'bra:useshorthands,' 65 | \.'brd:defineshorthand,' 66 | \.'brd:aliasshorthand,' 67 | \.'bra:languageshorthans,' 68 | \.'bra:shorthandon,' 69 | \.'bra:shorthandoff,' 70 | \.'brd:languageattribute' 71 | 72 | " vim:ft=vim:ff=unix: 73 | if exists('s:doneOnce') 74 | finish 75 | endif 76 | let s:doneOnce = 1 77 | 78 | augroup LatexSuite 79 | au LatexSuite User LatexSuiteScannedPackages 80 | \ call Tex_Debug('babel: catching LatexSuiteScannedPackages event') | 81 | \ call s:SetQuotes() 82 | augroup END 83 | 84 | let s:path = expand(':p:h') 85 | 86 | " SetQuotes: sets quotes for various languages {{{ 87 | " Description: 88 | function! SetQuotes() 89 | if g:Tex_package_detected =~ '\' 90 | if g:Tex_babel_options =~ '\' 91 | exec 'so '.s:path.'/german' 92 | elseif g:Tex_babel_options =~ '\' 93 | exec 'so '.s:path.'/ngerman' 94 | endif 95 | endif 96 | endfunction " }}} 97 | 98 | " vim:ft=vim:ff=unix: 99 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/latex-project-settings.html: -------------------------------------------------------------------------------- 1 | 2 | 9.1 Latex-Suite project settings

9.1 Latex-Suite project settings

3 | If a master file is found, 4 | then Latex-Suite :sources the file. Thus this file needs to 5 | contain valid Vim commands. This file is typically used to store 6 | project specific settings. 7 |

8 | Some typical per-project settings which are best put in the master file 9 | are 10 |

Tex_ProjectSourceFiles

11 |

12 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/greek-letter-mappings.html: -------------------------------------------------------------------------------- 1 | 2 | 3.5 Greek Letter Mappings

3.5 Greek Letter Mappings

3 | Lower case 4 |

`a through `z expand to 5 | \alpha through \zeta. 6 |

7 | Upper case: 8 |

`D = \Delta
 9 | `F = \Phi
10 | `G = \Gamma
11 | `Q = \Theta
12 | `L = \Lambda
13 | `X = \Xi
14 | `Y = \Psi
15 | `S = \Sigma
16 | `U = \Upsilon
17 | `W = \Omega

Note

LaTeX does not support upper case for all greek alphabets.

Just like other Latex-Suite mappings, these mappings are not created using 18 | the standard imap command. Thus you can type slowly, 19 | correct using <BS> etc.

20 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/ltags: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Author: Dimitri Antoniou 3 | # usage: ltags filename 4 | # handles: \label and \cite{ } with one or more arguments 5 | # fails if arguments of cite spread over more than one line 6 | # also searches in files that are \include or \input in the main file 7 | 8 | # get main LaTeX source file from command line: 9 | $mainfile = shift; 10 | 11 | # get names of included files and store them in an array 12 | open MAIN, $mainfile or die "$!" ; 13 | @mainfile=
; 14 | @allsrcfiles = map{ /^\\(?:input|include){(.*?)}/ } @mainfile; 15 | unshift @allsrcfiles, $mainfile; 16 | 17 | # loop over all source files 18 | for $srcfile (@allsrcfiles) { 19 | # if \input{fname} append .tex to fname 20 | unless ( $srcfile =~ m/\.tex/ ) { $srcfile = $srcfile . "\.tex" } 21 | open SRC, $srcfile or die "$!" ; 22 | # store contents of source file in array @texfile 23 | @texfile=; 24 | 25 | # store lines with \label and \cite (or \citeonline) in arrays 26 | @labelList = grep{ /\\label{/ } @texfile; 27 | @citeList = grep{ /\\(cite|citeonline){/ } @texfile; 28 | 29 | # see if we use an external database; if yes, store its name in $bibfile 30 | ($dbase) = grep{ /^\\bibliography{/ } @texfile; 31 | if ($dbase) { 32 | $dbase =~ m/\\bibliography{(.*?)}/; 33 | $bibfile = $1; 34 | } 35 | 36 | # write \bibitem in tags file 37 | @mrefs=(); 38 | @refs=(); 39 | @multirefs=(); 40 | foreach (@citeList) { 41 | while ( m/\\(?:cite|citeonline){(.*?)}/g ) { 42 | $refs = $1; 43 | # if \cite has more than one argument, split them: 44 | if ($refs =~ /,/) { 45 | @mrefs = split /,/, $refs; 46 | # there might be more than one \cite in a line: 47 | push (@multirefs, @mrefs); 48 | } 49 | else { 50 | @refs = ($refs); 51 | push (@multirefs, @refs); 52 | } 53 | } 54 | # in BibTeX, format is @ARTICLE{Name, }; in source file, \bibitem{Name} 55 | for $ref (@multirefs) { 56 | if ( $dbase ) { 57 | push @unsorttag, "$ref\t$bibfile\t/{$ref,/\n" 58 | } 59 | else { 60 | push @unsorttag, "$ref\t$srcfile\t/bibitem{$ref}/\n" 61 | } 62 | } 63 | } 64 | 65 | # write \label in tag file 66 | foreach (@labelList) { 67 | m/\\label{(.*?)}/; 68 | push @unsorttag, "$1\t$srcfile\t/label{$1}/\n"; 69 | } 70 | } 71 | 72 | # sort tag file; then, eliminate duplicates 73 | @sortedtag = sort @unsorttag; 74 | %seen = (); 75 | @uniqtag = grep { ! $seen{$_} ++ } @sortedtag; 76 | 77 | open(TAGS, "> tags"); 78 | print TAGS @uniqtag; 79 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart/lsq-viewing-dvi.html: -------------------------------------------------------------------------------- 1 | 2 | 9 Viewing DVI files

9 Viewing DVI files

3 | Now that you have compiled your first latex source, its time to 4 | view it. Again, this should be pretty simple. Press 5 | \lv in normal mode. Depending on your platform, a DVI 6 | viewer program should open up and display the dvi file generated in 7 | compilation step previously. 8 |

9 | Nothing happend? Ouch! You might need to do some additional settings as 10 | described here. 11 |

12 | -------------------------------------------------------------------------------- /.vim/autoload/repeat.vim: -------------------------------------------------------------------------------- 1 | " repeat.vim - Let the repeat command repeat plugin maps 2 | " Maintainer: Tim Pope 3 | " Version: 1.0 4 | 5 | " Installation: 6 | " Place in either ~/.vim/plugin/repeat.vim (to load at start up) or 7 | " ~/.vim/autoload/repeat.vim (to load automatically as needed). 8 | " 9 | " Developers: 10 | " Basic usage is as follows: 11 | " 12 | " silent! call repeat#set("\MappingToRepeatCommand",3) 13 | " 14 | " The first argument is the mapping that will be invoked when the |.| key is 15 | " pressed. Typically, it will be the same as the mapping the user invoked. 16 | " This sequence will be stuffed into the input queue literally. Thus you must 17 | " encode special keys by prefixing them with a backslash inside double quotes. 18 | " 19 | " The second argument is the default count. This is the number that will be 20 | " prefixed to the mapping if no explicit numeric argument was given. The 21 | " value of the v:count variable is usually correct and it will be used if the 22 | " second parameter is omitted. If your mapping doesn't accept a numeric 23 | " argument and you never want to receive one, pass a value of -1. 24 | " 25 | " Make sure to call the repeat#set function _after_ making changes to the 26 | " file. 27 | 28 | if exists("g:loaded_repeat") || &cp || v:version < 700 29 | finish 30 | endif 31 | let g:loaded_repeat = 1 32 | 33 | let g:repeat_tick = -1 34 | 35 | function! repeat#set(sequence,...) 36 | silent exe "norm! \"=''\p" 37 | let g:repeat_sequence = a:sequence 38 | let g:repeat_count = a:0 ? a:1 : v:count 39 | let g:repeat_tick = b:changedtick 40 | endfunction 41 | 42 | function! s:repeat(count) 43 | if g:repeat_tick == b:changedtick 44 | let c = g:repeat_count 45 | let s = g:repeat_sequence 46 | let cnt = c == -1 ? "" : (a:count ? a:count : (c ? c : '')) 47 | call feedkeys(cnt . s) 48 | else 49 | call feedkeys((a:count ? a:count : '') . '.', 'n') 50 | endif 51 | endfunction 52 | 53 | function! s:wrap(command,count) 54 | let preserve = (g:repeat_tick == b:changedtick) 55 | exe 'norm! '.(a:count ? a:count : '').a:command 56 | if preserve 57 | let g:repeat_tick = b:changedtick 58 | endif 59 | endfunction 60 | 61 | nnoremap . :call repeat(v:count) 62 | nnoremap u :call wrap('u',v:count) 63 | nnoremap U :call wrap('U',v:count) 64 | nnoremap :call wrap("\C-R>",v:count) 65 | 66 | augroup repeatPlugin 67 | autocmd! 68 | autocmd BufLeave,BufWritePre,BufReadPre * let g:repeat_tick = (g:repeat_tick == b:changedtick || g:repeat_tick == 0) ? 0 : -1 69 | autocmd BufEnter,BufWritePost * if g:repeat_tick == 0|let g:repeat_tick = b:changedtick|endif 70 | augroup END 71 | 72 | " vim:set ft=vim et sw=4 sts=4: 73 | -------------------------------------------------------------------------------- /.vim/bundle/factor/README: -------------------------------------------------------------------------------- 1 | Vim support for Factor 2 | ---------------------- 3 | 4 | This directory contains various support files that make editing Factor code 5 | more pleasant in Vim. The file-layout exactly matches the Vim runtime 6 | structure, so you can install them by copying the contents of this directory 7 | into ~/.vim/ or the equivalent path on other platforms (Open Vim and type 8 | ":help 'runtimepath'" for details). 9 | 10 | The current set of files is as follows: 11 | 12 | ftdetect/factor.vim 13 | Teach Vim when to load Factor support files. 14 | ftplugin/factor_settings.vim 15 | Teach Vim to follow the Factor Coding Style guidelines. 16 | plugin/factor.vim 17 | Teach Vim some commands for navigating Factor source code. See below. 18 | syntax/factor.vim 19 | Syntax highlighting for Factor code. 20 | 21 | The "plugin/factor.vim" file implements the following commands for 22 | navigating Factor source: 23 | 24 | :FactorVocab factor.vocab.name 25 | Opens the source file implementing the "factor.vocab.name" 26 | vocabulary. 27 | :NewFactorVocab factor.vocab.name 28 | Creates a new factor vocabulary under the working vocabulary root. 29 | :FactorVocabImpl 30 | Opens the main implementation file for the current vocabulary 31 | (name.factor). The keyboard shortcut "\fi" is bound to this 32 | command. 33 | :FactorVocabDocs 34 | Opens the documentation file for the current vocabulary 35 | (name-docs.factor). The keyboard shortcut "\fd" is bound to this 36 | command. 37 | :FactorVocabTests 38 | Opens the unit test file for the current vocabulary 39 | (name-tests.factor). The keyboard shortcut "\ft" is bound to this 40 | command. 41 | 42 | In order for the ":FactorVocab" command to work, you'll need to set some 43 | variables in your vimrc file: 44 | g:FactorRoot 45 | This variable should be set to the root of your Factor 46 | installation. The default value is "~/factor". 47 | g:FactorVocabRoots 48 | This variable should be set to a list of Factor vocabulary roots. 49 | The paths may be either relative to g:FactorRoot or absolute paths. 50 | The default value is ["core", "basis", "extra", "work"]. 51 | g:FactorNewVocabRoot 52 | This variable should be set to the vocabulary root in which 53 | vocabularies created with NewFactorVocab should be created. The 54 | default value is "work". 55 | 56 | Note: The syntax-highlighting file is automatically generated to include the 57 | names of all the vocabularies Factor knows about. To regenerate it manually, 58 | run the following code in the listener: 59 | 60 | "editors.vim.generate-syntax" run 61 | 62 | ...or run it from the command line: 63 | 64 | factor -run=editors.vim.generate-syntax 65 | -------------------------------------------------------------------------------- /.vim/bundle/lilypond/syntax/lilypond.vim: -------------------------------------------------------------------------------- 1 | " LilyPond syntax file 2 | " Language: LilyPond 3 | " Maintainer: Heikki Junes 4 | " Created: Oct 17, 2002 5 | " Last Change: Sep 23, 2003 6 | " Version: 6.1-1 7 | " 8 | " Installed As: vim/syntax/lilypond.vim 9 | " Uses Generated File: vim/syntax/lilypond-words.vim 10 | " 11 | " For version 5.x: Clear all syntax items 12 | " For version 6.x: Quit when a syntax file was already loaded 13 | if version < 600 14 | syntax clear 15 | elseif exists("b:current_syntax") 16 | finish 17 | endif 18 | 19 | " Read the LilyPond syntax match groups: 20 | " lilyKeyword, lilyReservedWord, lilyNote 21 | if version < 600 22 | so :p:h/lilypond-words.vim 23 | else 24 | runtime! syntax/lilypond-words.vim 25 | if exists("b:current_syntax") 26 | unlet b:current_syntax 27 | endif 28 | endif 29 | 30 | " Match also parethesis of angle type 31 | setlocal mps+=<:> 32 | 33 | " Case matters 34 | syn case match 35 | 36 | syn cluster lilyMatchGroup contains=lilyMatcher,lilyString,lilyComment,lilyStatement,lilyNumber,lilyEquation,lilySlur,lilySpecial,lilyNote,lilyKeyword,lilyArticulation,lilyReservedWord 37 | 38 | syn region lilyMatcher matchgroup=Delimiter start="{" skip="\\\\\|\\[<>]" end="}" contains=@lilyMatchGroup fold 39 | syn region lilyMatcher matchgroup=Delimiter start="\[" end="]" contains=@lilyMatchGroup fold 40 | syn region lilyMatcher matchgroup=Delimiter start="<" skip="\\\\\|\\[{<>}]" end=">" contains=@lilyMatchGroup fold 41 | 42 | syn region lilyString start=/"/ end=/"/ skip=/\\"/ 43 | syn region lilyComment start="%{" skip="%$" end="%}" 44 | syn region lilyComment start="%\([^{]\|$\)" end="$" 45 | 46 | syn match lilyNumber "[-_^.]\?\d\+[.]\?" 47 | syn match lilyEquation "\(#['`]\)\?\(\a*[-]\)*\a*\s*=\s*\(#[#'`]\?\)\?\a*" 48 | syn match lilySlur "[(~)]" 49 | syn match lilySlur "\\[()]" 50 | syn match lilySpecial "\\[\\]" 51 | " avoid highlighting the extra character in situations like 52 | " c--\mf c^^\mf c__\mf 53 | syn match lilyArticulation "[-_^][-_^+|>.]" 54 | 55 | " Rest of syntax highlighting rules start here 56 | " 57 | " " Define the default highlighting. 58 | " " For version 5.7 and earlier: only when not done already 59 | " " For version 5.8 and later: only when an item doesn't have highlighting yet 60 | if version >= 508 || !exists("did_lily_syn_inits") 61 | if version < 508 62 | let did_lily_syn_inits = 1 63 | command -nargs=+ HiLink hi link 64 | else 65 | command -nargs=+ HiLink hi def link 66 | endif 67 | 68 | HiLink Delimiter Identifier 69 | 70 | HiLink lilyString String 71 | HiLink lilyComment Comment 72 | 73 | HiLink lilyNote Identifier 74 | HiLink lilyArticulation PreProc 75 | HiLink lilyKeyword Keyword 76 | HiLink lilyReservedWord Type 77 | 78 | HiLink lilyNumber Constant 79 | HiLink lilySpecial Special 80 | HiLink lilySlur ModeMsg 81 | 82 | delcommand HiLink 83 | endif 84 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/font-maps.html: -------------------------------------------------------------------------------- 1 | 2 | 3.3 Font Mappings

3.3 Font Mappings

3 | These mappings insert font descriptions such as: 4 | \textsf{<++>}<++> 5 | with the cursor left in place of the first placeholder (the <++> characters). 6 |

7 | Mnemonic: 8 |

  1. first letter is always F (F for font)
  2. next 2 letters are the 2 letters describing the font.

9 |

10 | Example: Typing FEM in insert-mode expands to 11 | \emph{<++>}<++>. 12 |

13 | Just like environment mappings, you can visually select an area and press 14 | `sf to have it enclosed in: 15 | \textsf{word} 16 | or 17 |

{\sffamily
18 | line
19 | }

20 | depending on character-wise or line-wise selection. 21 |

22 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/settings.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | module CommandT 25 | # Convenience class for saving and restoring global settings. 26 | class Settings 27 | def initialize 28 | save 29 | end 30 | 31 | def save 32 | @timeoutlen = get_number 'timeoutlen' 33 | @report = get_number 'report' 34 | @sidescroll = get_number 'sidescroll' 35 | @sidescrolloff = get_number 'sidescrolloff' 36 | @equalalways = get_bool 'equalalways' 37 | @hlsearch = get_bool 'hlsearch' 38 | @insertmode = get_bool 'insertmode' 39 | @showcmd = get_bool 'showcmd' 40 | end 41 | 42 | def restore 43 | set_number 'timeoutlen', @timeoutlen 44 | set_number 'report', @report 45 | set_number 'sidescroll', @sidescroll 46 | set_number 'sidescrolloff', @sidescrolloff 47 | set_bool 'equalalways', @equalalways 48 | set_bool 'hlsearch', @hlsearch 49 | set_bool 'insertmode', @insertmode 50 | set_bool 'showcmd', @showcmd 51 | end 52 | 53 | private 54 | 55 | def get_number setting 56 | ::VIM::evaluate("&#{setting}").to_i 57 | end 58 | 59 | def get_bool setting 60 | ::VIM::evaluate("&#{setting}").to_i == 1 61 | end 62 | 63 | def set_number setting, value 64 | ::VIM::set_option "#{setting}=#{value}" 65 | end 66 | 67 | def set_bool setting, value 68 | if value 69 | ::VIM::set_option setting 70 | else 71 | ::VIM::set_option "no#{setting}" 72 | end 73 | end 74 | end # class Settings 75 | end # module CommandT 76 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/ruby/command-t/ext.c: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 2. Redistributions in binary form must reproduce the above copyright notice, 9 | // this list of conditions and the following disclaimer in the documentation 10 | // and/or other materials provided with the distribution. 11 | // 12 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | // POSSIBILITY OF SUCH DAMAGE. 23 | 24 | #include "match.h" 25 | #include "matcher.h" 26 | 27 | VALUE mCommandT = 0; // module CommandT 28 | VALUE cCommandTMatch = 0; // class CommandT::Match 29 | VALUE cCommandTMatcher = 0; // class CommandT::Matcher 30 | 31 | VALUE CommandT_option_from_hash(const char *option, VALUE hash) 32 | { 33 | if (NIL_P(hash)) 34 | return Qnil; 35 | VALUE key = ID2SYM(rb_intern(option)); 36 | if (rb_funcall(hash, rb_intern("has_key?"), 1, key) == Qtrue) 37 | return rb_hash_aref(hash, key); 38 | else 39 | return Qnil; 40 | } 41 | 42 | void Init_ext() 43 | { 44 | // module CommandT 45 | mCommandT = rb_define_module("CommandT"); 46 | 47 | // class CommandT::Match 48 | cCommandTMatch = rb_define_class_under(mCommandT, "Match", rb_cObject); 49 | 50 | // methods 51 | rb_define_method(cCommandTMatch, "initialize", CommandTMatch_initialize, -1); 52 | rb_define_method(cCommandTMatch, "matches?", CommandTMatch_matches, 0); 53 | rb_define_method(cCommandTMatch, "to_s", CommandTMatch_to_s, 0); 54 | 55 | // attributes 56 | rb_define_attr(cCommandTMatch, "score", Qtrue, Qfalse); // reader: true, writer: false 57 | 58 | // class CommandT::Matcher 59 | cCommandTMatcher = rb_define_class_under(mCommandT, "Matcher", rb_cObject); 60 | 61 | // methods 62 | rb_define_method(cCommandTMatcher, "initialize", CommandTMatcher_initialize, -1); 63 | rb_define_method(cCommandTMatcher, "sorted_matches_for", CommandTMatcher_sorted_matchers_for, 2); 64 | rb_define_method(cCommandTMatcher, "matches_for", CommandTMatcher_matches_for, 1); 65 | } 66 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart/lsq-insert-environment.html: -------------------------------------------------------------------------------- 1 | 2 | 4 Inserting an Environment

4 Inserting an Environment

3 | Now let us type in a simple formula in LaTeX. Move back to the body of 4 | the document (The portion of the document between 5 | \begin{document} and 6 | \end{document} is called the body). Type in a few 7 | simple sentences and then on an empty line, type the single word 8 | eqnarray. Escape to normal mode and press 9 | <F5>. (Remember: 10 | <F5> is very useful!) This time, the line will 11 | change to: 12 |

\begin{eqnarray}
13 |     \label{}<++>
14 | \end{eqnarray}<++>

15 | with the cursor between the {}. Enter a label. We 16 | will use eqn:euler. After typing in 17 | eqn:euler, press <C-j>. This 18 | will take you outside the curly-braces. Another time you used a 19 | Placeholder! 20 |

21 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart/lsq-using-tutorial.html: -------------------------------------------------------------------------------- 1 | 2 | 1 Using this tutorial

1 Using this tutorial

3 | This tutorial assumes that you have vim version 6.1+ installed on your 4 | machine. To check, open vim and type 5 |

:ver

6 | You will see the version in the first line of the output. Get the latest 7 | vim version from http://vim.sf.net. 8 |

9 | Assuming you have Vim 6.1+ already up and running, follow the 10 | instructions here 11 | to set up Latex-Suite. Remember to make sure your 12 | 'grepprg' setting of Vim works. 13 |

14 | Good, now you are all set to start the tutorial. Since this tutorial 15 | aims to explain the newbie-friendly version of Latex-Suite, it needs some GUI 16 | functionality. Therefore, at least for this tutorial, open the gui 17 | version of vim. (On MS windows, this is the default). Open up this help 18 | file in either the same gvim session in a split window or in a different 19 | session and follow the (friendly) instructions. 20 |

21 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/diacritic-mappings.html: -------------------------------------------------------------------------------- 1 | 2 | 3.7 Diacritics

3.7 Diacritics

3 | These mappings speed up typing European languages which contain diacritic 4 | characters such as a-umlaut etc. 5 |

+<l>     expands to \v{<l>}
 6 | =<l>     expands to \'{<l>}

7 | where <l> is an alphabet. 8 |

+}       expands to \"{a}
 9 | +:       expands to \^{o}

10 | Latex-Suite also ships with smart 11 | backspacing functionality which provides another convenience while 12 | editing languages with diacritics. 13 |

Note

Diacritics are disabled by default in Latex-Suite because they can 14 | sometimes be a little too intrusive. Moreover, most European users can 15 | nowadays use font encodings which display diacritic characters directly 16 | instead of having to rely on Latex-Suite's method of displaying diacritics.

Set the g:Tex_Diacritics 17 | variable to enable diacritics.

18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/section-mappings.html: -------------------------------------------------------------------------------- 1 | 2 | 3.4 Section Mappings

3.4 Section Mappings

3 | These maps insert LaTeX sections such as: 4 |

\section{<++>}<++>

5 | etc. Just as in the case of environments and fonts, can be enclosed with a 6 | visual selection. The enclosing is not sensitive to character or line-wise 7 | selection. 8 |

9 | Mnemonic: (make your own!) 10 |

SPA for part
11 | SCH for chapter
12 | SSE for section
13 | SSS for subsection
14 | SS2 for subsubsection
15 | SPG for paragraph
16 | SSP for subparagraph

17 |

18 | Example: 19 | SSE in insert mode inserts 20 |

\section{<++>}<++>

21 | If you select a word or line and press ,se, then you 22 | get 23 |

\section{section name}

24 | The menu item in Tex-Environments.Sections have a sub-menu called 25 | 'Advanced'. Choosing an item from this sub-menu asks a couple of questions 26 | (whether you want to include the section in the table of contents, whether 27 | there is a shorter name for the table of contents) and then creates a more 28 | intelligent template. 29 |

30 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart/lsq-inserting-template.html: -------------------------------------------------------------------------------- 1 | 2 | 2 Inserting a template

2 Inserting a template

3 | Start up gvim and begin editing a new file. 4 |

e newfile.tex

5 | If the installation went well, you should see a new set of 6 | menus appear. Goto Tex-Suite > Templates. You will see 7 | a number of templates to choose from. For now, choose to insert a 8 | template for an article. You should get the following in the main 9 | vim window (after possibly a hit-enter prompt). 10 |

11 |       1 %        File: sample.tex
12 |       2 %     Created: Sun Jun 22 04:00 PM 2003 P
13 |       3 % Last Change: Sun Jun 22 04:00 PM 2003 P
14 |       4 %
15 |       5 \documentclass[a4paper]{article}
16 |       6 \begin{document}
17 |       7 
18 |       8 \end{document}
19 |       9 
20 |      10 ~
21 |      11 ~
22 |      12 ~
23 |      13 ~
24 | -- INSERT --                                     7,1           All
25 | 

26 |

27 | The cursor is left on line 7 (just after the 28 | \begin{document} line) from where you can start 29 | typing straight away. Trying to lessen movement is a recurring theme in 30 | Latex-Suite. 31 |

32 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/inverse-searching.html: -------------------------------------------------------------------------------- 1 | 2 | 7.3 Inverse Searching

7.3 Inverse Searching

3 | Inverse searching refers to the viewer telling Vim to display the 4 | LaTeX source file at a given location when you double-click in the 5 | viewer window. 6 |

7 | You will need to enable 8 | searching in order to use this functionality. 9 |

10 | You will also need to specify certain settings to the DVI viewer 11 | conveying the syntax which it needs to use to tell Vim how to display 12 | the source file. In YAP, you can set this option in 13 | View > Options > Inverse Search. The 14 | Command Line field needs to be set as follows: 15 |

"C:\Program Files\vim\vim61\gvim" -c ":RemoteOpen +%l %f"

16 | The command :RemoteOpen is supplied when you install 17 | Latex-Suite. 18 |

19 | On *nix machines, Latex-Suite attempts to call the DVI viewer in such a way 20 | that it already knows how to communicate with Vim. If this does not 21 | seem to be working, you can use the RemoteOpen 22 | command described above. 23 |

24 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/spec/command-t/finder_spec.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | require File.expand_path('../spec_helper', File.dirname(__FILE__)) 25 | require 'command-t/finder' 26 | 27 | module VIM; end 28 | 29 | describe CommandT::Finder do 30 | before :all do 31 | @finder = CommandT::Finder.new File.join(File.dirname(__FILE__), '..', 32 | '..', 'fixtures') 33 | @all_fixtures = %w( 34 | bar/abc 35 | bar/xyz 36 | baz 37 | bing 38 | foo/alpha/t1 39 | foo/alpha/t2 40 | foo/beta 41 | ) 42 | end 43 | 44 | before do 45 | # scanner will call VIM's expand() function for exclusion filtering 46 | stub(::VIM).evaluate(/expand\(.+\)/) { '0' } 47 | end 48 | 49 | describe 'sorted_matches_for method' do 50 | it 'should return an empty array when no matches' do 51 | @finder.sorted_matches_for('kung foo fighting').should == [] 52 | end 53 | 54 | it 'should return all files when query string is empty' do 55 | @finder.sorted_matches_for('').should == @all_fixtures 56 | end 57 | 58 | it 'should return files in alphabetical order when query string is empty' do 59 | results = @finder.sorted_matches_for('') 60 | results.should == results.sort 61 | end 62 | 63 | it 'should return matching files in score order' do 64 | @finder.sorted_matches_for('ba'). 65 | should == %w(baz bar/abc bar/xyz foo/beta) 66 | @finder.sorted_matches_for('a'). 67 | should == %w(baz bar/abc bar/xyz foo/alpha/t1 foo/alpha/t2 foo/beta) 68 | end 69 | 70 | it 'should obey the :limit option for empty search strings' do 71 | @finder.sorted_matches_for('', :limit => 2). 72 | should == %w(bar/abc bar/xyz) 73 | end 74 | 75 | it 'should obey the :limit option for non-empty search strings' do 76 | @finder.sorted_matches_for('a', :limit => 3). 77 | should == %w(baz bar/abc bar/xyz) 78 | end 79 | end 80 | end 81 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/latex-packages.html: -------------------------------------------------------------------------------- 1 | 2 | 4 Package Handling

4 Package Handling

3 | Latex-Suite has a lot of functionality written to ease working with packages. 4 | Packages here refers to files which you include into the LaTeX 5 | document using the \usepackage command. 6 |

7 | In addition, the TeX-Suite > Packages menu also 8 | contains the following submenus 9 |

Update.  10 | This command is to be invoked with the cursor placed on the package 11 | name. If the corresponding package is found, then a sub-menu with the 12 | supported commands and options is created. 13 |

Update All.  14 | This function reads the preamble of the document for 15 | \usepackage lines and if Latex-Suite supports the detected 16 | packages, then sub-menus containing the package options and commands 17 | are created. 18 |

19 | -------------------------------------------------------------------------------- /.vim/bundle/command-t/spec/command-t/matcher_spec.rb: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Wincent Colaiuta. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are met: 5 | # 6 | # 1. Redistributions of source code must retain the above copyright notice, 7 | # this list of conditions and the following disclaimer. 8 | # 2. Redistributions in binary form must reproduce the above copyright notice, 9 | # this list of conditions and the following disclaimer in the documentation 10 | # and/or other materials provided with the distribution. 11 | # 12 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 16 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 22 | # POSSIBILITY OF SUCH DAMAGE. 23 | 24 | require File.expand_path('../spec_helper', File.dirname(__FILE__)) 25 | require 'command-t/scanner' 26 | require 'command-t/ext' 27 | 28 | describe CommandT::Matcher do 29 | describe 'initialization' do 30 | it 'should raise an ArgumentError if passed nil' do 31 | lambda { CommandT::Matcher.new nil }. 32 | should raise_error(ArgumentError) 33 | end 34 | end 35 | 36 | describe '#matches_for' do 37 | before do 38 | @scanner = Object.new 39 | end 40 | 41 | it 'raises an ArgumentError if passed nil' do 42 | @matcher = CommandT::Matcher.new @scanner 43 | lambda { @matcher.matches_for(nil) }. 44 | should raise_error(ArgumentError) 45 | end 46 | 47 | it 'returns empty array when source array empty' do 48 | stub(@scanner).paths { [] } 49 | @no_paths = CommandT::Matcher.new @scanner 50 | @no_paths.matches_for('foo').should == [] 51 | @no_paths.matches_for('').should == [] 52 | end 53 | 54 | it 'returns empty array when no matches' do 55 | stub(@scanner).paths { ['foo/bar', 'foo/baz', 'bing'] } 56 | @no_matches = CommandT::Matcher.new @scanner 57 | @no_matches.matches_for('xyz').should == [] 58 | end 59 | 60 | it 'returns matching paths' do 61 | stub(@scanner).paths { ['foo/bar', 'foo/baz', 'bing'] } 62 | @foo_paths = CommandT::Matcher.new @scanner 63 | matches = @foo_paths.matches_for('z') 64 | matches.map { |m| m.to_s }.should == ['foo/baz'] 65 | matches = @foo_paths.matches_for('bg') 66 | matches.map { |m| m.to_s }.should == ['bing'] 67 | end 68 | 69 | it 'performs case-insensitive matching' do 70 | stub(@scanner).paths { ['Foo'] } 71 | @path = CommandT::Matcher.new @scanner 72 | matches = @path.matches_for('f') 73 | matches.map { |m| m.to_s }.should == ['Foo'] 74 | end 75 | end 76 | end 77 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite/customizing-packages.html: -------------------------------------------------------------------------------- 1 | 2 | 11.10 Package Handling Customization

11.10 Package Handling Customization

3 | These settings affect the custom 4 | packages functionality in Latex-Suite 5 |

11.10.1 g:Tex_TEXINPUTS

Typestring
Default Value''

6 | This setting describes the directories scanned by Latex-Suite while searching 7 | for custom user packages as described in the custom packages section. Do not 8 | include the present directory in this setting. The present directory 9 | is always scanned for custom packages. 10 |

11 | This string should be set in the syntax accepted by Vim's native 12 | 'path' setting. 13 |

14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-latex/doc/latex-suite-quickstart/lsq-compiling.html: -------------------------------------------------------------------------------- 1 | 2 | 8 Compiling a document

8 Compiling a document

3 | Great! We have just created a small latex file. The next step is to 4 | make the latex compiler create a .dvi file from it. Compiling via 5 | latex-suite is simple. Goto normal mode and press \ll 6 | (replace \ with whatever mapleader setting you 7 | have). This will call the latex compiler. If all goes well, then 8 | the focus should return to the vim window. 9 |

10 | Nothing happend? Ouch! You might need to do some additional settings as 11 | described here. 12 |

13 | Having got a taste for compiling, proceed by deleting the erroneous 14 | lines and re-compiling. 15 |

16 | The Latex-Suite compiler is capable of much more including 17 | selectively filtering out common errors which you might want to 18 | ignore for the moment, compiling parts of a document, setting 19 | levels of verbosity in the compiler output etc. See here 20 | for more. 21 |

22 | --------------------------------------------------------------------------------