├── .gitignore ├── .gitmodules ├── README.textile ├── Rakefile ├── after ├── plugin │ └── snipMate.vim └── syntax │ └── cucumber.vim ├── alles-gvimrc.vim ├── alles-vimrc.vim ├── anderson-gvimrc.vim ├── anderson-vimrc.vim ├── autoload ├── fakeclip.vim ├── optional.vim ├── pathogen.vim └── snipMate.vim ├── bacon-vimrc.vim ├── baker-vimrc.vim ├── bundle ├── Align │ ├── README │ ├── autoload │ │ ├── Align.vim │ │ └── AlignMaps.vim │ ├── doc │ │ └── Align.txt │ └── plugin │ │ ├── AlignMapsPlugin.vim │ │ ├── AlignPlugin.vim │ │ └── cecutil.vim ├── cakebaker-scss-syntax.vim-2958986 │ ├── README │ ├── example.scss │ ├── ftdetect │ │ └── scss.vim │ ├── plugin-info.txt │ └── syntax │ │ └── scss.vim ├── ctrlp.vim │ ├── .gitignore │ ├── autoload │ │ ├── ctrlp.vim │ │ └── ctrlp │ │ │ ├── bookmarkdir.vim │ │ │ ├── buffertag.vim │ │ │ ├── changes.vim │ │ │ ├── dir.vim │ │ │ ├── line.vim │ │ │ ├── mixed.vim │ │ │ ├── mrufiles.vim │ │ │ ├── quickfix.vim │ │ │ ├── rtscript.vim │ │ │ ├── tag.vim │ │ │ ├── undo.vim │ │ │ └── utils.vim │ ├── doc │ │ ├── ctrlp.cnx │ │ └── ctrlp.txt │ ├── plugin │ │ └── ctrlp.vim │ └── readme.md ├── kana-vim-textobj-user-8dc7888 │ ├── .gitmodules │ ├── Makefile │ ├── autoload │ │ └── textobj │ │ │ └── user.vim │ ├── doc │ │ └── textobj-user.txt │ └── test │ │ ├── plugin.expected │ │ └── plugin.input ├── kchmck-vim-coffee-script-9d5af26 │ ├── copying.md │ ├── ftdetect │ │ ├── coffee.vim │ │ └── eco.vim │ ├── ftplugin │ │ └── coffee.vim │ ├── indent │ │ └── coffee.vim │ ├── readme.md │ ├── syntax │ │ ├── coffee.vim │ │ └── eco.vim │ ├── thanks.md │ └── todo.md ├── nelstrom-vim-textobj-rubyblock-ea53988 │ ├── .gitignore │ ├── README.md │ ├── doc │ │ └── textobj-rubyblock.txt │ ├── plugin │ │ └── textobj │ │ │ └── rubyblock.vim │ ├── readme.vim.org │ ├── test │ │ ├── basic.input │ │ └── examples.rb │ ├── textobj-rubyblock.vba │ ├── todo.otl │ └── vimballer ├── optional │ ├── conque_2.1 │ │ ├── autoload │ │ │ ├── conque_term.vim │ │ │ └── conque_term │ │ │ │ ├── conque.py │ │ │ │ ├── conque_globals.py │ │ │ │ ├── conque_screen.py │ │ │ │ ├── conque_sole.py │ │ │ │ ├── conque_sole_communicator.py │ │ │ │ ├── conque_sole_shared_memory.py │ │ │ │ ├── conque_sole_subprocess.py │ │ │ │ ├── conque_sole_wrapper.py │ │ │ │ ├── conque_subprocess.py │ │ │ │ └── conque_win32_util.py │ │ ├── doc │ │ │ └── conque_term.txt │ │ ├── plugin │ │ │ └── conque_term.vim │ │ └── syntax │ │ │ └── conque_term.vim │ ├── ctrlp-cmatcher.old │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── autoload │ │ │ ├── fuzzycomt.c │ │ │ ├── fuzzycomt.h │ │ │ ├── matcher.vim │ │ │ └── setup.py │ │ ├── install.sh │ │ └── install_windows.bat │ ├── ctrlp-cmatcher │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── autoload │ │ │ ├── fuzzycomt.c │ │ │ ├── fuzzycomt.h │ │ │ ├── matcher.vim │ │ │ └── setup.py │ │ ├── install.sh │ │ └── install_windows.bat │ ├── cyclecolor │ │ └── plugin │ │ │ └── cyclecolor.vim │ ├── elixir-lang-vim-elixir-a4fbd1 │ │ ├── README.md │ │ ├── ftdetect │ │ │ └── elixir.vim │ │ ├── ftplugin │ │ │ └── elixir.vim │ │ ├── indent │ │ │ └── elixir.vim │ │ └── syntax │ │ │ └── elixir.vim │ ├── factor │ │ ├── ftdetect │ │ │ └── factor.vim │ │ ├── ftplugin │ │ │ └── factor.vim │ │ ├── plugin │ │ │ └── factor.vim │ │ └── syntax │ │ │ └── factor.vim │ ├── feature │ │ ├── ftdetect │ │ │ └── feature.vim │ │ ├── ftplugin │ │ │ └── feature.vim │ │ ├── indent │ │ │ └── feature.vim │ │ └── syntax │ │ │ └── feature.vim │ ├── gist-vim │ │ ├── README.mkd │ │ ├── autoload │ │ │ └── gist.vim │ │ ├── doc │ │ │ └── gist-vim.txt │ │ └── plugin │ │ │ └── gist.vim │ ├── godlygeek-tabular-b7b4d8 │ │ ├── .gitignore │ │ ├── after │ │ │ └── plugin │ │ │ │ └── TabularMaps.vim │ │ ├── autoload │ │ │ └── tabular.vim │ │ ├── doc │ │ │ └── Tabular.txt │ │ └── plugin │ │ │ └── Tabular.vim │ ├── gundo │ │ ├── README.markdown │ │ ├── doc │ │ │ └── gundo.txt │ │ └── plugin │ │ │ └── gundo.vim │ ├── localvimrc │ │ └── plugin │ │ │ └── localvimrc.vim │ ├── merb │ │ ├── ftdetect │ │ │ └── merb.vim │ │ ├── ftplugin │ │ │ └── merb_controller.vim │ │ └── syntax │ │ │ ├── merb_controller.vim │ │ │ ├── merb_mailer.vim │ │ │ ├── merb_router.vim │ │ │ └── merb_view.vim │ ├── nerdtree │ │ ├── .gitignore │ │ ├── doc │ │ │ └── NERD_tree.txt │ │ ├── nerdtree_plugin │ │ │ ├── exec_menuitem.vim │ │ │ └── fs_menu.vim │ │ ├── plugin │ │ │ └── NERD_tree.vim │ │ └── syntax │ │ │ └── nerdtree.vim │ ├── rking-ag.vim-f01343 │ │ ├── .gitignore │ │ ├── README.md │ │ ├── Rakefile │ │ ├── autoload │ │ │ └── ag.vim │ │ ├── doc │ │ │ └── ag.txt │ │ └── plugin │ │ │ └── ag.vim │ ├── scratch.vim-1.0 │ │ └── plugin │ │ │ └── scratch.vim │ ├── slimv092 │ │ ├── doc │ │ │ ├── paredit.txt │ │ │ └── slimv.txt │ │ ├── ftdetect │ │ │ └── clojure.vim │ │ ├── ftplugin │ │ │ ├── clojure │ │ │ │ └── slimv-clojure.vim │ │ │ ├── lisp │ │ │ │ └── slimv-lisp.vim │ │ │ ├── scheme │ │ │ │ └── slimv-scheme.vim │ │ │ ├── slimv-clhs.vim │ │ │ ├── slimv-cljapi.vim │ │ │ ├── slimv-javadoc.vim │ │ │ ├── slimv.vim │ │ │ └── swank.py │ │ ├── indent │ │ │ ├── clojure.vim │ │ │ └── lisp.vim │ │ ├── plugin │ │ │ └── paredit.vim │ │ ├── slime │ │ │ ├── ChangeLog │ │ │ ├── README │ │ │ ├── contrib │ │ │ │ ├── README │ │ │ │ ├── swank-arglists.lisp │ │ │ │ ├── swank-asdf.lisp │ │ │ │ ├── swank-c-p-c.lisp │ │ │ │ ├── swank-clipboard.lisp │ │ │ │ ├── swank-fancy-inspector.lisp │ │ │ │ ├── swank-fuzzy.lisp │ │ │ │ ├── swank-hyperdoc.lisp │ │ │ │ ├── swank-indentation.lisp │ │ │ │ ├── swank-kawa.scm │ │ │ │ ├── swank-larceny.scm │ │ │ │ ├── swank-listener-hooks.lisp │ │ │ │ ├── swank-media.lisp │ │ │ │ ├── swank-mit-scheme.scm │ │ │ │ ├── swank-motd.lisp │ │ │ │ ├── swank-package-fu.lisp │ │ │ │ ├── swank-presentation-streams.lisp │ │ │ │ ├── swank-presentations.lisp │ │ │ │ ├── swank-r6rs.scm │ │ │ │ ├── swank-sbcl-exts.lisp │ │ │ │ ├── swank-snapshot.lisp │ │ │ │ └── swank-sprof.lisp │ │ │ ├── metering.lisp │ │ │ ├── nregex.lisp │ │ │ ├── sbcl-pprint-patch.lisp │ │ │ ├── start-swank.lisp │ │ │ ├── swank-abcl.lisp │ │ │ ├── swank-allegro.lisp │ │ │ ├── swank-backend.lisp │ │ │ ├── swank-ccl.lisp │ │ │ ├── swank-clisp.lisp │ │ │ ├── swank-cmucl.lisp │ │ │ ├── swank-corman.lisp │ │ │ ├── swank-ecl.lisp │ │ │ ├── swank-gray.lisp │ │ │ ├── swank-lispworks.lisp │ │ │ ├── swank-loader.lisp │ │ │ ├── swank-match.lisp │ │ │ ├── swank-rpc.lisp │ │ │ ├── swank-sbcl.lisp │ │ │ ├── swank-scl.lisp │ │ │ ├── swank-source-file-cache.lisp │ │ │ ├── swank-source-path-parser.lisp │ │ │ ├── swank.asd │ │ │ ├── swank.lisp │ │ │ └── xref.lisp │ │ ├── swank-clojure │ │ │ ├── COPYING │ │ │ ├── README.md │ │ │ ├── leiningen │ │ │ │ └── swank.clj │ │ │ ├── project.clj │ │ │ └── swank │ │ │ │ ├── clj_contrib │ │ │ │ ├── macroexpand.clj │ │ │ │ └── pprint.clj │ │ │ │ ├── commands.clj │ │ │ │ ├── commands │ │ │ │ ├── basic.clj │ │ │ │ ├── completion.clj │ │ │ │ ├── contrib.clj │ │ │ │ ├── contrib │ │ │ │ │ ├── swank_arglists.clj │ │ │ │ │ ├── swank_c_p_c.clj │ │ │ │ │ ├── swank_c_p_c │ │ │ │ │ │ └── internal.clj │ │ │ │ │ └── swank_fuzzy.clj │ │ │ │ ├── indent.clj │ │ │ │ ├── inspector.clj │ │ │ │ └── xref.clj │ │ │ │ ├── core.clj │ │ │ │ ├── core │ │ │ │ ├── connection.clj │ │ │ │ ├── hooks.clj │ │ │ │ ├── protocol.clj │ │ │ │ ├── server.clj │ │ │ │ └── threadmap.clj │ │ │ │ ├── dev.clj │ │ │ │ ├── loader.clj │ │ │ │ ├── rpc.clj │ │ │ │ ├── swank.clj │ │ │ │ ├── util.clj │ │ │ │ └── util │ │ │ │ ├── class_browse.clj │ │ │ │ ├── clojure.clj │ │ │ │ ├── concurrent │ │ │ │ ├── mbox.clj │ │ │ │ └── thread.clj │ │ │ │ ├── hooks.clj │ │ │ │ ├── io.clj │ │ │ │ ├── java.clj │ │ │ │ ├── net │ │ │ │ └── sockets.clj │ │ │ │ ├── string.clj │ │ │ │ └── sys.clj │ │ └── syntax │ │ │ ├── clojure │ │ │ └── slimv-syntax-clojure.vim │ │ │ └── scheme │ │ │ └── slimv-syntax-scheme.vim │ ├── syntastic │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── LICENCE │ │ ├── README.markdown │ │ ├── _assets │ │ │ └── screenshot_1.png │ │ ├── autoload │ │ │ └── syntastic │ │ │ │ ├── c.vim │ │ │ │ ├── log.vim │ │ │ │ ├── postprocess.vim │ │ │ │ ├── preprocess.vim │ │ │ │ └── util.vim │ │ ├── doc │ │ │ └── syntastic.txt │ │ ├── plugin │ │ │ ├── syntastic.vim │ │ │ └── syntastic │ │ │ │ ├── autoloclist.vim │ │ │ │ ├── balloons.vim │ │ │ │ ├── checker.vim │ │ │ │ ├── cursor.vim │ │ │ │ ├── highlighting.vim │ │ │ │ ├── loclist.vim │ │ │ │ ├── modemap.vim │ │ │ │ ├── notifiers.vim │ │ │ │ ├── registry.vim │ │ │ │ └── signs.vim │ │ └── syntax_checkers │ │ │ ├── actionscript │ │ │ └── mxmlc.vim │ │ │ ├── ada │ │ │ └── gcc.vim │ │ │ ├── applescript │ │ │ └── osacompile.vim │ │ │ ├── asciidoc │ │ │ └── asciidoc.vim │ │ │ ├── asm │ │ │ └── gcc.vim │ │ │ ├── bemhtml │ │ │ └── bemhtmllint.vim │ │ │ ├── bro │ │ │ └── bro.vim │ │ │ ├── c │ │ │ ├── avrgcc.vim │ │ │ ├── checkpatch.vim │ │ │ ├── clang_check.vim │ │ │ ├── clang_tidy.vim │ │ │ ├── cppcheck.vim │ │ │ ├── gcc.vim │ │ │ ├── make.vim │ │ │ ├── oclint.vim │ │ │ ├── pc_lint.vim │ │ │ ├── sparse.vim │ │ │ └── splint.vim │ │ │ ├── cabal │ │ │ └── cabal.vim │ │ │ ├── chef │ │ │ └── foodcritic.vim │ │ │ ├── co │ │ │ └── coco.vim │ │ │ ├── cobol │ │ │ └── cobc.vim │ │ │ ├── coffee │ │ │ ├── coffee.vim │ │ │ └── coffeelint.vim │ │ │ ├── coq │ │ │ └── coqtop.vim │ │ │ ├── cpp │ │ │ ├── clang_check.vim │ │ │ ├── clang_tidy.vim │ │ │ ├── cppcheck.vim │ │ │ ├── cpplint.vim │ │ │ ├── gcc.vim │ │ │ ├── oclint.vim │ │ │ └── pc_lint.vim │ │ │ ├── cs │ │ │ └── mcs.vim │ │ │ ├── css │ │ │ ├── csslint.vim │ │ │ ├── phpcs.vim │ │ │ ├── prettycss.vim │ │ │ └── recess.vim │ │ │ ├── cucumber │ │ │ └── cucumber.vim │ │ │ ├── cuda │ │ │ └── nvcc.vim │ │ │ ├── d │ │ │ └── dmd.vim │ │ │ ├── dart │ │ │ └── dartanalyzer.vim │ │ │ ├── docbk │ │ │ ├── igor.vim │ │ │ └── xmllint.vim │ │ │ ├── dustjs │ │ │ └── swiffer.vim │ │ │ ├── elixir │ │ │ └── elixir.vim │ │ │ ├── erlang │ │ │ ├── erlang_check_file.erl │ │ │ ├── escript.vim │ │ │ └── syntaxerl.vim │ │ │ ├── eruby │ │ │ └── ruby.vim │ │ │ ├── fortran │ │ │ └── gfortran.vim │ │ │ ├── glsl │ │ │ └── cgc.vim │ │ │ ├── go │ │ │ ├── go.vim │ │ │ ├── gofmt.vim │ │ │ ├── golint.vim │ │ │ ├── gotype.vim │ │ │ └── govet.vim │ │ │ ├── haml │ │ │ ├── haml.vim │ │ │ └── haml_lint.vim │ │ │ ├── handlebars │ │ │ └── handlebars.vim │ │ │ ├── haskell │ │ │ ├── ghc-mod.vim │ │ │ ├── hdevtools.vim │ │ │ ├── hlint.vim │ │ │ └── scan.vim │ │ │ ├── haxe │ │ │ └── haxe.vim │ │ │ ├── hss │ │ │ └── hss.vim │ │ │ ├── html │ │ │ ├── jshint.vim │ │ │ ├── tidy.vim │ │ │ ├── validator.vim │ │ │ └── w3.vim │ │ │ ├── java │ │ │ ├── checkstyle.vim │ │ │ └── javac.vim │ │ │ ├── javascript │ │ │ ├── closurecompiler.vim │ │ │ ├── eslint.vim │ │ │ ├── flow.vim │ │ │ ├── gjslint.vim │ │ │ ├── jscs.vim │ │ │ ├── jshint.vim │ │ │ ├── jsl.vim │ │ │ ├── jslint.vim │ │ │ └── jsxhint.vim │ │ │ ├── json │ │ │ ├── jsonlint.vim │ │ │ └── jsonval.vim │ │ │ ├── less │ │ │ ├── less-lint.coffee │ │ │ ├── less-lint.js │ │ │ ├── lessc.vim │ │ │ └── recess.vim │ │ │ ├── lex │ │ │ └── flex.vim │ │ │ ├── limbo │ │ │ └── limbo.vim │ │ │ ├── lisp │ │ │ └── clisp.vim │ │ │ ├── llvm │ │ │ └── llvm.vim │ │ │ ├── lua │ │ │ ├── luac.vim │ │ │ └── luacheck.vim │ │ │ ├── markdown │ │ │ └── mdl.vim │ │ │ ├── matlab │ │ │ └── mlint.vim │ │ │ ├── nasm │ │ │ └── nasm.vim │ │ │ ├── nroff │ │ │ ├── igor.vim │ │ │ └── mandoc.vim │ │ │ ├── objc │ │ │ ├── gcc.vim │ │ │ └── oclint.vim │ │ │ ├── objcpp │ │ │ ├── gcc.vim │ │ │ └── oclint.vim │ │ │ ├── ocaml │ │ │ └── camlp4o.vim │ │ │ ├── perl │ │ │ ├── perl.vim │ │ │ ├── perlcritic.vim │ │ │ └── podchecker.vim │ │ │ ├── php │ │ │ ├── php.vim │ │ │ ├── phpcs.vim │ │ │ ├── phplint.vim │ │ │ └── phpmd.vim │ │ │ ├── po │ │ │ └── msgfmt.vim │ │ │ ├── pod │ │ │ └── podchecker.vim │ │ │ ├── puppet │ │ │ ├── puppet.vim │ │ │ └── puppetlint.vim │ │ │ ├── python │ │ │ ├── codec.py │ │ │ ├── compile.py │ │ │ ├── flake8.vim │ │ │ ├── frosted.vim │ │ │ ├── mypy.vim │ │ │ ├── pep257.vim │ │ │ ├── pep8.vim │ │ │ ├── prospector.vim │ │ │ ├── py3kwarn.vim │ │ │ ├── pyflakes.vim │ │ │ ├── pylama.vim │ │ │ ├── pylint.vim │ │ │ └── python.vim │ │ │ ├── r │ │ │ ├── lint.vim │ │ │ └── svtools.vim │ │ │ ├── racket │ │ │ ├── code-ayatollah.vim │ │ │ └── racket.vim │ │ │ ├── rnc │ │ │ └── rnv.vim │ │ │ ├── rst │ │ │ ├── rst2pseudoxml.vim │ │ │ └── rstcheck.vim │ │ │ ├── ruby │ │ │ ├── jruby.vim │ │ │ ├── macruby.vim │ │ │ ├── mri.vim │ │ │ ├── reek.vim │ │ │ ├── rubocop.vim │ │ │ └── rubylint.vim │ │ │ ├── sass │ │ │ ├── sass.vim │ │ │ └── sassc.vim │ │ │ ├── scala │ │ │ ├── fsc.vim │ │ │ ├── scalac.vim │ │ │ └── scalastyle.vim │ │ │ ├── scss │ │ │ ├── sass.vim │ │ │ ├── sassc.vim │ │ │ └── scss_lint.vim │ │ │ ├── sh │ │ │ ├── bashate.vim │ │ │ ├── checkbashisms.vim │ │ │ ├── sh.vim │ │ │ └── shellcheck.vim │ │ │ ├── slim │ │ │ └── slimrb.vim │ │ │ ├── spec │ │ │ └── rpmlint.vim │ │ │ ├── tcl │ │ │ └── nagelfar.vim │ │ │ ├── tex │ │ │ ├── chktex.vim │ │ │ └── lacheck.vim │ │ │ ├── texinfo │ │ │ └── makeinfo.vim │ │ │ ├── text │ │ │ ├── atdtool.vim │ │ │ ├── igor.vim │ │ │ └── language_check.vim │ │ │ ├── twig │ │ │ └── twiglint.vim │ │ │ ├── typescript │ │ │ ├── tsc.vim │ │ │ └── tslint.vim │ │ │ ├── vala │ │ │ └── valac.vim │ │ │ ├── verilog │ │ │ └── verilator.vim │ │ │ ├── vhdl │ │ │ └── ghdl.vim │ │ │ ├── vim │ │ │ └── vimlint.vim │ │ │ ├── xhtml │ │ │ ├── jshint.vim │ │ │ └── tidy.vim │ │ │ ├── xml │ │ │ ├── plutil.vim │ │ │ └── xmllint.vim │ │ │ ├── xslt │ │ │ └── xmllint.vim │ │ │ ├── yacc │ │ │ └── bison.vim │ │ │ ├── yaml │ │ │ ├── jsyaml.vim │ │ │ └── yamlxs.vim │ │ │ ├── z80 │ │ │ └── z80syntaxchecker.vim │ │ │ ├── zpt │ │ │ └── zptlint.vim │ │ │ └── zsh │ │ │ ├── shellcheck.vim │ │ │ └── zsh.vim │ ├── tagbar │ │ ├── README.md │ │ ├── autoload │ │ │ └── tagbar.vim │ │ ├── doc │ │ │ └── tagbar.txt │ │ ├── plugin │ │ │ └── tagbar.vim │ │ └── syntax │ │ │ └── tagbar.vim │ ├── townk-vim-autoclose-4dfe50 │ │ ├── .gitignore │ │ ├── AUTHORS.txt │ │ ├── INSTALL.txt │ │ ├── README.txt │ │ ├── doc │ │ │ └── autoclose.txt │ │ └── plugin │ │ │ └── autoclose.vim │ ├── tpope-vim-cucumber-511805 │ │ ├── compiler │ │ │ └── cucumber.vim │ │ ├── ftdetect │ │ │ └── cucumber.vim │ │ ├── ftplugin │ │ │ └── cucumber.vim │ │ ├── indent │ │ │ └── cucumber.vim │ │ └── syntax │ │ │ └── cucumber.vim │ ├── vim-airline │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Rakefile │ │ ├── autoload │ │ │ ├── airline.vim │ │ │ └── airline │ │ │ │ ├── builder.vim │ │ │ │ ├── debug.vim │ │ │ │ ├── deprecation.vim │ │ │ │ ├── extensions.vim │ │ │ │ ├── extensions │ │ │ │ ├── branch.vim │ │ │ │ ├── bufferline.vim │ │ │ │ ├── commandt.vim │ │ │ │ ├── csv.vim │ │ │ │ ├── ctrlp.vim │ │ │ │ ├── default.vim │ │ │ │ ├── eclim.vim │ │ │ │ ├── example.vim │ │ │ │ ├── hunks.vim │ │ │ │ ├── netrw.vim │ │ │ │ ├── promptline.vim │ │ │ │ ├── quickfix.vim │ │ │ │ ├── syntastic.vim │ │ │ │ ├── tabline.vim │ │ │ │ ├── tabline │ │ │ │ │ ├── default.vim │ │ │ │ │ ├── unique_tail.vim │ │ │ │ │ └── unique_tail_improved.vim │ │ │ │ ├── tagbar.vim │ │ │ │ ├── tmuxline.vim │ │ │ │ ├── undotree.vim │ │ │ │ ├── unite.vim │ │ │ │ ├── virtualenv.vim │ │ │ │ └── whitespace.vim │ │ │ │ ├── highlighter.vim │ │ │ │ ├── init.vim │ │ │ │ ├── parts.vim │ │ │ │ ├── section.vim │ │ │ │ ├── themes.vim │ │ │ │ ├── themes │ │ │ │ ├── badwolf.vim │ │ │ │ ├── base16.vim │ │ │ │ ├── bubblegum.vim │ │ │ │ ├── dark.vim │ │ │ │ ├── jellybeans.vim │ │ │ │ ├── kolor.vim │ │ │ │ ├── laederon.vim │ │ │ │ ├── light.vim │ │ │ │ ├── lucius.vim │ │ │ │ ├── luna.vim │ │ │ │ ├── molokai.vim │ │ │ │ ├── monochrome.vim │ │ │ │ ├── murmur.vim │ │ │ │ ├── powerlineish.vim │ │ │ │ ├── serene.vim │ │ │ │ ├── simple.vim │ │ │ │ ├── sol.vim │ │ │ │ ├── solarized.vim │ │ │ │ ├── tomorrow.vim │ │ │ │ ├── ubaryd.vim │ │ │ │ ├── understated.vim │ │ │ │ ├── wombat.vim │ │ │ │ └── zenburn.vim │ │ │ │ └── util.vim │ │ ├── doc │ │ │ └── airline.txt │ │ ├── plugin │ │ │ └── airline.vim │ │ └── t │ │ │ ├── airline.vim │ │ │ ├── builder.vim │ │ │ ├── commands.vim │ │ │ ├── extensions_default.vim │ │ │ ├── highlighter.vim │ │ │ ├── init.vim │ │ │ ├── parts.vim │ │ │ ├── section.vim │ │ │ ├── themes.vim │ │ │ └── util.vim │ ├── vim-easymotion │ │ ├── .gitignore │ │ ├── README.md │ │ ├── autoload │ │ │ └── EasyMotion.vim │ │ ├── doc │ │ │ └── easymotion.txt │ │ └── plugin │ │ │ └── EasyMotion.vim │ ├── vim-endwise │ │ ├── README.markdown │ │ └── plugin │ │ │ └── endwise.vim │ ├── vim-rspec │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ │ ├── os_x_iterm │ │ │ └── os_x_terminal │ │ └── plugin │ │ │ └── rspec.vim │ ├── vim-smartinput-0.0.2 │ │ ├── .gitmodules │ │ ├── Makefile │ │ ├── autoload │ │ │ └── smartinput.vim │ │ ├── doc │ │ │ └── smartinput.txt │ │ ├── plugin │ │ │ └── smartinput.vim │ │ └── t │ │ │ ├── api.vim │ │ │ ├── beep-on-empty-line.t │ │ │ ├── beep-on-empty-line.vim │ │ │ ├── map_trigger_keys.vim │ │ │ ├── misc.vim │ │ │ ├── proper-initialization.vim │ │ │ ├── startup-no-default-key-mappings.vim │ │ │ └── startup-preserving-existing-key-mappings.vim │ ├── vim-vinegar │ │ ├── CONTRIBUTING.markdown │ │ ├── README.markdown │ │ └── plugin │ │ │ └── vinegar.vim │ ├── vim-yankstack │ │ ├── .gitignore │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── autoload │ │ │ └── yankstack.vim │ │ ├── doc │ │ │ └── yankstack.txt │ │ ├── plugin │ │ │ └── yankstack.vim │ │ └── spec │ │ │ ├── fixtures │ │ │ └── repeat.vim │ │ │ ├── spec_helper.rb │ │ │ └── yankstack │ │ │ └── yankstack_spec.rb │ ├── vimclojure-2.3.0 │ │ ├── LICENSE.txt │ │ ├── README.markdown │ │ ├── autoload │ │ │ ├── vimclojure.vim │ │ │ └── vimclojure │ │ │ │ └── util.vim │ │ ├── bin │ │ │ ├── clj │ │ │ ├── clj.bat │ │ │ ├── ng-server │ │ │ └── ng-server.bat │ │ ├── doc │ │ │ └── clojure.txt │ │ ├── ftdetect │ │ │ └── clojure.vim │ │ ├── ftplugin │ │ │ ├── clojure.vim │ │ │ └── clojure │ │ │ │ ├── completions-clojure.core.txt │ │ │ │ ├── completions-clojure.data.txt │ │ │ │ ├── completions-clojure.inspector.txt │ │ │ │ ├── completions-clojure.java.browse.txt │ │ │ │ ├── completions-clojure.java.io.txt │ │ │ │ ├── completions-clojure.java.javadoc.txt │ │ │ │ ├── completions-clojure.java.shell.txt │ │ │ │ ├── completions-clojure.main.txt │ │ │ │ ├── completions-clojure.pprint.txt │ │ │ │ ├── completions-clojure.repl.txt │ │ │ │ ├── completions-clojure.set.txt │ │ │ │ ├── completions-clojure.stacktrace.txt │ │ │ │ ├── completions-clojure.string.txt │ │ │ │ ├── completions-clojure.template.txt │ │ │ │ ├── completions-clojure.test.junit.txt │ │ │ │ ├── completions-clojure.test.tap.txt │ │ │ │ ├── completions-clojure.test.txt │ │ │ │ ├── completions-clojure.walk.txt │ │ │ │ ├── completions-clojure.xml.txt │ │ │ │ └── completions-clojure.zip.txt │ │ ├── indent │ │ │ └── clojure.vim │ │ ├── plugin │ │ │ └── clojure.vim │ │ └── syntax │ │ │ └── clojure.vim │ ├── webapi-vim │ │ ├── README │ │ ├── autoload │ │ │ └── webapi │ │ │ │ ├── atom.vim │ │ │ │ ├── base64.vim │ │ │ │ ├── bit.vim │ │ │ │ ├── feed.vim │ │ │ │ ├── hmac.vim │ │ │ │ ├── html.vim │ │ │ │ ├── http.vim │ │ │ │ ├── json.vim │ │ │ │ ├── jsonrpc.vim │ │ │ │ ├── metaweblog.vim │ │ │ │ ├── oauth.vim │ │ │ │ ├── sha1.vim │ │ │ │ ├── soap.vim │ │ │ │ ├── ucs.vim │ │ │ │ ├── xml.vim │ │ │ │ └── xmlrpc.vim │ │ └── doc │ │ │ └── webapi.txt │ └── yggdroot-indentLine-2cc41e │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── README.md │ │ ├── after │ │ └── plugin │ │ │ └── indentLine.vim │ │ └── doc │ │ └── indentLine.txt ├── puppet │ ├── README │ ├── ftdetect │ │ └── puppet.vim │ ├── ftplugin │ │ └── puppet.vim │ ├── indent │ │ └── puppet.vim │ └── syntax │ │ └── puppet.vim ├── ragtag │ ├── doc │ │ ├── ragtag.txt │ │ └── tags │ └── plugin │ │ └── ragtag.vim ├── rainbow_parentheses.vim │ ├── autoload │ │ └── rainbow_parentheses.vim │ ├── plugin │ │ └── rainbow_parentheses.vim │ └── readme.md ├── robgleeson-vim-markdown-preview-b0842f8 │ ├── .gitignore │ ├── CONTRIBUTORS │ ├── LEGAL │ ├── README.md │ ├── doc │ │ └── vmp.txt │ ├── install.sh │ ├── plugin │ │ ├── vim-markdown-preview │ │ │ ├── kramdown │ │ │ │ ├── COPYING │ │ │ │ ├── compatibility.rb │ │ │ │ ├── converter.rb │ │ │ │ ├── converter │ │ │ │ │ ├── base.rb │ │ │ │ │ ├── html.rb │ │ │ │ │ ├── kramdown.rb │ │ │ │ │ └── latex.rb │ │ │ │ ├── document.rb │ │ │ │ ├── error.rb │ │ │ │ ├── kramdown.rb │ │ │ │ ├── options.rb │ │ │ │ ├── parser.rb │ │ │ │ ├── parser │ │ │ │ │ ├── base.rb │ │ │ │ │ ├── html.rb │ │ │ │ │ ├── kramdown.rb │ │ │ │ │ └── kramdown │ │ │ │ │ │ ├── abbreviation.rb │ │ │ │ │ │ ├── attribute_list.rb │ │ │ │ │ │ ├── autolink.rb │ │ │ │ │ │ ├── blank_line.rb │ │ │ │ │ │ ├── blockquote.rb │ │ │ │ │ │ ├── codeblock.rb │ │ │ │ │ │ ├── codespan.rb │ │ │ │ │ │ ├── emphasis.rb │ │ │ │ │ │ ├── eob.rb │ │ │ │ │ │ ├── escaped_chars.rb │ │ │ │ │ │ ├── extension.rb │ │ │ │ │ │ ├── footnote.rb │ │ │ │ │ │ ├── header.rb │ │ │ │ │ │ ├── horizontal_rule.rb │ │ │ │ │ │ ├── html.rb │ │ │ │ │ │ ├── html_entity.rb │ │ │ │ │ │ ├── line_break.rb │ │ │ │ │ │ ├── link.rb │ │ │ │ │ │ ├── list.rb │ │ │ │ │ │ ├── math.rb │ │ │ │ │ │ ├── paragraph.rb │ │ │ │ │ │ ├── smart_quotes.rb │ │ │ │ │ │ ├── table.rb │ │ │ │ │ │ └── typographic_symbol.rb │ │ │ │ ├── utils.rb │ │ │ │ ├── utils │ │ │ │ │ ├── entities.rb │ │ │ │ │ └── html.rb │ │ │ │ └── version.rb │ │ │ └── stylesheets │ │ │ │ ├── github.css │ │ │ │ ├── safari-reader.css │ │ │ │ └── simple-print.css │ │ └── vmp.vim │ └── tasks.otl ├── tcomment_vim │ ├── .gitignore │ ├── CHANGES.TXT │ ├── README │ ├── addon-info.json │ ├── autoload │ │ └── tcomment.vim │ ├── doc │ │ └── tcomment.txt │ ├── etc │ │ └── tpl_tcomment.txt │ ├── plugin │ │ └── tcomment.vim │ └── spec │ │ └── tcomment │ │ ├── issue30.vim │ │ ├── issue30_sel=exclusive.vim │ │ ├── issue30_sel=inclusive.vim │ │ ├── issue30_test.c │ │ ├── issue30_test_1.c │ │ ├── issue30_test_2.c │ │ └── issue30_test_3.c ├── tpope-vim-haml-33279476a6 │ ├── compiler │ │ ├── haml.vim │ │ └── sass.vim │ ├── ftdetect │ │ └── haml.vim │ ├── ftplugin │ │ ├── haml.vim │ │ ├── sass.vim │ │ └── scss.vim │ ├── indent │ │ ├── haml.vim │ │ ├── sass.vim │ │ └── scss.vim │ └── syntax │ │ ├── haml.vim │ │ ├── sass.vim │ │ └── scss.vim ├── tpope-vim-rails-26dade8 │ ├── .gitignore │ ├── README │ ├── Rakefile │ ├── autoload │ │ └── rails.vim │ ├── doc │ │ └── rails.txt │ └── plugin │ │ └── rails.vim ├── vim-abolish │ ├── .gitignore │ ├── CONTRIBUTING.markdown │ ├── README.markdown │ ├── doc │ │ └── abolish.txt │ └── plugin │ │ └── abolish.vim ├── vim-classpath │ ├── .gitignore │ ├── README.markdown │ ├── autoload │ │ └── classpath.vim │ ├── doc │ │ └── classpath.txt │ └── plugin │ │ └── classpath.vim ├── vim-clojure-static │ ├── LICENSE.txt │ ├── README.markdown │ ├── autoload │ │ └── clojurecomplete.vim │ ├── clj │ │ ├── .gitignore │ │ ├── project.clj │ │ ├── src │ │ │ └── vim_clojure_static │ │ │ │ ├── generate.clj │ │ │ │ ├── test.clj │ │ │ │ └── update.clj │ │ ├── test │ │ │ └── syntax_test.clj │ │ └── vim │ │ │ └── syn-id-names.vim │ ├── doc │ │ └── clojure.txt │ ├── ftdetect │ │ └── clojure.vim │ ├── ftplugin │ │ └── clojure.vim │ ├── indent │ │ └── clojure.vim │ └── syntax │ │ └── clojure.vim ├── vim-colors-solarized │ ├── README.md │ ├── README.mkd │ ├── autoload │ │ └── togglebg.vim │ ├── bitmaps │ │ └── togglebg.png │ ├── colors │ │ └── solarized.vim │ └── doc │ │ └── solarized.txt ├── vim-emblem │ ├── README.md │ ├── ftdetect │ │ └── emblem.vim │ ├── ftplugin │ │ └── emblem.vim │ ├── indent │ │ └── emblem.vim │ └── syntax │ │ └── emblem.vim ├── vim-fireplace │ ├── .gitignore │ ├── README.markdown │ ├── autoload │ │ └── nrepl │ │ │ └── fireplace_connection.vim │ ├── doc │ │ └── fireplace.txt │ └── plugin │ │ ├── fireplace.vim │ │ └── fireplace │ │ └── zip.vim ├── vim-fugitive │ ├── .gitignore │ ├── CONTRIBUTING.markdown │ ├── README.markdown │ ├── doc │ │ └── fugitive.txt │ └── plugin │ │ └── fugitive.vim ├── vim-handlebars │ ├── MIT-LICENSE │ ├── README.md │ ├── example.handlebars │ ├── ftdetect │ │ └── handlebars.vim │ ├── ftplugin │ │ └── handlebars.vim │ └── syntax │ │ └── handlebars.vim ├── vim-jade │ ├── README.markdown │ ├── ftdetect │ │ └── jade.vim │ ├── ftplugin │ │ └── jade.vim │ ├── indent │ │ └── jade.vim │ └── syntax │ │ └── jade.vim ├── vim-less │ ├── .gitignore │ ├── README.md │ ├── ftdetect │ │ └── less.vim │ ├── ftplugin │ │ └── less.vim │ ├── indent │ │ └── less.vim │ ├── screenshot.png │ └── syntax │ │ └── less.vim ├── vim-markdown │ ├── ftdetect │ │ └── markdown.vim │ ├── ftplugin │ │ └── markdown.vim │ └── syntax │ │ └── markdown.vim ├── vim-multimarkdown │ ├── README.md │ ├── ftdetect │ │ └── mmd.vim │ └── syntax │ │ └── mmd.vim ├── vim-repeat │ ├── README.markdown │ └── autoload │ │ └── repeat.vim ├── vim-ruby-stable-20130114 │ ├── .gitignore │ ├── CONTRIBUTORS │ ├── ChangeLog │ ├── FAQ │ ├── INSTALL.markdown │ ├── NEWS │ ├── README │ ├── Rakefile │ ├── autoload │ │ └── rubycomplete.vim │ ├── bin │ │ └── vim-ruby-install.rb │ ├── compiler │ │ ├── eruby.vim │ │ ├── rspec.vim │ │ ├── ruby.vim │ │ └── rubyunit.vim │ ├── doc │ │ ├── ft-ruby-omni.txt │ │ ├── ft-ruby-syntax.txt │ │ └── vim-ruby.txt │ ├── etc │ │ └── examples │ │ │ └── indent │ │ │ ├── blocks.rb │ │ │ ├── closing_brackets.rb │ │ │ ├── continuations.rb │ │ │ ├── end_constructs.rb │ │ │ ├── nested_hashes.rb │ │ │ ├── splat.rb │ │ │ └── strings.rb │ ├── ftdetect │ │ └── ruby.vim │ ├── ftplugin │ │ ├── eruby.vim │ │ └── ruby.vim │ ├── indent │ │ ├── eruby.vim │ │ └── ruby.vim │ └── syntax │ │ ├── eruby.vim │ │ └── ruby.vim ├── vim-slim │ ├── LICENSE.txt │ ├── ftdetect │ │ └── slim.vim │ ├── ftplugin │ │ └── slim.vim │ ├── indent │ │ └── slim.vim │ └── syntax │ │ └── slim.vim ├── vim-surround │ ├── .gitignore │ ├── README.markdown │ ├── doc │ │ └── surround.txt │ └── plugin │ │ └── surround.vim ├── vim-unimpaired │ ├── .gitignore │ ├── README.markdown │ ├── doc │ │ └── unimpaired.txt │ └── plugin │ │ └── unimpaired.vim ├── vim-writeroom │ ├── README.md │ ├── doc │ │ └── vim-writeroom.txt │ └── plugin │ │ └── vim-writeroom.vim └── vim-yankstack │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.md │ ├── autoload │ └── yankstack.vim │ ├── doc │ └── yankstack.txt │ ├── plugin │ └── yankstack.vim │ └── spec │ ├── fixtures │ └── repeat.vim │ ├── spec_helper.rb │ └── yankstack │ └── yankstack_spec.rb ├── colors ├── desert.vim ├── ir_black.vim ├── molokai.vim ├── slate_jts.vim ├── synic.vim ├── vividchalk.vim └── zenburn.vim ├── colthorp-gvimrc.vim ├── colthorp-vimrc.vim ├── common-vimrc.vim ├── compiler └── rspec.vim ├── crosby-gvimrc.vim ├── crosby-vimrc.vim ├── doc ├── ack.txt ├── fakeclip.txt ├── fuzzyfinder.jax ├── fuzzyfinder.txt ├── snipMate.txt ├── snippets_emu.txt └── tags-ja ├── english-gvimrc.vim ├── english-vimrc.vim ├── filetype.vim ├── ftdetect ├── arduino.vim ├── clojure.vim ├── go.vim ├── spec_output.vim └── thor.vim ├── ftplugin ├── datamapper.vim ├── datamapper_migration.vim ├── html_snip_helper.vim └── sass.vim ├── indent ├── eruby.vim ├── javascript.vim ├── ruby.vim └── sass.vim ├── johnson-gvimrc.vim ├── johnson-vimrc.vim ├── macvim-vimrc.vim ├── plugin ├── AnsiEsc.vba ├── ack.vim ├── bclose.vim ├── cecutil.vim ├── fakeclip.vim ├── gnupg.vim ├── pastie.vim ├── run_file.vim ├── run_file_in_terminal.vim ├── slime.vim ├── snipMate.vim ├── speeddating.vim └── tag_generation.vim ├── sartin-vimrc.vim ├── schaenzle-vimrc.vim ├── siva-vimrc.vim ├── skeletor-vimrc.vim ├── snippets ├── _.snippets ├── autoit.snippets ├── c.snippets ├── coffee.snippets ├── cpp.snippets ├── drupal │ ├── checkbox.snippet │ ├── checkboxes.snippet │ ├── db_fetch_array.snippet │ ├── db_fetch_object.snippet │ ├── db_query.snippet │ ├── db_rewrite_sql.snippet │ ├── drupal_add_js.snippet │ ├── drupal_get_form.snippet │ ├── drupal_get_path.snippet │ ├── drupal_get_path_alias.snippet │ ├── drupal_goto.snippet │ ├── dsm.snippet │ ├── file.snippet │ ├── hook_block.snippet │ ├── hook_comment.snippet │ ├── hook_cron.snippet │ ├── hook_form_alter.snippet │ ├── hook_help.snippet │ ├── hook_init.snippet │ ├── hook_mail_alter.snippet │ ├── hook_menu.snippet │ ├── hook_menu_alter.snippet │ ├── hook_node_info.snippet │ ├── hook_node_operations.snippet │ ├── hook_node_type.snippet │ ├── hook_nodeapi.snippet │ ├── hook_perm.snippet │ ├── hook_schema.snippet │ ├── hook_taxonomy.snippet │ ├── hook_theme.snippet │ ├── hook_user.snippet │ ├── hook_user_operations.snippet │ ├── hook_views_api.snippet │ ├── hook_views_query_alter.snippet │ ├── l.snippet │ ├── markup.snippet │ ├── select.snippet │ ├── submit.snippet │ ├── t.snippet │ ├── textarea.snippet │ ├── textfield.snippet │ └── watchdog.snippet ├── erlang.snippets ├── html.snippets ├── java.snippets ├── javascript.snippets ├── mako.snippets ├── objc.snippets ├── perl.snippets ├── php.snippets ├── python.snippets ├── ruby.snippets ├── sh.snippets ├── snippet.snippets ├── tcl.snippets ├── tex.snippets ├── vim.snippets └── zsh.snippets ├── spell ├── en.utf-8.add └── en.utf-8.add.spl ├── syntax ├── arduino.vim ├── datamapper.vim ├── datamapper_migration.vim ├── eruby.vim ├── git-diff.vim ├── git-log.vim ├── git-status.vim ├── go.vim ├── javascript.vim ├── jquery.vim ├── nginx.vim ├── ruby.vim ├── sass.vim ├── snippet.vim └── spec_output.vim └── tools ├── ack ├── dotctags ├── generate_tags.rb ├── run_command.scpt ├── run_file.rb ├── run_file_at_line.rb ├── run_file_at_line_in_terminal.rb └── run_file_in_terminal.rb /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .VimballRecord 3 | .*.swp 4 | .netrwhist 5 | tags 6 | .netrwbook 7 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "bundle/vcscommand"] 2 | path = bundle/vcscommand 3 | url = git://repo.or.cz/vcscommand.git 4 | [submodule "bundle/vim-puppet"] 5 | path = bundle/vim-puppet 6 | url = https://github.com/rodjek/vim-puppet.git 7 | [submodule "bundle/optional/YouCompleteMe"] 8 | path = bundle/optional/YouCompleteMe 9 | url = https://github.com/Valloric/YouCompleteMe.git 10 | [submodule "bundle/vim-gnupg"] 11 | path = bundle/vim-gnupg 12 | url = https://github.com/jamessan/vim-gnupg 13 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | desc "Builds ctrlp-cmatcher" 2 | task :default do 3 | Dir.chdir "bundle/optional/ctrlp-cmatcher" 4 | sh "./install.sh" 5 | 6 | puts <<-EOF 7 | Add the following lines to your vimrc file: 8 | 9 | call optional#include(['ctrlp-cmatcher']) 10 | let g:ctrlp_match_func = {'match' : 'matcher#cmatch' } 11 | EOF 12 | end 13 | -------------------------------------------------------------------------------- /after/plugin/snipMate.vim: -------------------------------------------------------------------------------- 1 | " These are the mappings for snipMate.vim. Putting it here ensures that it 2 | " will be mapped after other plugins such as supertab.vim. 3 | if !exists('loaded_snips') || exists('s:did_snips_mappings') 4 | finish 5 | endif 6 | let s:did_snips_mappings = 1 7 | 8 | ino =TriggerSnippet() 9 | snor i=TriggerSnippet() 10 | ino =BackwardsSnippet() 11 | snor i=BackwardsSnippet() 12 | ino =ShowAvailableSnips() 13 | 14 | " The default mappings for these are annoying & sometimes break snipMate. 15 | " You can change them back if you want, I've put them here for convenience. 16 | snor b 17 | snor a 18 | snor bi 19 | snor ' b' 20 | snor ` b` 21 | snor % b% 22 | snor U bU 23 | snor ^ b^ 24 | snor \ b\ 25 | snor b 26 | 27 | " By default load snippets in snippets_dir 28 | if empty(snippets_dir) 29 | finish 30 | endif 31 | 32 | call GetSnippets(snippets_dir, '_') " Get global snippets 33 | 34 | au FileType * if &ft != 'help' | call GetSnippets(snippets_dir, &ft) | endif 35 | " vim:noet:sw=4:ts=4:ft=vim 36 | -------------------------------------------------------------------------------- /after/syntax/cucumber.vim: -------------------------------------------------------------------------------- 1 | syn region cucumberGivenString start=/"/ skip=/\\"/ end=/"/ contained containedin=cucumberGivenRegion,cucumberGivenAndRegion,cucumberGivenButRegion 2 | syn region cucumberWhenString start=/"/ skip=/\\"/ end=/"/ contained containedin=cucumberWhenRegion,cucumberWhenAndRegion,cucumberWhenButRegion 3 | syn region cucumberThenString start=/"/ skip=/\\"/ end=/"/ contained containedin=cucumberThenRegion,cucumberThenAndRegion,cucumberThenButRegion 4 | 5 | hi def link cucumberGivenString cucumberString 6 | hi def link cucumberWhenString cucumberString 7 | hi def link cucumberThenString cucumberString 8 | -------------------------------------------------------------------------------- /alles-gvimrc.vim: -------------------------------------------------------------------------------- 1 | " gvim-specific options 2 | 3 | colorscheme koehler 4 | 5 | set guifont=Consolas:h12:cANSI 6 | "FALLBACK: set guifont=Monospace 7 | 8 | " Remove toolbar, it sux 9 | set guioptions-=T 10 | 11 | " Remove menubar, it sux 12 | set guioptions-=m 13 | 14 | " Make silly command abbreviations to toggle toolbar and menubar: 15 | cabbr toff set guioptions-=T 16 | cabbr ton set guioptions+=T 17 | cabbr moff set guioptions-=m 18 | cabbr mon set guioptions+=m 19 | 20 | " No bell or visual bell 21 | set vb t_vb= 22 | 23 | " No highlight search 24 | set nohlsearch 25 | 26 | -------------------------------------------------------------------------------- /anderson-gvimrc.vim: -------------------------------------------------------------------------------- 1 | let g:solarized_termcolors=256 2 | colorscheme solarized 3 | set fuopt+=maxhorz 4 | set fuopt+=maxvert 5 | " map f :set invfu " toggle fullscreen mode 6 | " set fu 7 | -------------------------------------------------------------------------------- /autoload/optional.vim: -------------------------------------------------------------------------------- 1 | function! optional#include(bundles) 2 | for bundle in a:bundles 3 | let path = "~/.vim/bundle/optional/*" . bundle . "*" 4 | let list = pathogen#glob_directories(path) 5 | let rtp = pathogen#split(&rtp) 6 | let &rtp = pathogen#join(pathogen#uniq(rtp + list)) 7 | endfor 8 | endfunction 9 | 10 | -------------------------------------------------------------------------------- /baker-vimrc.vim: -------------------------------------------------------------------------------- 1 | source ~/.vim/common-vimrc.vim 2 | 3 | au BufNewFile,BufRead *.handlebars set filetype=html 4 | au BufNewFile,BufRead *.hbs set filetype=html 5 | au BufNewFile,BufRead *.hamlbars set filetype=haml 6 | 7 | set hls 8 | set ignorecase 9 | 10 | noremap h :split 11 | 12 | set background=dark 13 | let g:solarized_visibility = "high" 14 | let g:solarized_contrast = "high" 15 | colorscheme solarized 16 | 17 | nnoremap 18 | nnoremap 19 | nnoremap 20 | nnoremap 21 | 22 | set list 23 | set listchars=trail:☹ 24 | 25 | nnoremap . 20> 26 | nnoremap > 10> 27 | nnoremap , 20< 28 | nnoremap < 10< 29 | 30 | 31 | 32 | let optional = [] 33 | let optional += ["nerdtree"] 34 | " let optional += ["autoclose"] 35 | " let optional += ["vim-endwise"] 36 | " let optional += ["tabular"] 37 | " let optional += ["scratch"] 38 | " let optional += ["conque"] 39 | " let optional += ["gundo"] 40 | " let optional += ["cucumber"] 41 | call optional#include(optional) 42 | 43 | nnoremap n :NERDTreeToggle 44 | 45 | 46 | nnoremap :noh 47 | 48 | set noswapfile 49 | 50 | map t :CtrlP . 51 | -------------------------------------------------------------------------------- /bundle/cakebaker-scss-syntax.vim-2958986/README: -------------------------------------------------------------------------------- 1 | Installation 2 | ============ 3 | 4 | Linux: Copy the files to ~/.vim/syntax and ~/.vim/ftdetect respectively, and restart Vim. 5 | 6 | OSX: Copy the syntax file to ~/.vim/syntax and add the following snippet to your vimrc file: 7 | 8 | au BufRead,BufNewFile *.scss set filetype=scss 9 | -------------------------------------------------------------------------------- /bundle/cakebaker-scss-syntax.vim-2958986/ftdetect/scss.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.scss set filetype=scss 2 | -------------------------------------------------------------------------------- /bundle/cakebaker-scss-syntax.vim-2958986/plugin-info.txt: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "scss-syntax.vim", 3 | "version" : "dev", 4 | "author" : "Daniel Hofstetter ", 5 | "repository" : {"type": "git", "url": "git://github.com/cakebaker/scss-syntax.vim.git"}, 6 | "dependencies" : {}, 7 | "description" : "Vim syntax file for scss (Sassy CSS)" 8 | } 9 | -------------------------------------------------------------------------------- /bundle/ctrlp.vim/.gitignore: -------------------------------------------------------------------------------- 1 | *.markdown 2 | *.zip 3 | note.txt 4 | tags 5 | tags-cn 6 | .hg* 7 | tmp/* 8 | -------------------------------------------------------------------------------- /bundle/kana-vim-textobj-user-8dc7888/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "mduem"] 2 | path = mduem 3 | url = ../mduem 4 | -------------------------------------------------------------------------------- /bundle/kana-vim-textobj-user-8dc7888/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for vim-textobj-user 2 | 3 | REPOS_TYPE := vim-script 4 | INSTALLATION_DIR := $(HOME)/.vim 5 | TARGETS_STATIC = $(filter %.vim %.txt,$(all_files_in_repos)) 6 | TARGETS_ARCHIVED = $(all_files_in_repos) mduem/Makefile 7 | 8 | 9 | 10 | 11 | include mduem/Makefile 12 | 13 | # __END__ 14 | -------------------------------------------------------------------------------- /bundle/kana-vim-textobj-user-8dc7888/test/plugin.expected: -------------------------------------------------------------------------------- 1 | ==== textobj_user_plugin 2 | ---- It should define default UI key mappings. 3 | ........ 4 | ---- It should define named key mappings. 5 | ...... 6 | ---- It should define an Ex command to define default UI key mappings. 7 | 8 | ---- It should work. 9 | 10 | 11 | 12 | 13 | **** Result **** 14 | 15 | 16 | 14 examples, 0 failures 17 | -------------------------------------------------------------------------------- /bundle/kchmck-vim-coffee-script-9d5af26/copying.md: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2010 to 2011 Mick Koch 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | 15 | 16 | -------------------------------------------------------------------------------- /bundle/kchmck-vim-coffee-script-9d5af26/ftdetect/coffee.vim: -------------------------------------------------------------------------------- 1 | " Language: CoffeeScript 2 | " Maintainer: Mick Koch 3 | " URL: http://github.com/kchmck/vim-coffee-script 4 | " License: WTFPL 5 | 6 | autocmd BufNewFile,BufRead *.coffee set filetype=coffee 7 | autocmd BufNewFile,BufRead *Cakefile set filetype=coffee 8 | -------------------------------------------------------------------------------- /bundle/kchmck-vim-coffee-script-9d5af26/ftdetect/eco.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.eco set filetype=eco 2 | -------------------------------------------------------------------------------- /bundle/kchmck-vim-coffee-script-9d5af26/ftplugin/coffee.vim: -------------------------------------------------------------------------------- 1 | " Language: CoffeeScript 2 | " Maintainer: Mick Koch 3 | " URL: http://github.com/kchmck/vim-coffee-script 4 | " License: WTFPL 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | 10 | let b:did_ftplugin = 1 11 | 12 | setlocal formatoptions-=t formatoptions+=croql 13 | setlocal comments=s:###,m:\ ,e:###,:# 14 | setlocal commentstring=#\ %s 15 | 16 | " Compile some CoffeeScript. 17 | command! -range=% CoffeeCompile ,:w !coffee -scb 18 | 19 | " Compile the current file on write. 20 | if exists("coffee_compile_on_save") 21 | autocmd BufWritePost,FileWritePost *.coffee silent !coffee -c & 22 | endif 23 | -------------------------------------------------------------------------------- /bundle/kchmck-vim-coffee-script-9d5af26/thanks.md: -------------------------------------------------------------------------------- 1 | Thanks to the following contributors: 2 | 3 | Brian Egan (3): 4 | Adding compile functionality to the ftplugin. Must be enabled in .vimrc 5 | Updating the readme with compilation instructions 6 | Updating bad header in readme to make instructions easier to read 7 | 8 | Chris Hoffman (3): 9 | Add new keywoards from, to, and do 10 | Highlight the - in negative integers 11 | Add here regex highlighting, increase fold level for here docs 12 | 13 | Jay Adkisson: 14 | Support for eco templates 15 | 16 | Karl Guertin (1): 17 | Cakefiles are coffeescript 18 | 19 | Simon Lipp (1): 20 | Trailing spaces are not error on lines containing only spaces 21 | 22 | And thanks to anyone who files or has filed a bug report. 23 | -------------------------------------------------------------------------------- /bundle/kchmck-vim-coffee-script-9d5af26/todo.md: -------------------------------------------------------------------------------- 1 | # To do for full support 2 | 3 | - Destructuring assignments like: 4 | 5 | [a, b] = c 6 | {a, b} = c 7 | └──┴─ these should be highlighted as identifiers 8 | 9 | - Smart, lookback outdenting for cases like: 10 | 11 | a = { 12 | b: -> 13 | c 14 | } 15 | └─ bracket should be put here 16 | 17 | - Fix assignments with brackets in these cases: 18 | 19 | a[b] = c[d] 20 | a[b -= c] = d 21 | 22 | and still highlight these correctly: 23 | 24 | a[b] = c 25 | a[b[c]] = d 26 | a[b[c] -= d] = e 27 | -------------------------------------------------------------------------------- /bundle/nelstrom-vim-textobj-rubyblock-ea53988/.gitignore: -------------------------------------------------------------------------------- 1 | Session.vim 2 | -------------------------------------------------------------------------------- /bundle/nelstrom-vim-textobj-rubyblock-ea53988/todo.otl: -------------------------------------------------------------------------------- 1 | [_] dependencies 2 | [_] requres '%' to jump between 'if'/'do'/'def' and 'end' 3 | [_] either 4 | [_] test for this behaviour 5 | or 6 | [_] do not require this behaviour 7 | [_] issues 8 | [_] inner/all behaviour differs if you are on 'e' or 'n/d' of 'end' 9 | [X] inner/all behaviour differs if you are on 'd' or 'o' of 'do' 10 | -------------------------------------------------------------------------------- /bundle/nelstrom-vim-textobj-rubyblock-ea53988/vimballer: -------------------------------------------------------------------------------- 1 | plugin/textobj/rubyblock.vim 2 | doc/textobj-rubyblock.txt 3 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher.old/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | autoload/build 3 | autoload/fuzzycomt.so 4 | 5 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher.old/autoload/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup, Extension 2 | import os, platform 3 | 4 | if os.name == 'nt' and platform.architecture()[0] == '64bit': 5 | extSearch = Extension('fuzzycomt', ['fuzzycomt.c'], extra_compile_args=['-std=c99','-D MS_WIN64']) 6 | else: 7 | extSearch = Extension('fuzzycomt', ['fuzzycomt.c'], extra_compile_args=['-std=c99']) 8 | 9 | 10 | 11 | setup (name = 'fuzzycomt', 12 | version = '0.1', 13 | description = 'Fuzzy search in strings', 14 | ext_modules = [extSearch]) 15 | 16 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher.old/install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd autoload 4 | python setup.py build 5 | cp build/lib*/fuzzycomt.so . 6 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher.old/install_windows.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd autoload 3 | python setup.py build -c mingw32 4 | pushd build\lib* 5 | xcopy fuzzycomt.pyd ..\..\ 6 | popd 7 | popd -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | autoload/build 3 | autoload/fuzzycomt.so 4 | 5 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher/autoload/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup, Extension 2 | import os, platform 3 | 4 | if os.name == 'nt' and platform.architecture()[0] == '64bit': 5 | extSearch = Extension('fuzzycomt', ['fuzzycomt.c'], extra_compile_args=['-D MS_WIN64']) 6 | else: 7 | extSearch = Extension('fuzzycomt', ['fuzzycomt.c']) 8 | 9 | 10 | 11 | setup (name = 'fuzzycomt', 12 | version = '0.1', 13 | description = 'Fuzzy search in strings', 14 | ext_modules = [extSearch]) 15 | 16 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher/install.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | chkPython2() 3 | { 4 | cmd=$1 5 | ret=$($cmd -V 2>&1) 6 | if [[ "$ret" == "Python 2."* ]]; then 7 | return 0 8 | else 9 | return 1 10 | fi 11 | } 12 | 13 | findPython2() 14 | { 15 | cmdlst=("python" "python2" "python27" "python2.7" "python26" "python2.6") 16 | for cmd in "${cmdlst[@]}"; do 17 | if chkPython2 $cmd; then 18 | py=$cmd 19 | break 20 | fi 21 | done 22 | 23 | if [[ $py == "" ]]; then 24 | echo "cannot find python2 automatically" >&2 25 | while true; do 26 | read -p "please input your python2.* command: " cmd 27 | if chkPython2 "$cmd"; then 28 | py=$cmd 29 | break 30 | fi 31 | echo "verify [$cmd] with -V failed" >&2 32 | done 33 | fi 34 | 35 | echo "$py" 36 | } 37 | 38 | py=$(findPython2) 39 | echo "find python2 -> $py" 40 | 41 | cd autoload 42 | $py setup.py build 43 | cp build/lib*/fuzzycomt.so . 44 | -------------------------------------------------------------------------------- /bundle/optional/ctrlp-cmatcher/install_windows.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd autoload 3 | python setup.py build -c mingw32 4 | pushd build\lib* 5 | xcopy fuzzycomt.pyd ..\..\ 6 | popd 7 | popd -------------------------------------------------------------------------------- /bundle/optional/elixir-lang-vim-elixir-a4fbd1/README.md: -------------------------------------------------------------------------------- 1 | # vim-elixir 2 | 3 | This project contains some Vim configuration files to work with [Elixir](http://elixir-lang.org). 4 | 5 | So far it's included: 6 | 7 | * Syntax highlighting 8 | 9 | * Filetype detection 10 | 11 | * Auto indentation 12 | 13 | ## Install 14 | 15 | * Copy the files to your `~/.vim` directory. 16 | 17 | * If you use vim-pathogen you can clone this repo into `~/.vim/bundle` 18 | 19 | ## Snippets 20 | 21 | If you are looking for snipmate snippets take a look at: [elixir-snippets](https://github.com/carlosgaldino/elixir-snippets) 22 | -------------------------------------------------------------------------------- /bundle/optional/elixir-lang-vim-elixir-a4fbd1/ftdetect/elixir.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.ex,*.exs set filetype=elixir 2 | au FileType elixir setl sw=2 sts=2 et -------------------------------------------------------------------------------- /bundle/optional/elixir-lang-vim-elixir-a4fbd1/ftplugin/elixir.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: Elixir 3 | " Maintainer: Carlos Galdino 4 | " URL: https://github.com/elixir-lang/vim-elixir 5 | 6 | if (exists("b:did_ftplugin")) 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | setlocal comments=:# 12 | setlocal commentstring=#\ %s 13 | -------------------------------------------------------------------------------- /bundle/optional/factor/ftdetect/factor.vim: -------------------------------------------------------------------------------- 1 | autocmd BufRead,BufNewFile *.factor,{,.}factor*-rc set filetype=factor 2 | -------------------------------------------------------------------------------- /bundle/optional/factor/ftplugin/factor.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Factor 3 | " Maintainer: Tim Allen 4 | " Last Change: 2011 Apr 05 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | let b:did_ftplugin = 1 11 | 12 | " Code formatting settings loosely adapted from: 13 | " http://concatenative.org/wiki/view/Factor/Coding%20Style 14 | 15 | " Tabs are not allowed in Factor source files; use four spaces instead. 16 | setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 17 | 18 | " Try to limit lines to 64 characters, except for documentation, which can be 19 | " any length. 20 | if expand("%:t") !~ "-docs\.factor$" 21 | setlocal textwidth=64 22 | 23 | " Mark anything in column 64 or beyond as a syntax error. 24 | match Error /\%>63v.\+/ 25 | endif 26 | 27 | " Teach Vim what comments look like. 28 | setlocal comments+=b:!,b:#! 29 | -------------------------------------------------------------------------------- /bundle/optional/feature/ftdetect/feature.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.feature,*_feature set ft=feature 2 | 3 | -------------------------------------------------------------------------------- /bundle/optional/feature/ftplugin/feature.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: Cucumber Feature 3 | " Maintainer: Ben Mabey 4 | " Original Author: Mike Vincent (http://github.com/agile/vim-story/) 5 | " Last Change: 2008 Nov 03 6 | 7 | " Only do this when not done yet for this buffer 8 | if (exists("b:did_ftplugin")) 9 | finish 10 | endif 11 | let b:did_ftplugin = 1 12 | 13 | let b:feature_dir = expand("%:p:h") 14 | let &l:path = fnamemodify(b:feature_dir, ':h').",".&l:path 15 | let b:undo_ftplugin = "setl path<" 16 | 17 | " setlocal textwidth=72 18 | setlocal expandtab 19 | setlocal shiftwidth=2 20 | setlocal tabstop=2 21 | setlocal nospell 22 | 23 | " TODO: Write a helper function that will grab a selected block of 24 | " Given, When, Then, And statements and open the alternate file and 25 | " create step stubs 26 | " 27 | " TODO: make it so when a feature/step is saved it's run and the output is 28 | " tossed into a preview window.. 29 | -------------------------------------------------------------------------------- /bundle/optional/gist-vim/plugin/gist.vim: -------------------------------------------------------------------------------- 1 | "============================================================================= 2 | " File: gist.vim 3 | " Author: Yasuhiro Matsumoto 4 | " WebPage: http://github.com/mattn/gist-vim 5 | " License: BSD 6 | " GetLatestVimScripts: 2423 1 :AutoInstall: gist.vim 7 | " script type: plugin 8 | 9 | if &cp || (exists('g:loaded_gist_vim') && g:loaded_gist_vim) 10 | finish 11 | endif 12 | let g:loaded_gist_vim = 1 13 | 14 | if !exists('g:github_user') && !executable('git') 15 | echohl ErrorMsg | echomsg "Gist: require 'git' command" | echohl None 16 | finish 17 | endif 18 | 19 | if !executable('curl') 20 | echohl ErrorMsg | echomsg "Gist: require 'curl' command" | echohl None 21 | finish 22 | endif 23 | 24 | command! -nargs=? -range=% Gist :call gist#Gist(, , , ) 25 | 26 | " vim:set et: 27 | -------------------------------------------------------------------------------- /bundle/optional/godlygeek-tabular-b7b4d8/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/optional/gundo/README.markdown: -------------------------------------------------------------------------------- 1 | 2 | Flattr this 3 | 4 | Gundo.vim is Vim plugin to visualize your Vim undo tree. 5 | 6 | Preview 7 | ------- 8 | 9 | Screencast: 10 | 11 | ### [http://screenr.com/M9l](http://screenr.com/M9l) 12 | 13 | Screenshot: 14 | 15 | gundo 16 | 17 | Requirements 18 | ------------ 19 | 20 | * Vim 7.3+ 21 | * Python support for Vim 22 | * Python 2.4+ 23 | 24 | Installation and Usage 25 | ---------------------- 26 | 27 | Check out the [project site][] for installation instructions. 28 | 29 | [project site]: http://sjl.bitbucket.org/gundo.vim/ 30 | 31 | License 32 | ------- 33 | 34 | GPLv2+, just like Mercurial. 35 | -------------------------------------------------------------------------------- /bundle/optional/merb/ftdetect/merb.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile Capfile set ft=ruby 2 | au BufRead,BufNewFile */config/router.rb set ft=ruby.merb_router 3 | au BufRead,BufNewFile *.yml.sample set ft=yaml 4 | au BufRead,BufNewFile */schema/migrations/*.rb set ft=ruby.datamapper_migration 5 | au BufRead,BufNewFile */app/models/*.rb set ft=ruby.datamapper 6 | au BufRead,BufNewFile */app/mailers/*.rb set ft=ruby.merb_mailer 7 | au BufRead,BufNewFile */app/controllers/*.rb set ft=ruby.merb_controller 8 | au BufRead,BufNewFile */app/{mailers/,}views/*.erb set ft=eruby.merb_view 9 | au BufRead,BufNewFile *.haml set ft=haml " http://www.vim.org/scripts/script.php?script_id=1773 10 | au BufRead,BufNewFile *.feature set ft=feature 11 | au BufRead,BufNewFile */public/javascripts/*.js set ft=javascript.jquery 12 | -------------------------------------------------------------------------------- /bundle/optional/merb/ftplugin/merb_controller.vim: -------------------------------------------------------------------------------- 1 | " Vim ftplugin file 2 | " Language: Merb controller 3 | " Maintainer: Bruno Michel 4 | " Last Change: Oct 16, 2008 5 | " Version: 0.1 6 | " URL: http://www.merbivore.org/ 7 | 8 | inorea logd Merb.logger.debug 9 | inorea logi Merb.logger.info 10 | inorea logw Merb.logger.warn 11 | inorea loge Merb.logger.error 12 | inorea logf Merb.logger.fatal 13 | -------------------------------------------------------------------------------- /bundle/optional/merb/syntax/merb_mailer.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: Merb Mailer 3 | " Maintainer: Bruno Michel 4 | " Last Change: Oct 14, 2008 5 | " Version: 0.1 6 | " URL: http://www.merbivore.com/ 7 | 8 | if exists("b:current_syntax") && b:current_syntax =~ "merb_mailer" 9 | finish 10 | endif 11 | 12 | 13 | syn case match 14 | 15 | syn keyword mrUrl absolute_url relative_url url 16 | syn keyword mrRender render_mail attach 17 | 18 | 19 | " Define the default highlighting. 20 | " For version 5.7 and earlier: only when not done already 21 | " For version 5.8 and later: only when an item doesn't have highlighting yet 22 | if version >= 508 || !exists("did_lisp_syntax_inits") 23 | if version < 508 24 | let did_lisp_syntax_inits = 1 25 | command -nargs=+ HiLink hi link 26 | else 27 | command -nargs=+ HiLink hi def link 28 | endif 29 | 30 | HiLink mrUrl Keyword 31 | HiLink mrRender Keyword 32 | 33 | delcommand HiLink 34 | endif 35 | 36 | 37 | let b:current_syntax = 'ruby.merb_mailer' 38 | -------------------------------------------------------------------------------- /bundle/optional/nerdtree/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | tags 4 | -------------------------------------------------------------------------------- /bundle/optional/rking-ag.vim-f01343/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | ag-vim.tgz 3 | -------------------------------------------------------------------------------- /bundle/optional/rking-ag.vim-f01343/Rakefile: -------------------------------------------------------------------------------- 1 | task :tgz do 2 | sh 'cd ..; tar czvf ag/ag-vim.tgz ag/{plugin,autoload,doc}' 3 | end 4 | -------------------------------------------------------------------------------- /bundle/optional/rking-ag.vim-f01343/plugin/ag.vim: -------------------------------------------------------------------------------- 1 | " NOTE: You must, of course, install ag / the_silver_searcher 2 | command! -bang -nargs=* -complete=file Ag call ag#Ag('grep',) 3 | command! -bang -nargs=* -complete=file AgAdd call ag#Ag('grepadd', ) 4 | command! -bang -nargs=* -complete=file AgFromSearch call ag#AgFromSearch('grep', ) 5 | command! -bang -nargs=* -complete=file LAg call ag#Ag('lgrep', ) 6 | command! -bang -nargs=* -complete=file LAgAdd call ag#Ag('lgrepadd', ) 7 | command! -bang -nargs=* -complete=file AgFile call ag#Ag('grep -g', ) 8 | command! -bang -nargs=* -complete=help AgHelp call ag#AgHelp('grep',) 9 | command! -bang -nargs=* -complete=help LAgHelp call ag#AgHelp('lgrep',) 10 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/doc/slimv.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomicobject/atomic_vim/afeb30f0f0374c781e74fcf791f98a4107dfeaf9/bundle/optional/slimv092/doc/slimv.txt -------------------------------------------------------------------------------- /bundle/optional/slimv092/ftdetect/clojure.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.clj setf clojure 2 | 3 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/indent/clojure.vim: -------------------------------------------------------------------------------- 1 | " clojure.vim: 2 | " Clojure indent plugin for Slimv 3 | " Version: 0.9.2 4 | " Last Change: 21 Oct 2011 5 | " Maintainer: Tamas Kovacs 6 | " License: This file is placed in the public domain. 7 | " No warranty, express or implied. 8 | " *** *** Use At-Your-Own-Risk! *** *** 9 | " 10 | " ===================================================================== 11 | " 12 | " Load Once: 13 | if exists("b:did_indent") 14 | finish 15 | endif 16 | 17 | runtime indent/**/lisp.vim 18 | 19 | setlocal nolisp 20 | setlocal autoindent 21 | setlocal expandtab 22 | setlocal indentexpr=SlimvIndent(v:lnum) 23 | 24 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/indent/lisp.vim: -------------------------------------------------------------------------------- 1 | " lisp.vim: 2 | " Lisp indent plugin for Slimv 3 | " Version: 0.9.2 4 | " Last Change: 21 Oct 2011 5 | " Maintainer: Tamas Kovacs 6 | " License: This file is placed in the public domain. 7 | " No warranty, express or implied. 8 | " *** *** Use At-Your-Own-Risk! *** *** 9 | " 10 | " ===================================================================== 11 | " 12 | " Load Once: 13 | if exists("b:did_indent") 14 | finish 15 | endif 16 | 17 | setlocal nolisp 18 | setlocal autoindent 19 | setlocal expandtab 20 | setlocal indentexpr=SlimvIndent(v:lnum) 21 | 22 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/slime/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomicobject/atomic_vim/afeb30f0f0374c781e74fcf791f98a4107dfeaf9/bundle/optional/slimv092/slime/ChangeLog -------------------------------------------------------------------------------- /bundle/optional/slimv092/slime/contrib/swank-hyperdoc.lisp: -------------------------------------------------------------------------------- 1 | (in-package :swank) 2 | 3 | (defslimefun hyperdoc (string) 4 | (let ((hyperdoc-package (find-package :hyperdoc))) 5 | (when hyperdoc-package 6 | (multiple-value-bind (symbol foundp symbol-name package) 7 | (parse-symbol string *buffer-package*) 8 | (declare (ignore symbol)) 9 | (when foundp 10 | (funcall (find-symbol (string :lookup) hyperdoc-package) 11 | (package-name (if (member package (cons *buffer-package* 12 | (package-use-list 13 | *buffer-package*))) 14 | *buffer-package* 15 | package)) 16 | symbol-name)))))) 17 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/slime/contrib/swank-media.lisp: -------------------------------------------------------------------------------- 1 | ;;; swank-media.lisp --- insert other media (images) 2 | ;; 3 | ;; Authors: Christophe Rhodes 4 | ;; 5 | ;; Licence: GPLv2 or later 6 | ;; 7 | 8 | (in-package :swank) 9 | 10 | ;; this file is empty of functionality. The slime-media contrib 11 | ;; allows swank to return messages other than :write-string as repl 12 | ;; results; this is used in the R implementation of swank to display R 13 | ;; objects with graphical representations (such as trellis objects) as 14 | ;; image presentations in the swank repl. In R, this is done by 15 | ;; having a hook function for the preparation of the repl results, in 16 | ;; addition to the already-existing hook for sending the repl results 17 | ;; (*send-repl-results-function*, used by swank-presentations.lisp). 18 | ;; The swank-media.R contrib implementation defines a generic function 19 | ;; for use as this hook, along with methods for commonly-encountered 20 | ;; graphical R objects. (This strategy is harder in CL, where methods 21 | ;; can only be defined if their specializers already exist; in R's S3 22 | ;; object system, methods are ordinary functions with a special naming 23 | ;; convention) 24 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/slime/start-swank.lisp: -------------------------------------------------------------------------------- 1 | ;;; This file is intended to be loaded by an implementation to 2 | ;;; get a running swank server 3 | ;;; e.g. sbcl --load start-swank.lisp 4 | ;;; 5 | ;;; Default port is 4005 6 | ;;; Default encoding is "iso-latin-1-unix" 7 | ;;; see Emacs variable `slime-net-valid-coding-systems' for possible values. 8 | 9 | ;;; For additional swank-side configurations see 10 | ;;; 6.2 section of the Slime user manual. 11 | ;;; 12 | ;;; Modified for Slimv: 13 | ;;; - load contribs 14 | ;;; - don't close connection 15 | 16 | (load (merge-pathnames "swank-loader.lisp" *load-truename*)) 17 | 18 | (swank-loader:init 19 | :delete nil ; delete any existing SWANK packages 20 | :reload nil ; reload SWANK, even if the SWANK package already exists 21 | :load-contribs t) ; load all contribs 22 | 23 | (swank:create-server :port 4005 24 | :coding-system "utf-8-unix" 25 | 26 | ;; if non-nil the connection won't be closed 27 | ;; after connecting 28 | :dont-close t) 29 | 30 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/project.clj: -------------------------------------------------------------------------------- 1 | (defproject swank-clojure "1.3.0" 2 | :description "Swank server connecting Clojure to Emacs SLIME" 3 | :url "http://github.com/technomancy/swank-clojure" 4 | :dependencies [[org.clojure/clojure "1.2.0"]] 5 | :dev-dependencies [[lein-multi "1.0.0"]] 6 | :multi-deps {"1.1" [[org.clojure/clojure "1.1.0"] 7 | [org.clojure/clojure-contrib "1.1.0"]] 8 | "1.3" [[org.clojure/clojure "1.3.0-master-SNAPSHOT"]]} 9 | :shell-wrapper {:main swank.swank}) 10 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/clj_contrib/macroexpand.clj: -------------------------------------------------------------------------------- 1 | (ns swank.clj-contrib.macroexpand) 2 | 3 | (def 4 | #^{:private true} 5 | walk-enabled? 6 | (.getResource (clojure.lang.RT/baseLoader) "clojure/contrib/macro_utils.clj")) 7 | 8 | (when walk-enabled? 9 | (require 'clojure.contrib.macro-utils)) 10 | 11 | (defmacro macroexpand-all* [form] 12 | (if walk-enabled? 13 | `(clojure.contrib.macro-utils/mexpand-all ~form) 14 | `(macroexpand ~form))) 15 | 16 | (defn macroexpand-all [form] 17 | (macroexpand-all* form)) -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/commands.clj: -------------------------------------------------------------------------------- 1 | (ns swank.commands) 2 | 3 | (defonce slime-fn-map {}) 4 | 5 | (defmacro defslimefn 6 | ([fname & body] 7 | `(alter-var-root #'slime-fn-map 8 | assoc 9 | (symbol "swank" ~(name fname)) 10 | (defn ~fname ~@body))) 11 | {:indent 'defun}) 12 | 13 | (defn slime-fn [sym] 14 | (slime-fn-map (symbol "swank" (name sym)))) -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/commands/contrib.clj: -------------------------------------------------------------------------------- 1 | (ns swank.commands.contrib 2 | (:use (swank util core commands))) 3 | 4 | (defslimefn swank-require [keys] 5 | (binding [*ns* (find-ns 'swank.commands.contrib)] 6 | (doseq [k (if (seq? keys) keys (list keys))] 7 | (try 8 | (require (symbol (str "swank.commands.contrib." (name k)))) 9 | (catch java.io.FileNotFoundException fne nil))))) -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/commands/contrib/swank_c_p_c.clj: -------------------------------------------------------------------------------- 1 | (ns swank.commands.contrib.swank-c-p-c 2 | (:use (swank util core commands) 3 | (swank.commands completion) 4 | (swank.util string clojure) 5 | (swank.commands.contrib.swank-c-p-c internal))) 6 | 7 | (defslimefn completions [symbol-string package] 8 | (try 9 | (let [[sym-ns sym-name] (symbol-name-parts symbol-string) 10 | potential (concat 11 | (potential-completions 12 | (when sym-ns (symbol sym-ns)) 13 | (ns-name (maybe-ns package))) 14 | (potential-classes-on-path symbol-string)) 15 | matches (seq (sort (filter #(split-compound-prefix-match? symbol-string %) potential)))] 16 | (list matches 17 | (if matches 18 | (reduce largest-common-prefix matches) 19 | symbol-string))) 20 | (catch java.lang.Throwable t 21 | (list nil symbol-string)))) 22 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/core/hooks.clj: -------------------------------------------------------------------------------- 1 | (ns swank.core.hooks 2 | (:use (swank.util hooks))) 3 | 4 | (defhook pre-reply-hook) -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/core/threadmap.clj: -------------------------------------------------------------------------------- 1 | (ns swank.core.threadmap 2 | (:use (swank util) 3 | (swank.util.concurrent thread))) 4 | 5 | (defonce thread-map-next-id (ref 1)) 6 | (defonce thread-map (ref {})) 7 | 8 | (defn- thread-map-clean [] 9 | (doseq [[id t] @thread-map] 10 | (when (or (nil? t) 11 | (not (thread-alive? t))) 12 | (dosync 13 | (alter thread-map dissoc id))))) 14 | 15 | (defn- get-thread-id [thread] 16 | (if-let [entry (find-first #(= (val %) thread) @thread-map)] 17 | (key entry) 18 | (let [next-id @thread-map-next-id] 19 | (alter thread-map assoc next-id thread) 20 | (alter thread-map-next-id inc) 21 | next-id))) 22 | 23 | (defn thread-map-id [thread] 24 | (returning [id (dosync (get-thread-id thread))] 25 | (thread-map-clean))) 26 | 27 | (defn find-thread [id] 28 | (@thread-map id)) 29 | 30 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/dev.clj: -------------------------------------------------------------------------------- 1 | (ns swank.dev 2 | (:use (swank util))) 3 | 4 | (defmacro with-swank-io [& body] 5 | `(binding [*out* @(:writer-redir (first @swank.core.server/connections))] 6 | ~@body)) 7 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/util/clojure.clj: -------------------------------------------------------------------------------- 1 | (ns swank.util.clojure) 2 | 3 | (defn unmunge 4 | "Converts a javafied name to a clojure symbol name" 5 | ([#^String name] 6 | (reduce (fn [#^String s [to from]] 7 | (.replaceAll s from (str to))) 8 | name 9 | clojure.lang.Compiler/CHAR_MAP))) 10 | 11 | (defn ns-path 12 | "Returns the path form of a given namespace" 13 | ([#^clojure.lang.Namespace ns] 14 | (let [#^String ns-str (name (ns-name ns))] 15 | (-> ns-str 16 | (.substring 0 (.lastIndexOf ns-str ".")) 17 | (.replace \- \_) 18 | (.replace \. \/))))) 19 | 20 | (defn symbol-name-parts 21 | "Parses a symbol name into a namespace and a name. If name doesn't 22 | contain a namespace, the default-ns is used (nil if none provided)." 23 | ([symbol] 24 | (symbol-name-parts symbol nil)) 25 | ([#^String symbol default-ns] 26 | (let [ns-pos (.indexOf symbol (int \/))] 27 | (if (= ns-pos -1) ;; namespace found? 28 | [default-ns symbol] 29 | [(.substring symbol 0 ns-pos) (.substring symbol (inc ns-pos))])))) 30 | 31 | (defn resolve-ns [sym ns] 32 | (or (find-ns sym) 33 | (get (ns-aliases ns) sym))) -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/util/concurrent/mbox.clj: -------------------------------------------------------------------------------- 1 | (ns swank.util.concurrent.mbox 2 | (:refer-clojure :exclude [send get])) 3 | 4 | ;; Holds references to the mailboxes (message queues) 5 | (defonce mailboxes (ref {})) 6 | 7 | (defn get 8 | "Returns the mailbox for a given id. Creates one if one does not 9 | already exist." 10 | ([id] 11 | (dosync 12 | (when-not (@mailboxes id) 13 | (alter mailboxes assoc 14 | id (java.util.concurrent.LinkedBlockingQueue.)))) 15 | (@mailboxes id)) 16 | {:tag java.util.concurrent.LinkedBlockingQueue}) 17 | 18 | (defn send 19 | "Sends a message to a given id." 20 | ([id message] 21 | (let [mbox (get id)] 22 | (.put mbox message)))) 23 | 24 | (defn receive 25 | "Blocking recieve for messages for the given id." 26 | ([id] 27 | (let [mb (get id)] 28 | (.take mb)))) 29 | 30 | (defn clean [] 31 | ) 32 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/util/hooks.clj: -------------------------------------------------------------------------------- 1 | (ns swank.util.hooks) 2 | 3 | (defmacro defhook [name & hooks] 4 | `(defonce ~name (ref (list ~@hooks)))) 5 | 6 | ;;;; Hooks 7 | (defn add-hook [place function] 8 | (dosync (alter place conj function))) 9 | 10 | (defn run-hook [functions & arguments] 11 | (doseq [f @functions] 12 | (apply f arguments))) 13 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/util/java.clj: -------------------------------------------------------------------------------- 1 | (ns swank.util.java) 2 | 3 | (defn member-name [#^java.lang.reflect.Member member] 4 | (.getName member)) 5 | 6 | (defn member-static? [#^java.lang.reflect.Member member] 7 | (java.lang.reflect.Modifier/isStatic (.getModifiers member))) 8 | 9 | (defn static-methods [#^Class class] 10 | (filter member-static? (.getMethods class))) 11 | 12 | (defn static-fields [#^Class class] 13 | (filter member-static? (.getDeclaredFields class))) 14 | 15 | (defn instance-methods [#^Class class] 16 | (remove member-static? (.getMethods class))) 17 | -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/util/string.clj: -------------------------------------------------------------------------------- 1 | (ns swank.util.string) 2 | 3 | (defn largest-common-prefix 4 | "Returns the largest common prefix of two strings." 5 | ([#^String a, #^String b] 6 | (apply str (take-while (comp not nil?) (map #(when (= %1 %2) %1) a b)))) 7 | {:tag String}) 8 | 9 | (defn char-position 10 | "Finds the position of a character within a string, optionally 11 | provide a starting index. Returns nil if none is found." 12 | ([c str] (char-position c str 0)) 13 | ([#^Character c #^String str #^Integer start] 14 | (let [idx (.indexOf str (int c) start)] 15 | (when (not= -1 idx) 16 | idx)))) -------------------------------------------------------------------------------- /bundle/optional/slimv092/swank-clojure/swank/util/sys.clj: -------------------------------------------------------------------------------- 1 | (ns swank.util.sys) 2 | 3 | (defn get-pid 4 | "Returns the PID of the JVM. This is largely a hack and may or may 5 | not be accurate depending on the JVM in which clojure is running 6 | off of." 7 | ([] 8 | (or (first (.. java.lang.management.ManagementFactory (getRuntimeMXBean) (getName) (split "@"))) 9 | (System/getProperty "pid"))) 10 | {:tag String}) 11 | 12 | (defn user-home-path [] 13 | (System/getProperty "user.home")) 14 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | tags 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/LICENCE: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/_assets/screenshot_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomicobject/atomic_vim/afeb30f0f0374c781e74fcf791f98a4107dfeaf9/bundle/optional/syntastic/_assets/screenshot_1.png -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/cpp/clang_check.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: clang_check.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Benjamin Bannier 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | "============================================================================ 11 | 12 | if exists("g:loaded_syntastic_cpp_clang_check_checker") 13 | finish 14 | endif 15 | let g:loaded_syntastic_cpp_clang_check_checker = 1 16 | 17 | runtime! syntax_checkers/c/*.vim 18 | 19 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 20 | \ 'filetype': 'cpp', 21 | \ 'name': 'clang_check', 22 | \ 'exec': 'clang-check', 23 | \ 'redirect': 'c/clang_check'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/cpp/clang_tidy.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: clang_tidy.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Benjamin Bannier 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | "============================================================================ 11 | 12 | if exists("g:loaded_syntastic_cpp_clang_tidy_checker") 13 | finish 14 | endif 15 | let g:loaded_syntastic_cpp_clang_tidy_checker = 1 16 | 17 | runtime! syntax_checkers/c/*.vim 18 | 19 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 20 | \ 'filetype': 'cpp', 21 | \ 'name': 'clang_tidy', 22 | \ 'exec': 'clang-tidy', 23 | \ 'redirect': 'c/clang_tidy'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/cpp/cppcheck.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: cppcheck.vim 3 | "Description: Syntax checking plugin for syntastic.vim using cppcheck.pl 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | "============================================================================ 11 | 12 | if exists("g:loaded_syntastic_cpp_cppcheck_checker") 13 | finish 14 | endif 15 | let g:loaded_syntastic_cpp_cppcheck_checker = 1 16 | 17 | runtime! syntax_checkers/c/*.vim 18 | 19 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 20 | \ 'filetype': 'cpp', 21 | \ 'name': 'cppcheck', 22 | \ 'redirect': 'c/cppcheck'}) 23 | 24 | " vim: set sw=4 sts=4 et fdm=marker: 25 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/cpp/oclint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: oclint.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: "UnCO" Lin 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | "============================================================================ 11 | 12 | if exists("g:loaded_syntastic_cpp_oclint_checker") 13 | finish 14 | endif 15 | let g:loaded_syntastic_cpp_oclint_checker = 1 16 | 17 | runtime! syntax_checkers/c/*.vim 18 | 19 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 20 | \ 'filetype': 'cpp', 21 | \ 'name': 'oclint', 22 | \ 'redirect': 'c/oclint'}) 23 | 24 | " vim: set sw=4 sts=4 et fdm=marker: 25 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/cpp/pc_lint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: pc_lint.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Steve Bragg 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_cpp_pc_lint_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_cpp_pc_lint_checker = 1 17 | 18 | runtime! syntax_checkers/c/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'cpp', 22 | \ 'name': 'pc_lint', 23 | \ 'exec': 'lint-nt', 24 | \ 'redirect': 'c/pc_lint'}) 25 | 26 | " vim: set sw=4 sts=4 et fdm=marker: 27 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/css/phpcs.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: phpcs.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_css_phpcs_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_css_phpcs_checker = 1 17 | 18 | runtime! syntax_checkers/php/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'css', 22 | \ 'name': 'phpcs', 23 | \ 'redirect': 'php/phpcs'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/css/recess.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: recess.vim 3 | "Description: Syntax checking plugin for syntastic.vim using `recess` 4 | " (http://twitter.github.io/recess/). 5 | "Maintainer: Tim Carry 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 | 14 | if exists("g:loaded_syntastic_css_recess_checker") 15 | finish 16 | endif 17 | let g:loaded_syntastic_css_recess_checker = 1 18 | 19 | runtime! syntax_checkers/less/*.vim 20 | 21 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 22 | \ 'filetype': 'css', 23 | \ 'name': 'recess', 24 | \ 'redirect': 'less/recess'}) 25 | 26 | " vim: set sw=4 sts=4 et fdm=marker: 27 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/docbk/xmllint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: docbk.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Martin Grenfell 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_docbk_xmllint_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_docbk_xmllint_checker = 1 17 | 18 | runtime! syntax_checkers/xml/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'docbk', 22 | \ 'name': 'xmllint', 23 | \ 'redirect': 'xml/xmllint'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/haskell/hlint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: hlint.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Nicolas Wu 5 | "License: BSD 6 | "============================================================================ 7 | 8 | if exists('g:loaded_syntastic_haskell_hlint_checker') 9 | finish 10 | endif 11 | let g:loaded_syntastic_haskell_hlint_checker = 1 12 | 13 | let s:save_cpo = &cpo 14 | set cpo&vim 15 | 16 | function! SyntaxCheckers_haskell_hlint_GetLocList() dict 17 | let makeprg = self.makeprgBuild({ 18 | \ 'fname': syntastic#util#shexpand('%:p')}) 19 | 20 | let errorformat = 21 | \ '%E%f:%l:%v: Error: %m,' . 22 | \ '%W%f:%l:%v: Warning: %m,' . 23 | \ '%C%m' 24 | 25 | return SyntasticMake({ 26 | \ 'makeprg': makeprg, 27 | \ 'errorformat': errorformat, 28 | \ 'defaults': {'vcol': 1}, 29 | \ 'postprocess': ['compressWhitespace'] }) 30 | endfunction 31 | 32 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 33 | \ 'filetype': 'haskell', 34 | \ 'name': 'hlint'}) 35 | 36 | let &cpo = s:save_cpo 37 | unlet s:save_cpo 38 | 39 | " vim: set sw=4 sts=4 et fdm=marker: 40 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/less/less-lint.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | fs = require 'fs' 4 | less = require 'less' 5 | args = process.argv.slice(1) 6 | options = {} 7 | 8 | args = args.filter (arg) -> 9 | match = arg.match(/^-I(.+)$/) 10 | if match 11 | options.paths.push(match[1]); 12 | return false 13 | 14 | match = arg.match(/^--?([a-z][\-0-9a-z]*)(?:=([^\s]+))?$/i) 15 | if match 16 | arg = match[1] 17 | else 18 | return arg 19 | 20 | switch arg 21 | when 'strict-imports' then options.strictImports = true 22 | when 'include-path' 23 | options.paths = match[2].split(if os.type().match(/Windows/) then ';' else ':') 24 | .map (p) -> 25 | if p 26 | return path.resolve(process.cwd(), p) 27 | when 'O0' then options.optimization = 0 28 | when 'O1' then options.optimization = 1 29 | when 'O2' then options.optimization = 2 30 | 31 | options.filename = args[1] 32 | 33 | parser = new(less.Parser) options 34 | 35 | fs.readFile(options.filename, 'utf-8', (err,data) -> 36 | parser.parse(data, (err, tree) -> 37 | if err 38 | less.writeError err 39 | process.exit(1) 40 | ) 41 | ) 42 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/nroff/igor.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: igor.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists('g:loaded_syntastic_nroff_igor_checker') 14 | finish 15 | endif 16 | let g:loaded_syntastic_nroff_igor_checker = 1 17 | 18 | runtime! syntax_checkers/docbk/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'nroff', 22 | \ 'name': 'igor', 23 | \ 'redirect': 'docbk/igor'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/objc/oclint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: oclint.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: "UnCO" Lin 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | "============================================================================ 11 | 12 | if exists("g:loaded_syntastic_objc_oclint_checker") 13 | finish 14 | endif 15 | let g:loaded_syntastic_objc_oclint_checker = 1 16 | 17 | runtime! syntax_checkers/c/*.vim 18 | 19 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 20 | \ 'filetype': 'objc', 21 | \ 'name': 'oclint', 22 | \ 'redirect': 'c/oclint'}) 23 | 24 | " vim: set sw=4 sts=4 et fdm=marker: 25 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/objcpp/oclint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: oclint.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: "UnCO" Lin 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | "============================================================================ 11 | 12 | if exists("g:loaded_syntastic_objcpp_oclint_checker") 13 | finish 14 | endif 15 | let g:loaded_syntastic_objcpp_oclint_checker = 1 16 | 17 | runtime! syntax_checkers/c/*.vim 18 | 19 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 20 | \ 'filetype': 'objcpp', 21 | \ 'name': 'oclint', 22 | \ 'redirect': 'c/oclint'}) 23 | 24 | " vim: set sw=4 sts=4 et fdm=marker: 25 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/perl/podchecker.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: podchecker.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_perl_podchecker_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_perl_podchecker_checker = 1 17 | 18 | runtime! syntax_checkers/pod/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'perl', 22 | \ 'name': 'podchecker', 23 | \ 'redirect': 'pod/podchecker'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/python/codec.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from __future__ import print_function 4 | from sys import argv, exit 5 | 6 | import codecs 7 | import re 8 | import os 9 | 10 | 11 | if len(argv) != 2: 12 | exit(1) 13 | 14 | try: 15 | with open(argv[1]) as fle: 16 | text = fle.readlines() 17 | 18 | if text: 19 | match = re.match(r"#\s*coding\s*:\s*(?P\w+)", text[0]) 20 | if match: 21 | text = codecs.lookup(match.groupdict()["coding"]).incrementaldecoder().decode( 22 | ''.join(text).encode('utf-8')).encode('utf-8') 23 | 24 | if isinstance(text, list): 25 | text = ''.join(text).encode('utf-8') 26 | 27 | compile(text, argv[1], 'exec', 0, 1) 28 | except SyntaxError as err: 29 | print('%s:%s:%s: %s' % (err.filename, err.lineno, err.offset, err.msg)) 30 | except Exception as err: 31 | print('%s:%s:%s: %s' % (os.path.abspath(argv[1]), 1, 0, err)) 32 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/python/compile.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from __future__ import print_function 4 | from sys import argv, exit 5 | 6 | 7 | if len(argv) != 2: 8 | exit(1) 9 | 10 | try: 11 | compile(open(argv[1]).read(), argv[1], 'exec', 0, 1) 12 | except SyntaxError as err: 13 | print('%s:%s:%s: %s' % (err.filename, err.lineno, err.offset, err.msg)) 14 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/python/mypy.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: mypy.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Author: Russ Hewgill 5 | " 6 | "============================================================================ 7 | 8 | if exists("g:loaded_syntastic_python_mypy_checker") 9 | finish 10 | endif 11 | let g:loaded_syntastic_python_mypy_checker = 1 12 | 13 | let s:save_cpo = &cpo 14 | set cpo&vim 15 | 16 | function! SyntaxCheckers_python_mypy_GetLocList() dict 17 | let makeprg = self.makeprgBuild({}) 18 | 19 | let errorformat = '%f\, line %l: %m' 20 | 21 | return SyntasticMake({ 22 | \ 'makeprg': makeprg, 23 | \ 'errorformat': errorformat, 24 | \ 'defaults': { 'type': 'E' }, 25 | \ 'returns': [0, 1] }) 26 | endfunction 27 | 28 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 29 | \ 'filetype': 'python', 30 | \ 'name': 'mypy'}) 31 | 32 | let &cpo = s:save_cpo 33 | unlet s:save_cpo 34 | 35 | " vim: set sw=4 sts=4 et fdm=marker: 36 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/python/py3kwarn.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: py3kwarn.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Authors: Liam Curry 5 | " 6 | "============================================================================ 7 | 8 | if exists("g:loaded_syntastic_python_py3kwarn_checker") 9 | finish 10 | endif 11 | let g:loaded_syntastic_python_py3kwarn_checker = 1 12 | 13 | let s:save_cpo = &cpo 14 | set cpo&vim 15 | 16 | function! SyntaxCheckers_python_py3kwarn_GetLocList() dict 17 | let makeprg = self.makeprgBuild({}) 18 | 19 | let errorformat = '%W%f:%l:%c: %m' 20 | 21 | let env = syntastic#util#isRunningWindows() ? {} : { 'TERM': 'dumb' } 22 | 23 | return SyntasticMake({ 24 | \ 'makeprg': makeprg, 25 | \ 'errorformat': errorformat, 26 | \ 'env': env }) 27 | endfunction 28 | 29 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 30 | \ 'filetype': 'python', 31 | \ 'name': 'py3kwarn'}) 32 | 33 | let &cpo = s:save_cpo 34 | unlet s:save_cpo 35 | 36 | " vim: set sw=4 sts=4 et fdm=marker: 37 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/scss/sass.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: scss.vim 3 | "Description: scss syntax checking plugin for syntastic 4 | "Maintainer: Martin Grenfell 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_scss_sass_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_scss_sass_checker = 1 17 | 18 | runtime! syntax_checkers/sass/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'scss', 22 | \ 'name': 'sass', 23 | \ 'redirect': 'sass/sass'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/scss/sassc.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: sassc.vim 3 | "Description: Syntax checking plugin for syntastic 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_scss_sassc_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_scss_sassc_checker = 1 17 | 18 | runtime! syntax_checkers/sass/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'scss', 22 | \ 'name': 'sassc', 23 | \ 'redirect': 'sass/sassc'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/text/igor.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: igor.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists('g:loaded_syntastic_text_igor_checker') 14 | finish 15 | endif 16 | let g:loaded_syntastic_text_igor_checker = 1 17 | 18 | runtime! syntax_checkers/docbk/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'text', 22 | \ 'name': 'igor', 23 | \ 'redirect': 'docbk/igor'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/text/language_check.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: language_check.vim 3 | "Description: Grammar checker (https://github.com/myint/language-check) 4 | "Authors: Steven Myint 5 | " 6 | "============================================================================ 7 | 8 | if exists("g:loaded_syntastic_text_language_check_checker") 9 | finish 10 | endif 11 | let g:loaded_syntastic_text_language_check_checker = 1 12 | 13 | let s:save_cpo = &cpo 14 | set cpo&vim 15 | 16 | function! SyntaxCheckers_text_language_check_GetLocList() dict 17 | let makeprg = self.makeprgBuild({}) 18 | 19 | let errorformat = 20 | \ '%f:%l:%c: %m' 21 | 22 | return SyntasticMake({ 23 | \ 'makeprg': makeprg, 24 | \ 'errorformat': errorformat, 25 | \ 'subtype': 'Style', 26 | \ 'returns': [0, 2] }) 27 | endfunction 28 | 29 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 30 | \ 'filetype': 'text', 31 | \ 'name': 'language_check', 32 | \ 'exec': 'language-check'}) 33 | 34 | let &cpo = s:save_cpo 35 | unlet s:save_cpo 36 | 37 | " vim: set sw=4 sts=4 et fdm=marker: 38 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/xhtml/jshint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: jshint.vim 3 | "Description: Javascript syntax checker for xHTML - using jshint 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_xhtml_jshint_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_xhtml_jshint_checker = 1 17 | 18 | runtime! syntax_checkers/html/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'xhtml', 22 | \ 'name': 'jshint', 23 | \ 'redirect': 'html/jshint'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/xslt/xmllint.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: xslt.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Sebastian Kusnier 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_xslt_xmllint_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_xslt_xmllint_checker = 1 17 | 18 | runtime! syntax_checkers/xml/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'xslt', 22 | \ 'name': 'xmllint', 23 | \ 'redirect': 'xml/xmllint'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/syntastic/syntax_checkers/zsh/shellcheck.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: shellcheck.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: LCD 47 5 | "License: This program is free software. It comes without any warranty, 6 | " to the extent permitted by applicable law. You can redistribute 7 | " it and/or modify it under the terms of the Do What The Fuck You 8 | " Want To Public License, Version 2, as published by Sam Hocevar. 9 | " See http://sam.zoy.org/wtfpl/COPYING for more details. 10 | " 11 | "============================================================================ 12 | 13 | if exists("g:loaded_syntastic_zsh_shellcheck_checker") 14 | finish 15 | endif 16 | let g:loaded_syntastic_zsh_shellcheck_checker = 1 17 | 18 | runtime! syntax_checkers/sh/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'zsh', 22 | \ 'name': 'shellcheck', 23 | \ 'redirect': 'sh/shellcheck'}) 24 | 25 | " vim: set sw=4 sts=4 et fdm=marker: 26 | -------------------------------------------------------------------------------- /bundle/optional/townk-vim-autoclose-4dfe50/.gitignore: -------------------------------------------------------------------------------- 1 | # File types to be ignored by our git repositories 2 | 3 | .DS_Store 4 | 5 | -------------------------------------------------------------------------------- /bundle/optional/townk-vim-autoclose-4dfe50/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | The primary author of vim-autoclose is Thiago dos Santos Alves 2 | , who may be found online at 3 | . 4 | 5 | Buffer idea to avoid undo break was gather from delimitMate 6 | plug-in created by Israel Chauca F. . 7 | -------------------------------------------------------------------------------- /bundle/optional/townk-vim-autoclose-4dfe50/INSTALL.txt: -------------------------------------------------------------------------------- 1 | =========== 2 | INSTALL.txt 3 | =========== 4 | 5 | Put the script into your $VIM/plugin directory and the documentation 6 | into $VIM/doc and type on your vim: 7 | 8 | :helptags $VIM/doc 9 | 10 | You can change $VIM to whatever place your vim can automatically read 11 | plugins and documentations like in your home vim directory. 12 | 13 | -------------------------------------------------------------------------------- /bundle/optional/townk-vim-autoclose-4dfe50/README.txt: -------------------------------------------------------------------------------- 1 | ========== 2 | README.txt 3 | ========== 4 | 5 | This plugin was born as a personal need to have some little special 6 | features from other editors into my preferred one. The Eclipse IDE editor has 7 | an auto-complete for open-close pair of characters feature that I always 8 | wanted into Vim. 9 | 10 | As soon as you type a character that could have a close pair, Eclipse 11 | automatically puts its pair in front of your cursor, and if you continue to 12 | type and type the close character, Eclipse is smart enough to not insert it 13 | again (it just move your cursor one character forward). 14 | 15 | But the Eclipse editor don't stop there. If you type an "open" character 16 | on any part of your code that should not have a pair completion, it will not 17 | insert the close character for you. 18 | 19 | The AutoClose plugin is an attempt to reproduce this behavior on Vim. 20 | 21 | -------------------------------------------------------------------------------- /bundle/optional/tpope-vim-cucumber-511805/compiler/cucumber.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Cucumber 3 | " Maintainer: Tim Pope 4 | " Last Change: 2010 Aug 09 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "cucumber" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | let s:cpo_save = &cpo 16 | set cpo-=C 17 | 18 | CompilerSet makeprg=cucumber 19 | 20 | CompilerSet errorformat= 21 | \%W%m\ (Cucumber::Undefined), 22 | \%E%m\ (%.%#), 23 | \%Z%f:%l, 24 | \%Z%f:%l:%.%# 25 | 26 | let &cpo = s:cpo_save 27 | unlet s:cpo_save 28 | 29 | " vim:set sw=2 sts=2: 30 | -------------------------------------------------------------------------------- /bundle/optional/tpope-vim-cucumber-511805/ftdetect/cucumber.vim: -------------------------------------------------------------------------------- 1 | " Cucumber 2 | autocmd BufNewFile,BufReadPost *.feature,*.story set filetype=cucumber 3 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | *.lock 3 | .vim-flavor 4 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | script: rake ci 5 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'vim-flavor', '~> 1.1' 3 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (C) 2013-2014 Bailey Ling 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the "Software"), 7 | to deal in the Software without restriction, including without limitation 8 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 | and/or sell copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included 13 | in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 19 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 21 | OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | 3 | task :default => [:test] 4 | 5 | task :ci => [:dump, :test] 6 | 7 | task :dump do 8 | sh 'vim --version' 9 | end 10 | 11 | task :test do 12 | sh 'bundle exec vim-flavor test' 13 | end 14 | 15 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/debug.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | function! airline#debug#profile1() 5 | profile start airline-profile-switch.log 6 | profile func * 7 | profile file * 8 | split 9 | for i in range(1, 1000) 10 | wincmd w 11 | redrawstatus 12 | endfor 13 | profile pause 14 | noautocmd qall! 15 | endfunction 16 | 17 | function! airline#debug#profile2() 18 | profile start airline-profile-cursor.log 19 | profile func * 20 | profile file * 21 | edit blank 22 | call setline(1, 'all your base are belong to us') 23 | call setline(2, 'all your base are belong to us') 24 | let positions = [[1,2], [2,2], [1,2], [1,1]] 25 | for i in range(1, 1000) 26 | for pos in positions 27 | call cursor(pos[0], pos[1]) 28 | redrawstatus 29 | endfor 30 | endfor 31 | profile pause 32 | noautocmd qall! 33 | endfunction 34 | 35 | function! airline#debug#profile3() 36 | profile start airline-profile-mode.log 37 | profile func * 38 | profile file * 39 | 40 | for i in range(1000) 41 | startinsert 42 | redrawstatus 43 | stopinsert 44 | redrawstatus 45 | endfor 46 | 47 | profile pause 48 | noautocmd qall! 49 | endfunction 50 | 51 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/bufferline.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists('*bufferline#get_status_string') 5 | finish 6 | endif 7 | 8 | let s:overwrite = get(g:, 'airline#extensions#bufferline#overwrite_variables', 1) 9 | 10 | function! airline#extensions#bufferline#init(ext) 11 | if s:overwrite 12 | highlight bufferline_selected gui=bold cterm=bold term=bold 13 | highlight link bufferline_selected_inactive airline_c_inactive 14 | let g:bufferline_inactive_highlight = 'airline_c' 15 | let g:bufferline_active_highlight = 'bufferline_selected' 16 | let g:bufferline_active_buffer_left = '' 17 | let g:bufferline_active_buffer_right = '' 18 | let g:bufferline_separator = g:airline_symbols.space 19 | endif 20 | 21 | call airline#parts#define_raw('file', '%{bufferline#refresh_status()}'.bufferline#get_status_string()) 22 | endfunction 23 | 24 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/commandt.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'command_t_loaded', 0) 5 | finish 6 | endif 7 | 8 | function! airline#extensions#commandt#apply(...) 9 | if bufname('%') ==# 'GoToFile' 10 | call airline#extensions#apply_left_override('CommandT', '') 11 | endif 12 | endfunction 13 | 14 | function! airline#extensions#commandt#init(ext) 15 | call a:ext.add_statusline_func('airline#extensions#commandt#apply') 16 | endfunction 17 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/csv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'loaded_csv', 0) && !exists(':Table') 5 | finish 6 | endif 7 | 8 | let s:column_display = get(g:, 'airline#extensions#csv#column_display', 'Number') 9 | 10 | function! airline#extensions#csv#get_column() 11 | if exists('*CSV_WCol') 12 | if s:column_display ==# 'Name' 13 | return '['.CSV_WCol('Name').CSV_WCol().']' 14 | else 15 | return '['.CSV_WCol().']' 16 | endif 17 | endif 18 | return '' 19 | endfunction 20 | 21 | function! airline#extensions#csv#apply(...) 22 | if &ft ==# "csv" 23 | call airline#extensions#prepend_to_section('gutter', 24 | \ g:airline_left_alt_sep.' %{airline#extensions#csv#get_column()}') 25 | endif 26 | endfunction 27 | 28 | function! airline#extensions#csv#init(ext) 29 | call a:ext.add_statusline_func('airline#extensions#csv#apply') 30 | endfunction 31 | 32 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/netrw.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists(':NetrwSettings') 5 | finish 6 | endif 7 | 8 | function! airline#extensions#netrw#apply(...) 9 | if &ft == 'netrw' 10 | let spc = g:airline_symbols.space 11 | 12 | call a:1.add_section('airline_a', spc.'netrw'.spc) 13 | if exists('*airline#extensions#branch#get_head') 14 | call a:1.add_section('airline_b', spc.'%{airline#extensions#branch#get_head()}'.spc) 15 | endif 16 | call a:1.add_section('airline_c', spc.'%f'.spc) 17 | call a:1.split() 18 | call a:1.add_section('airline_y', spc.'%{airline#extensions#netrw#sortstring()}'.spc) 19 | return 1 20 | endif 21 | endfunction 22 | 23 | function! airline#extensions#netrw#init(ext) 24 | let g:netrw_force_overwrite_statusline = 0 25 | call a:ext.add_statusline_func('airline#extensions#netrw#apply') 26 | endfunction 27 | 28 | 29 | function! airline#extensions#netrw#sortstring() 30 | let order = (g:netrw_sort_direction =~ 'n') ? '+' : '-' 31 | return g:netrw_sort_by . (g:airline_symbols.space) . '[' . order . ']' 32 | endfunction 33 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/quickfix.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | let g:airline#extensions#quickfix#quickfix_text = 'Quickfix' 5 | let g:airline#extensions#quickfix#location_text = 'Location' 6 | 7 | function! airline#extensions#quickfix#apply(...) 8 | if &buftype == 'quickfix' 9 | let w:airline_section_a = s:get_text() 10 | let w:airline_section_b = '%{get(w:, "quickfix_title", "")}' 11 | let w:airline_section_c = '' 12 | let w:airline_section_x = '' 13 | endif 14 | endfunction 15 | 16 | function! airline#extensions#quickfix#init(ext) 17 | call a:ext.add_statusline_func('airline#extensions#quickfix#apply') 18 | endfunction 19 | 20 | function! s:get_text() 21 | redir => buffers 22 | silent ls 23 | redir END 24 | 25 | let nr = bufnr('%') 26 | for buf in split(buffers, '\n') 27 | if match(buf, '\v^\s*'.nr) > -1 28 | if match(buf, '\[Quickfix List\]') > -1 29 | return g:airline#extensions#quickfix#quickfix_text 30 | else 31 | return g:airline#extensions#quickfix#location_text 32 | endif 33 | endif 34 | endfor 35 | return '' 36 | endfunction 37 | 38 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/syntastic.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists(':SyntasticCheck') 5 | finish 6 | endif 7 | 8 | function! airline#extensions#syntastic#get_warnings() 9 | let errors = SyntasticStatuslineFlag() 10 | if strlen(errors) > 0 11 | return errors.(g:airline_symbols.space) 12 | endif 13 | return '' 14 | endfunction 15 | 16 | function! airline#extensions#syntastic#init(ext) 17 | call airline#parts#define_function('syntastic', 'airline#extensions#syntastic#get_warnings') 18 | endfunction 19 | 20 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/tabline/unique_tail.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | function! airline#extensions#tabline#unique_tail#format(bufnr, buffers) 5 | let duplicates = {} 6 | let tails = {} 7 | let map = {} 8 | for nr in a:buffers 9 | let name = bufname(nr) 10 | if empty(name) 11 | let map[nr] = '[No Name]' 12 | else 13 | let tail = fnamemodify(name, ':t') 14 | if has_key(tails, tail) 15 | let duplicates[nr] = nr 16 | endif 17 | let tails[tail] = 1 18 | let map[nr] = airline#extensions#tabline#default#wrap_name(nr, tail) 19 | endif 20 | endfor 21 | 22 | for nr in values(duplicates) 23 | let map[nr] = airline#extensions#tabline#default#wrap_name(nr, fnamemodify(bufname(nr), ':p:.')) 24 | endfor 25 | 26 | return map[a:bufnr] 27 | endfunction 28 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/tmuxline.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists(':Tmuxline') 5 | finish 6 | endif 7 | 8 | let s:tmuxline_snapshot_file = get(g:, 'airline#extensions#tmuxline#snapshot_file', '') 9 | let s:color_template = get(g:, 'airline#extensions#tmuxline#color_template', 'normal') 10 | 11 | function! airline#extensions#tmuxline#init(ext) 12 | call a:ext.add_theme_func('airline#extensions#tmuxline#set_tmux_colors') 13 | endfunction 14 | 15 | function! airline#extensions#tmuxline#set_tmux_colors(palette) 16 | let color_template = has_key(a:palette, s:color_template) ? s:color_template : 'normal' 17 | let mode_palette = a:palette[color_template] 18 | 19 | let tmuxline_theme = tmuxline#api#create_theme_from_airline(mode_palette) 20 | call tmuxline#api#set_theme(tmuxline_theme) 21 | 22 | if strlen(s:tmuxline_snapshot_file) 23 | call tmuxline#api#snapshot(s:tmuxline_snapshot_file) 24 | endif 25 | endfunction 26 | 27 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/undotree.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists(':UndotreeToggle') 5 | finish 6 | endif 7 | 8 | function! airline#extensions#undotree#apply(...) 9 | if exists('t:undotree') 10 | if &ft == 'undotree' 11 | if exists('*t:undotree.GetStatusLine') 12 | call airline#extensions#apply_left_override('undo', '%{t:undotree.GetStatusLine()}') 13 | else 14 | call airline#extensions#apply_left_override('undotree', '%f') 15 | endif 16 | endif 17 | 18 | if &ft == 'diff' && exists('*t:diffpanel.GetStatusLine') 19 | call airline#extensions#apply_left_override('diff', '%{t:diffpanel.GetStatusLine()}') 20 | endif 21 | endif 22 | endfunction 23 | 24 | function! airline#extensions#undotree#init(ext) 25 | call a:ext.add_statusline_func('airline#extensions#undotree#apply') 26 | endfunction 27 | 28 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/unite.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'loaded_unite', 0) 5 | finish 6 | endif 7 | 8 | function! airline#extensions#unite#apply(...) 9 | if &ft == 'unite' 10 | call a:1.add_section('airline_a', ' Unite ') 11 | call a:1.add_section('airline_b', ' %{get(unite#get_context(), "buffer_name", "")} ') 12 | call a:1.add_section('airline_c', ' %{unite#get_status_string()} ') 13 | call a:1.split() 14 | call a:1.add_section('airline_y', ' %{get(unite#get_context(), "real_buffer_name", "")} ') 15 | return 1 16 | endif 17 | endfunction 18 | 19 | function! airline#extensions#unite#init(ext) 20 | let g:unite_force_overwrite_statusline = 0 21 | call a:ext.add_statusline_func('airline#extensions#unite#apply') 22 | endfunction 23 | 24 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/extensions/virtualenv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013-2014 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'virtualenv_loaded', 0) 5 | finish 6 | endif 7 | 8 | let s:spc = g:airline_symbols.space 9 | 10 | function! airline#extensions#virtualenv#init(ext) 11 | call a:ext.add_statusline_func('airline#extensions#virtualenv#apply') 12 | endfunction 13 | 14 | function! airline#extensions#virtualenv#apply(...) 15 | if &filetype =~ "python" 16 | call airline#extensions#append_to_section('x', 17 | \ s:spc.g:airline_right_alt_sep.s:spc.'%{virtualenv#statusline()}') 18 | endif 19 | endfunction 20 | 21 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/autoload/airline/themes/monochrome.vim: -------------------------------------------------------------------------------- 1 | let g:airline#themes#monochrome#palette = {} 2 | 3 | function! airline#themes#monochrome#refresh() 4 | let s:SL = airline#themes#get_highlight('StatusLine') 5 | let g:airline#themes#monochrome#palette.normal = airline#themes#generate_color_map(s:SL, s:SL, s:SL) 6 | let g:airline#themes#monochrome#palette.insert = g:airline#themes#monochrome#palette.normal 7 | let g:airline#themes#monochrome#palette.replace = g:airline#themes#monochrome#palette.normal 8 | let g:airline#themes#monochrome#palette.visual = g:airline#themes#monochrome#palette.normal 9 | 10 | let s:SLNC = airline#themes#get_highlight('StatusLineNC') 11 | let g:airline#themes#monochrome#palette.inactive = airline#themes#generate_color_map(s:SLNC, s:SLNC, s:SLNC) 12 | endfunction 13 | 14 | call airline#themes#monochrome#refresh() 15 | 16 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/t/commands.vim: -------------------------------------------------------------------------------- 1 | call airline#init#bootstrap() 2 | call airline#init#sections() 3 | 4 | source plugin/airline.vim 5 | 6 | describe 'commands' 7 | it 'should toggle off and on' 8 | execute 'AirlineToggle' 9 | Expect exists('#airline') to_be_false 10 | execute 'AirlineToggle' 11 | Expect exists('#airline') to_be_true 12 | end 13 | 14 | it 'should toggle whitespace off and on' 15 | call airline#extensions#load() 16 | execute 'AirlineToggleWhitespace' 17 | Expect exists('#airline_whitespace') to_be_false 18 | execute 'AirlineToggleWhitespace' 19 | Expect exists('#airline_whitespace') to_be_true 20 | end 21 | 22 | it 'should display theme name with no args' 23 | execute 'AirlineTheme simple' 24 | Expect g:airline_theme == 'simple' 25 | execute 'AirlineTheme dark' 26 | Expect g:airline_theme == 'dark' 27 | end 28 | 29 | it 'should have a refresh command' 30 | Expect exists(':AirlineRefresh') to_be_true 31 | end 32 | end 33 | 34 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/t/extensions_default.vim: -------------------------------------------------------------------------------- 1 | let g:airline_theme = 'dark' 2 | call airline#init#bootstrap() 3 | call airline#init#sections() 4 | source plugin/airline.vim 5 | 6 | describe 'default' 7 | before 8 | let s:builder = airline#builder#new({'active': 1}) 9 | end 10 | 11 | it 'should use the layout' 12 | let g:airline#extensions#default#layout = [ 13 | \ [ 'c', 'a', 'b', 'warning' ], 14 | \ [ 'x', 'z', 'y' ] 15 | \ ] 16 | call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 }) 17 | let stl = s:builder.build() 18 | Expect stl =~ 'airline_c_to_airline_a' 19 | Expect stl =~ 'airline_a_to_airline_b' 20 | Expect stl =~ 'airline_b_to_airline_warning' 21 | Expect stl =~ 'airline_x_to_airline_z' 22 | Expect stl =~ 'airline_z_to_airline_y' 23 | end 24 | 25 | it 'should only render warning section in active splits' 26 | wincmd s 27 | Expect airline#statusline(1) =~ 'warning' 28 | Expect airline#statusline(2) !~ 'warning' 29 | wincmd c 30 | end 31 | end 32 | 33 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/t/highlighter.vim: -------------------------------------------------------------------------------- 1 | let g:airline_theme = 'dark' 2 | 3 | describe 'highlighter' 4 | it 'should create separator highlight groups' 5 | hi Foo1 ctermfg=1 ctermbg=2 6 | hi Foo2 ctermfg=3 ctermbg=4 7 | call airline#highlighter#add_separator('Foo1', 'Foo2', 0) 8 | let hl = airline#highlighter#get_highlight('Foo1_to_Foo2') 9 | Expect hl == [ '', '', '4', '2', '' ] 10 | end 11 | 12 | it 'should populate accent colors' 13 | Expect exists('g:airline#themes#dark#palette.normal.airline_c_red') to_be_false 14 | Expect hlID('airline_c_red') == 0 15 | call airline#themes#patch(g:airline#themes#dark#palette) 16 | call airline#highlighter#add_accent('red') 17 | call airline#highlighter#highlight(['normal']) 18 | Expect hlID('airline_c_red') != 0 19 | end 20 | end 21 | 22 | -------------------------------------------------------------------------------- /bundle/optional/vim-airline/t/parts.vim: -------------------------------------------------------------------------------- 1 | describe 'parts' 2 | it 'overwrites existing values' 3 | call airline#parts#define('foo', { 'test': '123' }) 4 | Expect airline#parts#get('foo').test == '123' 5 | call airline#parts#define('foo', { 'test': '321' }) 6 | Expect airline#parts#get('foo').test == '321' 7 | end 8 | 9 | it 'can define a function part' 10 | call airline#parts#define_function('func', 'bar') 11 | Expect airline#parts#get('func').function == 'bar' 12 | end 13 | 14 | it 'can define a text part' 15 | call airline#parts#define_text('text', 'bar') 16 | Expect airline#parts#get('text').text == 'bar' 17 | end 18 | 19 | it 'can define a raw part' 20 | call airline#parts#define_raw('raw', 'bar') 21 | Expect airline#parts#get('raw').raw == 'bar' 22 | end 23 | 24 | it 'can define a minwidth' 25 | call airline#parts#define_minwidth('mw', 123) 26 | Expect airline#parts#get('mw').minwidth == 123 27 | end 28 | 29 | it 'can define a condition' 30 | call airline#parts#define_condition('part', '1') 31 | Expect airline#parts#get('part').condition == '1' 32 | end 33 | 34 | it 'can define a accent' 35 | call airline#parts#define_accent('part', 'red') 36 | Expect airline#parts#get('part').accent == 'red' 37 | end 38 | end 39 | 40 | -------------------------------------------------------------------------------- /bundle/optional/vim-easymotion/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /bundle/optional/vim-rspec/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | * 2013-05-03 - Removed explicit support for Dispatch because it introduces a 2 | load order dependency. Set `g:rspec_command` in your .vimrc if you want to 3 | use Dispatch or any other test runner. 4 | * 2013-04-11 - `RunCurrentSpecFile` and `RunNearestSpec` will fall back to 5 | `RunLastSpec` if not in spec file. 6 | -------------------------------------------------------------------------------- /bundle/optional/vim-rspec/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 thoughtbot, inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /bundle/optional/vim-rspec/bin/os_x_iterm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/osascript 2 | 3 | on run argv 4 | tell application "iTerm" 5 | if (count of terminals) = 0 then 6 | set _terminal to (make new terminal) 7 | else 8 | set _terminal to current terminal 9 | end if 10 | 11 | activate 12 | 13 | tell _terminal 14 | tell the last session 15 | write text (item 1 of argv) 16 | end tell 17 | end tell 18 | end tell 19 | 20 | tell application "MacVim" 21 | activate 22 | end tell 23 | end run 24 | -------------------------------------------------------------------------------- /bundle/optional/vim-rspec/bin/os_x_terminal: -------------------------------------------------------------------------------- 1 | #!/usr/bin/osascript 2 | 3 | on run argv 4 | set command to argv 5 | 6 | tell application "Terminal" 7 | if (count of windows) is 0 then 8 | do script command 9 | else 10 | if window 1 is busy then 11 | activate 12 | tell application "System Events" to keystroke "t" using {command down} 13 | repeat while contents of selected tab of window 1 starts with linefeed 14 | delay 0.01 15 | end repeat 16 | do script command in selected tab of window 1 17 | else 18 | do script command in window 1 19 | end if 20 | end if 21 | 22 | activate 23 | tell application "System Events" to key code 119 24 | end tell 25 | 26 | tell application "iTerm" 27 | activate 28 | end tell 29 | end run 30 | -------------------------------------------------------------------------------- /bundle/optional/vim-smartinput-0.0.2/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "mduem"] 2 | path = mduem 3 | url = ../mduem 4 | -------------------------------------------------------------------------------- /bundle/optional/vim-smartinput-0.0.2/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for usual Vim plugin 2 | 3 | REPOS_TYPE := vim-script 4 | INSTALLATION_DIR := $(HOME)/.vim 5 | TARGETS_STATIC = $(filter %.vim %.txt,$(all_files_in_repos)) 6 | TARGETS_ARCHIVED = $(all_files_in_repos) mduem/Makefile 7 | 8 | 9 | 10 | 11 | include mduem/Makefile 12 | 13 | # __END__ 14 | -------------------------------------------------------------------------------- /bundle/optional/vim-smartinput-0.0.2/t/beep-on-empty-line.t: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | example_count=0 4 | 5 | example_count=$((example_count + 1)) 6 | subject='smartinput#map_to_trigger' 7 | example='should not beep if the cursor will be moved to an empty line' 8 | if make TEST_TARGETS="${0%.t}.vim" test | grep --quiet --invert-match $'\a' 9 | then 10 | result='ok' 11 | else 12 | result='not ok' 13 | fi 14 | echo "$result $example_count - $subject $example" 15 | 16 | echo "1..$example_count" 17 | 18 | # vim: filetype=sh 19 | -------------------------------------------------------------------------------- /bundle/optional/vim-smartinput-0.0.2/t/beep-on-empty-line.vim: -------------------------------------------------------------------------------- 1 | runtime! plugin/smartinput.vim 2 | 3 | call vspec#hint({'scope': 'smartinput#scope()', 'sid': 'smartinput#sid()'}) 4 | set backspace=indent,eol,start 5 | 6 | describe 'smartinput#map_to_trigger' 7 | before 8 | SaveContext 9 | new 10 | 11 | " If the cursor will be moved to an empty line... 12 | call smartinput#define_rule({ 13 | \ 'at': '(\%#)', 14 | \ 'char': '', 15 | \ 'input': 'X)$', 16 | \ }) 17 | call smartinput#map_to_trigger('i', ' ', '') 18 | end 19 | 20 | after 21 | close! 22 | ResetContext 23 | end 24 | 25 | it 'should not beep if the cursor will be moved to an empty line' 26 | " 'let foo = (#)' 27 | call setline(1, 'let foo = ()') 28 | normal! gg$ 29 | Expect getline(1, line('$')) ==# ['let foo = ()'] 30 | Expect [line('.'), col('.')] ==# [1, 12] 31 | 32 | " 'let foo = (' 33 | " '#' 34 | " ')' 35 | execute 'normal' "i\" 36 | Expect getline(1, line('$')) ==# ['let foo = (', 37 | \ '', 38 | \ ')'] 39 | Expect [line('.'), col('.')] ==# [2, 1] 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /bundle/optional/vim-smartinput-0.0.2/t/proper-initialization.vim: -------------------------------------------------------------------------------- 1 | describe 'the initialization steps' 2 | it 'should define the default rules fisrt, then user-defined rules' 3 | " Emulate stuffs in user's vimrc. 4 | call smartinput#define_rule({'at': '\%#', 'char': '(', 'input': 'BAR'}) 5 | call smartinput#define_rule({'at': '', 'char': 'x', 'input': 'FOO'}) 6 | call vspec#hint({'scope': 'smartinput#scope()', 'sid': 'smartinput#sid()'}) 7 | 8 | " Emulate loading plugins. 9 | runtime! plugin/smartinput.vim 10 | 11 | Expect Ref('s:loaded_count') == 1 12 | 13 | let nrules = Ref('s:available_nrules') 14 | let default_nrules = filter(copy(nrules), 'v:val.char !=# "x"') 15 | let user_original_nrules = filter(copy(nrules), 'v:val.char ==# "x"') 16 | let overridden_nrules = filter(copy(nrules), 17 | \ 'v:val.char ==# "(" && v:val.at ==# "\\%#"') 18 | Expect len(default_nrules) > 0 19 | Expect len(user_original_nrules) == 1 20 | Expect user_original_nrules[0].input ==# 'FOO' 21 | Expect len(overridden_nrules) == 1 22 | Expect overridden_nrules[0].input ==# 'BAR' 23 | 24 | Expect maparg('x', 'i') ==# '' 25 | call smartinput#map_trigger_keys() 26 | Expect maparg('x', 'i') !=# '' 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /bundle/optional/vim-smartinput-0.0.2/t/startup-no-default-key-mappings.vim: -------------------------------------------------------------------------------- 1 | " NB: MacVim defines several key mappings such as by default. 2 | " The key mappings are defined from the core, not from any runtime file. 3 | " So that the key mappings are always defined even if Vim is invoked by 4 | " "vim -u NONE" etc. Remove the kay mappings to ensure that there is no key 5 | " mappings, because some tests in this file assume such state. 6 | imapclear 7 | cmapclear 8 | 9 | let g:smartinput_no_default_key_mappings = !0 10 | 11 | runtime! plugin/smartinput.vim 12 | 13 | call vspec#hint({'scope': 'smartinput#scope()', 'sid': 'smartinput#sid()'}) 14 | 15 | describe 'g:smartinput_no_default_key_mappings' 16 | it 'should suppress to define the default key mappings' 17 | redir => si 18 | 0 verbose imap 19 | redir END 20 | redir => sc 21 | 0 verbose cmap 22 | redir END 23 | 24 | Expect substitute(si, '[\r\n]', '', 'g') ==# 'No mapping found' 25 | Expect substitute(sc, '[\r\n]', '', 'g') ==# 'No mapping found' 26 | Expect Ref('s:available_nrules') !=# [] 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /bundle/optional/vim-vinegar/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /bundle/optional/vim-yankstack/.gitignore: -------------------------------------------------------------------------------- 1 | .rvmrc 2 | doc/tags 3 | -------------------------------------------------------------------------------- /bundle/optional/vim-yankstack/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem "vimbot", :git => "git@github.com:maxbrunsfeld/vimbot.git" 4 | gem "rspec" 5 | -------------------------------------------------------------------------------- /bundle/optional/vim-yankstack/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GIT 2 | remote: git@github.com:maxbrunsfeld/vimbot.git 3 | revision: 489cb3283a89d3e7891d9d9765188179c764317b 4 | specs: 5 | vimbot (0.0.1) 6 | 7 | GEM 8 | remote: https://rubygems.org/ 9 | specs: 10 | diff-lcs (1.1.3) 11 | rspec (2.8.0) 12 | rspec-core (~> 2.8.0) 13 | rspec-expectations (~> 2.8.0) 14 | rspec-mocks (~> 2.8.0) 15 | rspec-core (2.8.0) 16 | rspec-expectations (2.8.0) 17 | diff-lcs (~> 1.1.2) 18 | rspec-mocks (2.8.0) 19 | 20 | PLATFORMS 21 | ruby 22 | 23 | DEPENDENCIES 24 | rspec 25 | vimbot! 26 | -------------------------------------------------------------------------------- /bundle/optional/vim-yankstack/plugin/yankstack.vim: -------------------------------------------------------------------------------- 1 | call yankstack#setup() 2 | -------------------------------------------------------------------------------- /bundle/optional/vim-yankstack/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require "vimbot" 2 | 3 | PLUGIN_ROOT = File.expand_path("../..", __FILE__) 4 | VIM_REPEAT_PATH = File.expand_path("spec/fixtures/repeat.vim", PLUGIN_ROOT) 5 | 6 | RSpec.configure do |c| 7 | c.alias_it_should_behave_like_to :it_has_behavior, 'has behavior:' 8 | end 9 | 10 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2008-2011 (c) Meikel Brandmeyer. 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftdetect/clojure.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.clj set filetype=clojure 2 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.data.txt: -------------------------------------------------------------------------------- 1 | diff 2 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.inspector.txt: -------------------------------------------------------------------------------- 1 | atom? 2 | collection-tag 3 | get-child 4 | get-child-count 5 | inspect 6 | inspect-table 7 | inspect-tree 8 | is-leaf 9 | list-model 10 | list-provider 11 | old-table-model 12 | table-model 13 | tree-model 14 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.java.browse.txt: -------------------------------------------------------------------------------- 1 | *open-url-script* 2 | browse-url 3 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.java.io.txt: -------------------------------------------------------------------------------- 1 | Coercions 2 | IOFactory 3 | as-file 4 | as-relative-path 5 | as-url 6 | copy 7 | default-streams-impl 8 | delete-file 9 | file 10 | input-stream 11 | make-input-stream 12 | make-output-stream 13 | make-parents 14 | make-reader 15 | make-writer 16 | output-stream 17 | reader 18 | resource 19 | writer 20 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.java.javadoc.txt: -------------------------------------------------------------------------------- 1 | *core-java-api* 2 | *feeling-lucky* 3 | *feeling-lucky-url* 4 | *local-javadocs* 5 | *remote-javadocs* 6 | add-local-javadoc 7 | add-remote-javadoc 8 | javadoc 9 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.java.shell.txt: -------------------------------------------------------------------------------- 1 | *sh-dir* 2 | *sh-env* 3 | with-sh-dir 4 | with-sh-env 5 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.main.txt: -------------------------------------------------------------------------------- 1 | demunge 2 | load-script 3 | main 4 | repl 5 | repl-caught 6 | repl-exception 7 | repl-prompt 8 | repl-read 9 | root-cause 10 | skip-if-eol 11 | skip-whitespace 12 | stack-element-str 13 | with-bindings 14 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.pprint.txt: -------------------------------------------------------------------------------- 1 | *print-base* 2 | *print-miser-width* 3 | *print-pprint-dispatch* 4 | *print-pretty* 5 | *print-radix* 6 | *print-right-margin* 7 | *print-suppress-namespaces* 8 | cl-format 9 | code-dispatch 10 | formatter 11 | formatter-out 12 | fresh-line 13 | get-pretty-writer 14 | pprint 15 | pprint-indent 16 | pprint-logical-block 17 | pprint-newline 18 | pprint-tab 19 | print-length-loop 20 | print-table 21 | set-pprint-dispatch 22 | simple-dispatch 23 | with-pprint-dispatch 24 | write 25 | write-out 26 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.repl.txt: -------------------------------------------------------------------------------- 1 | apropos 2 | demunge 3 | dir 4 | dir-fn 5 | doc 6 | find-doc 7 | pst 8 | root-cause 9 | set-break-handler! 10 | source 11 | source-fn 12 | stack-element-str 13 | thread-stopper 14 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.set.txt: -------------------------------------------------------------------------------- 1 | difference 2 | index 3 | intersection 4 | join 5 | map-invert 6 | project 7 | rename 8 | rename-keys 9 | select 10 | subset? 11 | superset? 12 | union 13 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.stacktrace.txt: -------------------------------------------------------------------------------- 1 | print-cause-trace 2 | print-stack-trace 3 | print-throwable 4 | print-trace-element 5 | root-cause 6 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.string.txt: -------------------------------------------------------------------------------- 1 | blank? 2 | capitalize 3 | escape 4 | join 5 | lower-case 6 | replace 7 | replace-first 8 | reverse 9 | split 10 | split-lines 11 | trim 12 | trim-newline 13 | triml 14 | trimr 15 | upper-case 16 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.template.txt: -------------------------------------------------------------------------------- 1 | apply-template 2 | do-template 3 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.test.junit.txt: -------------------------------------------------------------------------------- 1 | *depth* 2 | *var-context* 3 | element-content 4 | error-el 5 | failure-el 6 | finish-case 7 | finish-element 8 | finish-suite 9 | indent 10 | junit-report 11 | message-el 12 | package-class 13 | start-case 14 | start-element 15 | start-suite 16 | suite-attrs 17 | test-name 18 | with-junit-output 19 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.test.tap.txt: -------------------------------------------------------------------------------- 1 | print-tap-diagnostic 2 | print-tap-fail 3 | print-tap-pass 4 | print-tap-plan 5 | tap-report 6 | with-tap-output 7 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.test.txt: -------------------------------------------------------------------------------- 1 | *initial-report-counters* 2 | *load-tests* 3 | *report-counters* 4 | *stack-trace-depth* 5 | *test-out* 6 | *testing-contexts* 7 | *testing-vars* 8 | are 9 | assert-any 10 | assert-expr 11 | assert-predicate 12 | compose-fixtures 13 | deftest 14 | deftest- 15 | do-report 16 | file-position 17 | function? 18 | get-possibly-unbound-var 19 | inc-report-counter 20 | join-fixtures 21 | report 22 | run-all-tests 23 | run-tests 24 | set-test 25 | successful? 26 | test-all-vars 27 | test-ns 28 | test-var 29 | testing 30 | testing-contexts-str 31 | testing-vars-str 32 | try-expr 33 | use-fixtures 34 | with-test 35 | with-test-out 36 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.walk.txt: -------------------------------------------------------------------------------- 1 | keywordize-keys 2 | macroexpand-all 3 | postwalk 4 | postwalk-demo 5 | postwalk-replace 6 | prewalk 7 | prewalk-demo 8 | prewalk-replace 9 | stringify-keys 10 | walk 11 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.xml.txt: -------------------------------------------------------------------------------- 1 | *current* 2 | *sb* 3 | *stack* 4 | *state* 5 | attrs 6 | content 7 | content-handler 8 | element 9 | emit 10 | emit-element 11 | parse 12 | startparse-sax 13 | tag 14 | -------------------------------------------------------------------------------- /bundle/optional/vimclojure-2.3.0/ftplugin/clojure/completions-clojure.zip.txt: -------------------------------------------------------------------------------- 1 | append-child 2 | branch? 3 | children 4 | down 5 | edit 6 | end? 7 | insert-child 8 | insert-left 9 | insert-right 10 | left 11 | leftmost 12 | lefts 13 | make-node 14 | next 15 | node 16 | path 17 | prev 18 | remove 19 | replace 20 | right 21 | rightmost 22 | rights 23 | root 24 | seq-zip 25 | vector-zip 26 | xml-zip 27 | zipper 28 | -------------------------------------------------------------------------------- /bundle/optional/webapi-vim/README: -------------------------------------------------------------------------------- 1 | webapi-vim: Vim Interface to Web API 2 | 3 | Description: 4 | Interface to WEB APIs. 5 | Currently this library support following protocols. 6 | 7 | * Basic HTTP 8 | * OAuth 9 | * Atompub 10 | * SOAP (in progress) 11 | * XMLRPC 12 | * MetaWeblog API 13 | 14 | This library contains: 15 | XML Parser 16 | HTML Parser(Hack Way) 17 | JSON Praser 18 | BASE64 Hash Algorism 19 | SHA1 Hash Algorism 20 | HMAC HASH Algorism 21 | Bit Operation Library 22 | Converter for "UTF-8 to Unicode" 23 | 24 | Require: 25 | 26 | curl command : http://curl.haxx.se/ 27 | 28 | Thanks To: 29 | 30 | Yukihiro Nakadaira : http://sites.google.com/site/yukihironakadaira/ 31 | autoload/base64.vim (I added small changes) 32 | autoload/hmac.vim 33 | autoload/sha1.vim 34 | 35 | -------------------------------------------------------------------------------- /bundle/optional/yggdroot-indentLine-2cc41e/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /bundle/puppet/README: -------------------------------------------------------------------------------- 1 | To install these files, copy them into ~/.vim, or the relevant 2 | system-wide location. To use the ftplugin and indenting, you may need 3 | to enable them with "filetype plugin indent on" in your vimrc. 4 | -------------------------------------------------------------------------------- /bundle/puppet/ftdetect/puppet.vim: -------------------------------------------------------------------------------- 1 | " detect puppet filetype 2 | au BufRead,BufNewFile *.pp set filetype=puppet 3 | -------------------------------------------------------------------------------- /bundle/ragtag/doc/tags: -------------------------------------------------------------------------------- 1 | ragtag ragtag.txt /*ragtag* 2 | ragtag-CTRL-V_% ragtag.txt /*ragtag-CTRL-V_%* 3 | ragtag-CTRL-V_& ragtag.txt /*ragtag-CTRL-V_&* 4 | ragtag-CTRL-X_! ragtag.txt /*ragtag-CTRL-X_!* 5 | ragtag-CTRL-X_# ragtag.txt /*ragtag-CTRL-X_#* 6 | ragtag-CTRL-X_$ ragtag.txt /*ragtag-CTRL-X_$* 7 | ragtag-CTRL-X_% ragtag.txt /*ragtag-CTRL-X_%* 8 | ragtag-CTRL-X_& ragtag.txt /*ragtag-CTRL-X_&* 9 | ragtag-CTRL-X_' ragtag.txt /*ragtag-CTRL-X_'* 10 | ragtag-CTRL-X_+ ragtag.txt /*ragtag-CTRL-X_+* 11 | ragtag-CTRL-X_- ragtag.txt /*ragtag-CTRL-X_-* 12 | ragtag-CTRL-X_/ ragtag.txt /*ragtag-CTRL-X_\/* 13 | ragtag-CTRL-X_ ragtag.txt /*ragtag-CTRL-X_* 14 | ragtag-CTRL-X_ ragtag.txt /*ragtag-CTRL-X_* 15 | ragtag-CTRL-X_= ragtag.txt /*ragtag-CTRL-X_=* 16 | ragtag-CTRL-X_@ ragtag.txt /*ragtag-CTRL-X_@* 17 | ragtag-CTRL-X__ ragtag.txt /*ragtag-CTRL-X__* 18 | ragtag-CTRL-X_quote ragtag.txt /*ragtag-CTRL-X_quote* 19 | ragtag-author ragtag.txt /*ragtag-author* 20 | ragtag-encoding ragtag.txt /*ragtag-encoding* 21 | ragtag-mappings ragtag.txt /*ragtag-mappings* 22 | ragtag-surroundings ragtag.txt /*ragtag-surroundings* 23 | ragtag.txt ragtag.txt /*ragtag.txt* 24 | -------------------------------------------------------------------------------- /bundle/rainbow_parentheses.vim/plugin/rainbow_parentheses.vim: -------------------------------------------------------------------------------- 1 | "============================================================================== 2 | " Description: Rainbow colors for parentheses, based on rainbow_parenthsis.vim 3 | " by Martin Krischik and others. 4 | "============================================================================== 5 | " GetLatestVimScripts: 3772 1 :AutoInstall: rainbow_parentheses.zip 6 | 7 | com! RainbowParenthesesToggle cal rainbow_parentheses#toggle() 8 | com! RainbowParenthesesToggleAll cal rainbow_parentheses#toggleall() 9 | com! RainbowParenthesesActivate cal rainbow_parentheses#activate() 10 | com! RainbowParenthesesLoadRound cal rainbow_parentheses#load(0) 11 | com! RainbowParenthesesLoadSquare cal rainbow_parentheses#load(1) 12 | com! RainbowParenthesesLoadBraces cal rainbow_parentheses#load(2) 13 | com! RainbowParenthesesLoadChevrons cal rainbow_parentheses#load(3) 14 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | - Henrik 2 | http://github.com/henrik 3 | 4 | - Shad 5 | http://github.com/shad 6 | 7 | - DataWraith 8 | http://github.com/datawraith 9 | 10 | - moreweb 11 | http://github.com/moreweb 12 | 13 | - maba 14 | http://github.com/maba 15 | 16 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/LEGAL: -------------------------------------------------------------------------------- 1 | Copyright (C) 2009 Robert Gleeson 2 | 3 | vim-markdown-preview is free software: you can redistribute it and/or modify 4 | it under the terms of the GNU General Public License as published by 5 | the Free Software Foundation, either version 3 of the License, or 6 | (at your option) any later version. 7 | 8 | This program is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | GNU General Public License for more details. 12 | 13 | You should have received a copy of the GNU General Public License 14 | along with this program. If not, see . 15 | 16 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -e $HOME/.vim/plugin/MKD.vim ]; then 4 | echo "Removing old version of vim-markdown-preview ..." 5 | rm $HOME/.vim/plugin/MKD.vim 6 | echo "DONE" 7 | fi 8 | 9 | echo "Copying plugin/* to $HOME/.vim/plugin ... " 10 | cp -R plugin/* $HOME/.vim/plugin 11 | echo "DONE" 12 | 13 | echo "Copying doc/* to $HOME/.vim/doc ..." 14 | cp -R doc/* $HOME/.vim/doc 15 | echo "DONE" 16 | 17 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/kramdown/COPYING: -------------------------------------------------------------------------------- 1 | kramdown - fast, pure-Ruby Markdown-superset converter 2 | Copyright (C) 2009 Thomas Leitner 3 | 4 | kramdown is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation, either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . 16 | 17 | 18 | Some test cases and the benchmark files are based on test cases from 19 | the MDTest test suite: 20 | 21 | MDTest 22 | Copyright (c) 2007 Michel Fortin 23 | 24 | 25 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/kramdown/compatibility.rb: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | #-- 4 | # Copyright (C) 2009-2010 Thomas Leitner 5 | # 6 | # This file is part of kramdown. 7 | # 8 | # kramdown is free software: you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation, either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # This program is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with this program. If not, see . 20 | #++ 21 | # 22 | 23 | # All the code in this file is backported from Ruby 1.8.7 sothat kramdown works under 1.8.5 24 | 25 | if RUBY_VERSION == '1.8.5' 26 | require 'rexml/parsers/baseparser' 27 | module REXML 28 | module Parsers 29 | class BaseParser 30 | UNAME_STR= "(?:#{NCNAME_STR}:)?#{NCNAME_STR}" 31 | end 32 | end 33 | end 34 | end 35 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/kramdown/error.rb: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | #-- 4 | # Copyright (C) 2009-2010 Thomas Leitner 5 | # 6 | # This file is part of kramdown. 7 | # 8 | # kramdown is free software: you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation, either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # This program is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with this program. If not, see . 20 | #++ 21 | # 22 | 23 | module Kramdown 24 | 25 | class Error < RuntimeError; end 26 | 27 | end 28 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/kramdown/kramdown.rb: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | #-- 4 | # Copyright (C) 2009-2010 Thomas Leitner 5 | # 6 | # This file is part of kramdown. 7 | # 8 | # kramdown is free software: you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation, either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # This program is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with this program. If not, see . 20 | #++ 21 | # 22 | 23 | require 'kramdown/document' 24 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/kramdown/utils.rb: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | #-- 4 | # Copyright (C) 2009-2010 Thomas Leitner 5 | # 6 | # This file is part of kramdown. 7 | # 8 | # kramdown is free software: you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation, either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # This program is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with this program. If not, see . 20 | #++ 21 | # 22 | 23 | module Kramdown 24 | 25 | # == Utils Module 26 | # 27 | # This module contains utility class/modules/methods that can be used by both parsers and 28 | # converters. 29 | module Utils 30 | 31 | autoload :Entities, 'kramdown/utils/entities' 32 | autoload :HTML, 'kramdown/utils/html' 33 | 34 | end 35 | 36 | end 37 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/kramdown/version.rb: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | #-- 4 | # Copyright (C) 2009-2010 Thomas Leitner 5 | # 6 | # This file is part of kramdown. 7 | # 8 | # kramdown is free software: you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation, either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # This program is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with this program. If not, see . 20 | #++ 21 | # 22 | 23 | module Kramdown 24 | 25 | # The kramdown version. 26 | VERSION = '0.9.0' 27 | 28 | end 29 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/stylesheets/github.css: -------------------------------------------------------------------------------- 1 | body div#container { 2 | margin : 0 auto; 3 | max-width : 920px; 4 | background-color : #f8f8f8; 5 | padding : .7em; 6 | font-size : 13.34px; 7 | font-family : verdana, sans-serif; 8 | border : 1px #E0E0E0 solid; 9 | } 10 | 11 | body div#container h2, body div#container h3, body div#content h4 { 12 | padding-top : 10px; 13 | border-top : 4px solid #E0E0E0; 14 | } 15 | 16 | body div#container pre { 17 | padding : 5px; 18 | border-style : solid; 19 | border-width : 1px; 20 | border-color : #E0E0E0; 21 | background-color : #F8F8FF; 22 | } 23 | 24 | body div#container pre code { 25 | padding : 5px; 26 | background-color : #F8F8FF; 27 | border : none; 28 | } 29 | 30 | body div#container code { 31 | font-family : courier, fixed; 32 | display : inline-block; 33 | padding : 0px 2px 0px 2px; 34 | background-color : #F8F8FF; 35 | border : 1px #E0E0E0 solid; 36 | } 37 | 38 | body h4#title { 39 | font-family : verdana, sans-serif; 40 | display : block; 41 | margin : 0 auto; 42 | width : 920px; 43 | } 44 | 45 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/plugin/vim-markdown-preview/stylesheets/simple-print.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size:13px; 3 | font-family:verdana, sans-serif; 4 | line-height:1.5em; 5 | } 6 | 7 | h1 { font-size:1.6em; } 8 | h2 { font-size:1.5em; } 9 | h3 { font-size:1.4em; font-weight:300; } 10 | h4 { font-size:1em; } 11 | 12 | h1, h2, h3, h4 { 13 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 14 | margin-top:20px; 15 | } 16 | 17 | h2 { 18 | padding-top:5px; 19 | border-top:1px solid #AAA; 20 | margin-top:40px; 21 | } 22 | 23 | p { 24 | margin:15px 15px; 25 | } 26 | 27 | pre { 28 | padding:5px; 29 | border:1px solid #EEEEEE; 30 | background-color:#F6F6F6; 31 | margin:0 25px; 32 | } 33 | 34 | pre code { 35 | padding:5px; 36 | background-color:#F6F6F6; 37 | border:none; 38 | } 39 | 40 | code { 41 | font-family:courier, fixed; 42 | display:inline-block; 43 | padding:0px 2px 0px 2px; 44 | background-color: #F6F6F6; 45 | border:1px #E0E0E0 solid; 46 | } 47 | ul li { 48 | margin:2px 0 0 0; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /bundle/robgleeson-vim-markdown-preview-b0842f8/tasks.otl: -------------------------------------------------------------------------------- 1 | [X] styles 2 | [X] include a separate print stylesheet 3 | : at the moment, printed page is completely blank 4 | [X] emulate Safari Reader 5 | [X] move stylesheet from 'plugin' to 'stylesheets' 6 | [_] PDF 7 | [_] include PDF option 8 | : i.e. as an alternative to HTML 9 | [_] use wkpdf if available 10 | : http://plessl.github.com/wkpdf/ 11 | [_] use pkhtmltopdf if available 12 | : http://code.google.com/p/wkhtmltopdf/ 13 | [_] filetype plugin 14 | [_] rename 'plugin' to 'ftplugin' 15 | [_] no need for "This is not a markdown file" message 16 | [_] generate 17 | : rather than a tmp file, create in same directory as source file 18 | [_] HTML file 19 | [_] PDF file 20 | [_] options 21 | [_] markdown parser 22 | : Kramdown default/fallback, but allow user to specify an existing markdown converter 23 | [_] webbrowser 24 | : e.g. open / safari / firefox 25 | [_] styled document Vs bare 26 | [_] anchors 27 | [_] add #id to each heading 28 | [_] when opening, jump to the closest #heading to cursor position 29 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | Makefile 3 | TODO.TXT 4 | TODO_archived.viki 5 | *.vba 6 | *.vmb 7 | *.zip 8 | .last_* 9 | test 10 | test_* 11 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/addon-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tcomment", 3 | "version" : "dev", 4 | "author" : "Tom Link ", 5 | "maintainer" : "Tom Link ", 6 | "repository" : {"type": "git", "url": "git://github.com/tomtom/tcomment_vim.git"}, 7 | "dependencies" : {}, 8 | "description" : "An easily extensible & universal comment plugin" 9 | } 10 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 2 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 3 | " @Revision: 32 4 | 5 | 6 | SpecBegin 'title': 'issue30' 7 | \, 'options': ['vim', {'&selection': 'inclusive'}, {'&selection': 'exclusive'}] 8 | \, 'scratch': 'issue30_test.c' 9 | 10 | It should block comment a single line with b. 11 | Should yield Buffer ':norm 2ggb', 'issue30_test_1.c' 12 | 13 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30_sel=exclusive.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 2 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 3 | " @Revision: 11 4 | 5 | SpecBegin 'title': 'issue30 - bug 2 exclusive' 6 | \, 'options': [{'&selection': 'exclusive'}] 7 | \, 'scratch': 'issue30_test.c' 8 | 9 | It should comment last character selected by v$ with gc. 10 | Should yield Buffer ':norm 3gg$v$gc', 'issue30_test_2.c' 11 | 12 | It should not comment empty space after typing v with gc. 13 | Should yield Buffer ':norm 3gg$vgc', 'issue30_test_3.c' 14 | 15 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30_sel=inclusive.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 2 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 3 | " @Revision: 10 4 | 5 | SpecBegin 'title': 'issue30 - bug 2 inclusive' 6 | \, 'options': [{'&selection': 'inclusive'}] 7 | \, 'scratch': 'issue30_test.c' 8 | 9 | It should comment last character with gc. 10 | Should yield Buffer ':norm 3gg$vgc', 'issue30_test_2.c' 11 | 12 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30_test.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30_test_1.c: -------------------------------------------------------------------------------- 1 | int main() 2 | /* 3 | * { 4 | */ 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30_test_2.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0/* ; */ 4 | } 5 | -------------------------------------------------------------------------------- /bundle/tcomment_vim/spec/tcomment/issue30_test_3.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0/* */; 4 | } 5 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/compiler/haml.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Haml 3 | " Maintainer: Tim Pope 4 | " Last Change: 2013 May 30 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "haml" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | let s:cpo_save = &cpo 16 | set cpo-=C 17 | 18 | CompilerSet makeprg=haml\ -c 19 | 20 | CompilerSet errorformat= 21 | \Haml\ %trror\ on\ line\ %l:\ %m, 22 | \Syntax\ %trror\ on\ line\ %l:\ %m, 23 | \%-G%.%# 24 | 25 | let &cpo = s:cpo_save 26 | unlet s:cpo_save 27 | 28 | " vim:set sw=2 sts=2: 29 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/compiler/sass.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Sass 3 | " Maintainer: Tim Pope 4 | " Last Change: 2013 May 30 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "sass" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | let s:cpo_save = &cpo 16 | set cpo-=C 17 | 18 | CompilerSet makeprg=sass\ -c 19 | 20 | CompilerSet errorformat= 21 | \%f:%l:%m\ (Sass::Syntax%trror), 22 | \%ESyntax\ %trror:%m, 23 | \%C%\\s%\\+on\ line\ %l\ of\ %f, 24 | \%Z%.%#, 25 | \%-G%.%# 26 | 27 | let &cpo = s:cpo_save 28 | unlet s:cpo_save 29 | 30 | " vim:set sw=2 sts=2: 31 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/ftdetect/haml.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.haml,*.hamlbars setf haml 2 | autocmd BufNewFile,BufRead *.sass setf sass 3 | autocmd BufNewFile,BufRead *.scss setf scss 4 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/ftplugin/sass.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: Sass 3 | " Maintainer: Tim Pope 4 | " Last Change: 2010 Jul 26 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | let b:did_ftplugin = 1 11 | 12 | let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<" 13 | 14 | setlocal commentstring=//\ %s 15 | setlocal define=^\\s*\\%(@mixin\\\|=\\) 16 | setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','') 17 | setlocal omnifunc=csscomplete#CompleteCSS 18 | setlocal suffixesadd=.sass,.scss,.css 19 | 20 | let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\=' 21 | 22 | " vim:set sw=2: 23 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/ftplugin/scss.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: SCSS 3 | " Maintainer: Tim Pope 4 | " Last Change: 2010 Jul 26 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | 10 | runtime! ftplugin/sass.vim 11 | 12 | " vim:set sw=2: 13 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/indent/sass.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Sass 3 | " Maintainer: Tim Pope 4 | " Last Change: 2010 May 21 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal autoindent sw=2 et 12 | setlocal indentexpr=GetSassIndent() 13 | setlocal indentkeys=o,O,*,<:>,!^F 14 | 15 | " Only define the function once. 16 | if exists("*GetSassIndent") 17 | finish 18 | endif 19 | 20 | let s:property = '^\s*:\|^\s*[[:alnum:]#{}-]\+\%(:\|\s*=\)' 21 | let s:extend = '^\s*\%(@extend\|@include\|+\)' 22 | 23 | function! GetSassIndent() 24 | let lnum = prevnonblank(v:lnum-1) 25 | let line = substitute(getline(lnum),'\s\+$','','') 26 | let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','') 27 | let lastcol = strlen(line) 28 | let line = substitute(line,'^\s\+','','') 29 | let indent = indent(lnum) 30 | let cindent = indent(v:lnum) 31 | if line !~ s:property && line !~ s:extend && cline =~ s:property 32 | return indent + &sw 33 | "elseif line =~ s:property && cline !~ s:property 34 | "return indent - &sw 35 | else 36 | return -1 37 | endif 38 | endfunction 39 | 40 | " vim:set sw=2: 41 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/indent/scss.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: SCSS 3 | " Maintainer: Tim Pope 4 | " Last Change: 2010 Jul 26 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | 10 | runtime! indent/css.vim 11 | 12 | " vim:set sw=2: 13 | -------------------------------------------------------------------------------- /bundle/tpope-vim-haml-33279476a6/syntax/scss.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: SCSS 3 | " Maintainer: Tim Pope 4 | " Filenames: *.scss 5 | " Last Change: 2010 Jul 26 6 | 7 | if exists("b:current_syntax") 8 | finish 9 | endif 10 | 11 | runtime! syntax/sass.vim 12 | 13 | syn match scssComment "//.*" contains=sassTodo,@Spell 14 | syn region scssComment start="/\*" end="\*/" contains=sassTodo,@Spell 15 | 16 | hi def link scssComment sassComment 17 | 18 | let b:current_syntax = "scss" 19 | 20 | " vim:set sw=2: 21 | -------------------------------------------------------------------------------- /bundle/tpope-vim-rails-26dade8/.gitignore: -------------------------------------------------------------------------------- 1 | /rails.zip 2 | /rails.vba 3 | /doc/tags 4 | -------------------------------------------------------------------------------- /bundle/tpope-vim-rails-26dade8/README: -------------------------------------------------------------------------------- 1 | rails.vim 2 | 3 | To install, simply copy autoload/rails.vim, plugin/rails.vim, and 4 | doc/rails.txt to the appropriate directories in ~/.vim. Alternatively, 5 | `rake install` may be used. 6 | 7 | See doc/rails.txt for documentation. 8 | 9 | Copyright Tim Pope. This plugin is licensed under the same terms as Vim 10 | itself. No warranties, expressed or implied. 11 | -------------------------------------------------------------------------------- /bundle/vim-abolish/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-abolish/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /bundle/vim-classpath/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-classpath/doc/classpath.txt: -------------------------------------------------------------------------------- 1 | *classpath.txt* Set 'path' from the Java class path 2 | 3 | Author: Tim Pope 4 | Repo: https://github.com/tpope/vim-classpath 5 | License: Same terms as Vim itself (see |license|) 6 | 7 | This plugin is only available if 'compatible' is not set. 8 | 9 | INTRODUCTION *classpath* 10 | 11 | This plugin automatically adjusts 'path' for languages that run on the JVM: 12 | Java, Clojure, Scala, and Groovy. Said path is determined by querying Maven 13 | or Leiningen for the class path. If neither is available, $CLASSPATH is used. 14 | 15 | *classpath-:Java* 16 | :Java [args] Execute $JAVA_CMD (default: java) with a class path 17 | derived from the current buffer's path. 18 | 19 | vim:tw=78:et:ft=help:norl: 20 | -------------------------------------------------------------------------------- /bundle/vim-classpath/plugin/classpath.vim: -------------------------------------------------------------------------------- 1 | " classpath.vim - Set 'path' from the Java class path 2 | " Maintainer: Tim Pope 3 | 4 | if exists("g:loaded_classpath") || v:version < 700 || &cp 5 | finish 6 | endif 7 | let g:loaded_classpath = 1 8 | 9 | if &viminfo !~# '!' 10 | set viminfo^=! 11 | endif 12 | 13 | augroup classpath 14 | autocmd! 15 | autocmd FileType clojure,groovy,java,scala 16 | \ if expand('%:p') =~# '^zipfile:' | 17 | \ let &l:path = getbufvar('#', '&path') | 18 | \ else | 19 | \ let &l:path = classpath#detect() | 20 | \ endif | 21 | \ command! -buffer -nargs=+ -complete=file Java execute '!'.classpath#java_cmd().' '. 22 | augroup END 23 | 24 | " vim:set et sw=2: 25 | -------------------------------------------------------------------------------- /bundle/vim-clojure-static/clj/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /lib 3 | /classes 4 | /checkouts 5 | pom.xml 6 | pom.xml.asc 7 | *.jar 8 | *.class 9 | .lein-deps-sum 10 | .lein-failures 11 | .lein-plugins 12 | .lein-repl-history 13 | /tmp 14 | -------------------------------------------------------------------------------- /bundle/vim-clojure-static/clj/project.clj: -------------------------------------------------------------------------------- 1 | (defproject vim-clojure-static "0.1.0" 2 | :description "Utilities and tests for Vim's Clojure runtime files." 3 | :url "https://github.com/guns/vim-clojure-static" 4 | :license {:name "Vim License" 5 | :url "http://vimdoc.sourceforge.net/htmldoc/uganda.html#license" 6 | :comments ":help license"} 7 | :dependencies [[org.clojure/clojure "1.5.1"]]) 8 | -------------------------------------------------------------------------------- /bundle/vim-clojure-static/clj/src/vim_clojure_static/update.clj: -------------------------------------------------------------------------------- 1 | ;; Authors: Sung Pae 2 | 3 | (ns vim-clojure-static.update 4 | (:require [clojure.string :as string] 5 | [clojure.java.shell :as shell])) 6 | 7 | (defn update-vim! 8 | "Update Vim repository runtime files in dst/runtime" 9 | [src dst] 10 | (let [join (fn [& args] (string/join \/ args)) 11 | indent-file (join dst "runtime/doc/indent.txt") 12 | indent-buf (slurp indent-file) 13 | indent-match (re-find #"(?ms)^CLOJURE.*?(?=^[ \p{Lu}]+\t*\*)" indent-buf) 14 | indent-doc (re-find #"(?ms)^CLOJURE.*(?=^ABOUT)" (slurp (join src "doc/clojure.txt")))] 15 | ;; Insert indentation documentation 16 | (spit indent-file (string/replace-first indent-buf 17 | indent-match 18 | (str indent-doc \newline))) 19 | ;; Copy runtime files 20 | (doseq [file ["autoload/clojurecomplete.vim" 21 | "ftplugin/clojure.vim" 22 | "indent/clojure.vim" 23 | "syntax/clojure.vim"]] 24 | (shell/sh "cp" (join src file) (join dst "runtime" file))))) 25 | 26 | (comment 27 | (update-vim! "/home/guns/src/vim-clojure-static" "/home/guns/src/vim")) 28 | -------------------------------------------------------------------------------- /bundle/vim-clojure-static/clj/vim/syn-id-names.vim: -------------------------------------------------------------------------------- 1 | " Authors: Sung Pae 2 | 3 | execute 'set rtp=' . expand('%:p:h:h:h') . ',$VIMRUNTIME' 4 | filetype plugin on 5 | syntax on 6 | setfiletype clojure 7 | 8 | function! s:append_syn_id_names() 9 | let names = [] 10 | for lnum in range(1, line('$')) 11 | let f = 'synIDattr(synID(' . lnum . ', v:val, 0), "name")' 12 | call add(names, map(range(1, virtcol([lnum, '$']) - 1), f)) 13 | endfor 14 | " Changing the quotes will make this valid EDN 15 | call append(line('$'), tr(string(names), "'", '"')) 16 | endfunction 17 | 18 | call s:append_syn_id_names() | write | quitall! 19 | -------------------------------------------------------------------------------- /bundle/vim-clojure-static/ftdetect/clojure.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.clj,*.cljs,*.edn setf clojure 2 | -------------------------------------------------------------------------------- /bundle/vim-colors-solarized/bitmaps/togglebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomicobject/atomic_vim/afeb30f0f0374c781e74fcf791f98a4107dfeaf9/bundle/vim-colors-solarized/bitmaps/togglebg.png -------------------------------------------------------------------------------- /bundle/vim-emblem/README.md: -------------------------------------------------------------------------------- 1 | # vim-emblem 2 | 3 | `vim-emblem` adds [emblem](http://emblemjs.com/) support to vim. 4 | 5 | Features: 6 | 7 | * detects `*.em` files as `emblem` 8 | * sets standard coding style (two-space indentation) 9 | * syntax highlighting 10 | 11 | Todo: 12 | 13 | * indentation 14 | 15 | # Install 16 | 17 | ## Vundle 18 | 19 | Get [vundle](https://github.com/gmarik/vundle). 20 | 21 | `.vimrc`: 22 | 23 | ```vim 24 | Bundle 'heartsentwined/vim-emblem' 25 | ``` 26 | 27 | Launch vim, `:BundleInstall`. 28 | 29 | ## Pathogen 30 | 31 | Get [pathogen.vim](https://github.com/tpope/vim-pathogen). 32 | 33 | ```sh 34 | $ cd ~/.vim/bundle 35 | $ git clone https://github.com/heartsentwined/vim-emblem.git 36 | ``` 37 | 38 | ## Manual install 39 | 40 | [Download](https://github.com/heartsentwined/vim-emblem/tags) and 41 | extract all scripts into `~/.vim` / `$HOME\vimfiles`. 42 | 43 | # License 44 | 45 | GPL 3.0 46 | -------------------------------------------------------------------------------- /bundle/vim-emblem/ftdetect/emblem.vim: -------------------------------------------------------------------------------- 1 | " Language: emblem 2 | " Maintainer: heartsentwined 3 | " URL: http://github.com/heartsentwined/vim-emblem 4 | " Version: 1.2.0 5 | " Last Change: 2013 Apr 22 6 | " License: GPL-3.0 7 | 8 | autocmd BufNewFile,BufRead *.emblem set filetype=emblem 9 | autocmd FileType emblem set tabstop=2|set shiftwidth=2|set expandtab 10 | -------------------------------------------------------------------------------- /bundle/vim-emblem/ftplugin/emblem.vim: -------------------------------------------------------------------------------- 1 | " Language: emblem 2 | " Maintainer: heartsentwined 3 | " URL: http://github.com/heartsentwined/vim-emblem 4 | " Version: 1.2.0 5 | " Last Change: 2013 Apr 22 6 | " License: GPL-3.0 7 | 8 | setlocal tabstop=2 9 | setlocal softtabstop=2 10 | setlocal shiftwidth=2 11 | setlocal smarttab 12 | setlocal expandtab 13 | setlocal smartindent 14 | 15 | setlocal formatoptions=q 16 | setlocal comments=:/ 17 | -------------------------------------------------------------------------------- /bundle/vim-emblem/indent/emblem.vim: -------------------------------------------------------------------------------- 1 | " Language: emblem 2 | " Maintainer: heartsentwined 3 | " URL: http://github.com/heartsentwined/vim-emblem 4 | " Version: 1.2.0 5 | " Last Change: 2013 Apr 22 6 | " License: GPL-3.0 7 | -------------------------------------------------------------------------------- /bundle/vim-fireplace/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-fugitive/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-fugitive/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | Before reporting a bug, you should try stripping down your Vim configuration 2 | and removing other plugins. The sad truth about VimScript is that it is 3 | fraught with incompatibilities waiting to happen. I'm happy to work around 4 | them where I can, but it's up to you to isolate the conflict. 5 | 6 | If your [commit message sucks](http://stopwritingramblingcommitmessages.com/), 7 | I'm not going to accept your pull request. I've explained very politely 8 | dozens of times that 9 | [my general guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) 10 | are absolute rules on my own repositories, so I may lack the energy to explain 11 | it to you yet another time. And please, if I ask you to change something, 12 | `git commit --amend`. 13 | 14 | Beyond that, don't be shy about asking before patching. What takes you hours 15 | might take me minutes simply because I have both domain knowledge and a 16 | perverse knowledge of VimScript so vast that many would consider it a symptom 17 | of mental illness. On the flip side, some ideas I'll reject no matter how 18 | good the implementation is. "Send a patch" is an edge case answer in my book. 19 | -------------------------------------------------------------------------------- /bundle/vim-handlebars/MIT-LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Bruno Michel 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /bundle/vim-handlebars/README.md: -------------------------------------------------------------------------------- 1 | Vim plugin for Handlebars 2 | ========================= 3 | 4 | About 5 | ----- 6 | 7 | This plugin is here to help you editing 8 | [Handlebars](http://www.handlebarsjs.com/) files. 9 | 10 | 11 | Install 12 | ------- 13 | 14 | **Install for pathogen** 15 | 16 | cd ~/.vim/ 17 | git submodule add git://github.com/nono/vim-handlebars.git bundle/handlebars 18 | vim bundle/handlebars/example.handlebars 19 | 20 | **Manually Install** 21 | 22 | git clone git://github.com/nono/vim-handlebars.git 23 | cd vim-handlebars 24 | cp -R ftdetect/* ~/.vim/ftdetect/ 25 | cp -R ftplugin/* ~/.vim/ftplugin/ 26 | cp -R indent/* ~/.vim/indent/ 27 | cp -R syntax/* ~/.vim/syntax/ 28 | vim example.handlebars 29 | 30 | 31 | Credits 32 | ------- 33 | 34 | Handlebars is the work of [Yehuda Katz](https://github.com/wycats). 35 | 36 | This plugin was strongly inspired by [mustache.vim](https://github.com/juvenn/mustache.vim). 37 | 38 | ♡2011 by Bruno Michel. Copying is an act of love. Please copy and share. 39 | -------------------------------------------------------------------------------- /bundle/vim-handlebars/ftdetect/handlebars.vim: -------------------------------------------------------------------------------- 1 | if has("autocmd") 2 | au BufNewFile,BufRead *.handlebars,*.hbs,*.hb set ft=html syntax=handlebars | runtime! ftplugin/handlebars.vim ftplugin/handlebars*.vim ftplugin/handlebars/*.vim 3 | endif 4 | -------------------------------------------------------------------------------- /bundle/vim-handlebars/ftplugin/handlebars.vim: -------------------------------------------------------------------------------- 1 | " Taken from https://github.com/juvenn/mustache.vim/blob/master/ftplugin/mustache.vim 2 | 3 | let s:cpo_save = &cpo 4 | set cpo&vim 5 | 6 | " Matchit support for Handlebars 7 | " extending HTML matchit groups 8 | if exists("loaded_matchit") && exists("b:match_words") 9 | let b:match_words = b:match_words 10 | \ . ',{:},[:],(:),' 11 | \ . '\%({{\)\@<=#\s*\%(if\|unless\)\s*.\{-}}}' 12 | \ . ':' 13 | \ . '\%({{\)\@<=\s*else\s*}}' 14 | \ . ':' 15 | \ . '\%({{\)\@<=/\s*\%(if\|unless\)\s*}},' 16 | \ . '\%({{\)\@<=[#^]\s*\([-0-9a-zA-Z_?!/.]\+\).\{-}}}' 17 | \ . ':' 18 | \ . '\%({{\)\@<=/\s*\1\s*}}' 19 | endif 20 | 21 | let &cpo = s:cpo_save 22 | unlet s:cpo_save 23 | -------------------------------------------------------------------------------- /bundle/vim-jade/README.markdown: -------------------------------------------------------------------------------- 1 | # vim-jade # 2 | 3 | Vim syntax highlighting for Jade templates. 4 | 5 | Installation 6 | ------------ 7 | 8 | I prefer to install plugins using Tim Pope's 9 | [pathogen.vim](https://github.com/tpope/vim-pathogen). Installation using 10 | pathogen is quite simple. 11 | 12 | cd ~/.vim/bundle 13 | git clone git://github.com/digitaltoad/vim-jade.git 14 | 15 | If you do not want to use pathogen. You can always install vim-jade in the 16 | normal manner by copying each directory to your ~/.vim directory. Make sure 17 | not to overwrite any existing directory of the same name and instead copy only 18 | the contents of the source directory to the directory of the same name in your 19 | ~/.vim directory. 20 | -------------------------------------------------------------------------------- /bundle/vim-jade/ftdetect/jade.vim: -------------------------------------------------------------------------------- 1 | " Jade 2 | autocmd BufNewFile,BufReadPost *.jade set filetype=jade 3 | -------------------------------------------------------------------------------- /bundle/vim-less/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /bundle/vim-less/ftdetect/less.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.less setf less 2 | -------------------------------------------------------------------------------- /bundle/vim-less/ftplugin/less.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: LessCSS 3 | " Author: Tim Pope 4 | " Maintainer: Leonard Ehrenfried 5 | " Last Change: 2011 Sep 30 6 | 7 | " Only do this when not done yet for this buffer 8 | if exists("b:did_ftplugin") 9 | finish 10 | endif 11 | let b:did_ftplugin = 1 12 | 13 | let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<" 14 | 15 | setlocal commentstring=//\ %s 16 | setlocal define=^\\s*\\%(@mixin\\\|=\\) 17 | setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','') 18 | setlocal omnifunc=csscomplete#CompleteCSS 19 | setlocal suffixesadd=.less 20 | 21 | let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\=' 22 | 23 | " vim:set sw=2: 24 | -------------------------------------------------------------------------------- /bundle/vim-less/indent/less.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: LessCSS 3 | " Maintainer: Leonard Ehrenfried 4 | " Last Change: 2011 Sep 26 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | 10 | runtime! indent/css.vim 11 | 12 | -------------------------------------------------------------------------------- /bundle/vim-less/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomicobject/atomic_vim/afeb30f0f0374c781e74fcf791f98a4107dfeaf9/bundle/vim-less/screenshot.png -------------------------------------------------------------------------------- /bundle/vim-markdown/ftdetect/markdown.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn 2 | \ if &ft =~# '^\%(conf\|modula2\)$' | 3 | \ set ft=markdown | 4 | \ else | 5 | \ setf markdown | 6 | \ endif 7 | -------------------------------------------------------------------------------- /bundle/vim-markdown/ftplugin/markdown.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: Markdown 3 | " Maintainer: Tim Pope 4 | " Last Change: 2013 May 30 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | 10 | runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim 11 | 12 | setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s 13 | setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o 14 | setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+ 15 | 16 | if exists('b:undo_ftplugin') 17 | let b:undo_ftplugin .= "|setl cms< com< fo< flp<" 18 | else 19 | let b:undo_ftplugin = "setl cms< com< fo< flp<" 20 | endif 21 | 22 | " vim:set sw=2: 23 | -------------------------------------------------------------------------------- /bundle/vim-multimarkdown/README.md: -------------------------------------------------------------------------------- 1 | # vim-multimarkdown 2 | 3 | An extension of Ben Williams's markdown syntax file to accommodate Fletcher 4 | Penney's multimarkdown. 5 | 6 | Still in early, halfhearted development. 7 | -------------------------------------------------------------------------------- /bundle/vim-multimarkdown/ftdetect/mmd.vim: -------------------------------------------------------------------------------- 1 | " markdown filetype file 2 | au BufRead,BufNewFile *.{mmd} set filetype=mmd 3 | 4 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Maintainers: 2 | Mark Guzman 3 | Doug Kearns 4 | Tim Pope 5 | Andrew Radev 6 | Nikolai Weibull 7 | 8 | Other contributors: 9 | Michael Brailsford 10 | Sean Flanagan 11 | Tim Hammerquist 12 | Ken Miller 13 | Hugh Sasse 14 | Tilman Sauerbeck 15 | Bertram Scharpf 16 | Gavin Sinclair 17 | Aaron Son 18 | Ned Konz 19 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/INSTALL.markdown: -------------------------------------------------------------------------------- 1 | Installation 2 | ============ 3 | 4 | In general, your favorite method works. Here are some options. 5 | 6 | With pathogen.vim 7 | ----------------- 8 | 9 | Install [pathogen.vim](https://github.com/tpope/vim-pathogen), 10 | then copy and paste: 11 | 12 | git clone git://github.com/vim-ruby/vim-ruby.git ~/.vim/bundle/vim-ruby 13 | 14 | With Vundle 15 | ----------- 16 | 17 | Install [Vundle](https://github.com/gmarik/vundle), then add the 18 | following to your vimrc: 19 | 20 | Bundle 'vim-ruby/vim-ruby' 21 | 22 | With patience 23 | ------------- 24 | 25 | Wait for an upgrade to Vim and install it. Vim ships with the latest 26 | version of vim-ruby at the time of its release. (Remember this when 27 | choosing another installation method. The version you download will 28 | supersede the version that ships with Vim, so you will now be 29 | responsible for keeping it up-to-date.) 30 | 31 | Manually 32 | -------- 33 | 34 | [Download](https://github.com/vim-ruby/vim-ruby/archives/master) and 35 | extract an archive, and run `bin/vim-ruby-install.rb` to copy the 36 | relevant files to `~/.vim`. 37 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/compiler/eruby.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Language: eRuby 3 | " Maintainer: Doug Kearns 4 | " URL: https://github.com/vim-ruby/vim-ruby 5 | " Anon CVS: See above site 6 | " Release Coordinator: Doug Kearns 7 | 8 | if exists("current_compiler") 9 | finish 10 | endif 11 | let current_compiler = "eruby" 12 | 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 | command -nargs=* CompilerSet setlocal 15 | endif 16 | 17 | let s:cpo_save = &cpo 18 | set cpo-=C 19 | 20 | if exists("eruby_compiler") && eruby_compiler == "eruby" 21 | CompilerSet makeprg=eruby 22 | else 23 | CompilerSet makeprg=erb 24 | endif 25 | 26 | CompilerSet errorformat= 27 | \eruby:\ %f:%l:%m, 28 | \%+E%f:%l:\ parse\ error, 29 | \%W%f:%l:\ warning:\ %m, 30 | \%E%f:%l:in\ %*[^:]:\ %m, 31 | \%E%f:%l:\ %m, 32 | \%-C%\tfrom\ %f:%l:in\ %.%#, 33 | \%-Z%\tfrom\ %f:%l, 34 | \%-Z%p^, 35 | \%-G%.%# 36 | 37 | let &cpo = s:cpo_save 38 | unlet s:cpo_save 39 | 40 | " vim: nowrap sw=2 sts=2 ts=8: 41 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/compiler/rspec.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Language: RSpec 3 | " Maintainer: Tim Pope 4 | " URL: https://github.com/vim-ruby/vim-ruby 5 | " Anon CVS: See above site 6 | " Release Coordinator: Doug Kearns 7 | 8 | if exists("current_compiler") 9 | finish 10 | endif 11 | let current_compiler = "rspec" 12 | 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 | command -nargs=* CompilerSet setlocal 15 | endif 16 | 17 | let s:cpo_save = &cpo 18 | set cpo-=C 19 | 20 | CompilerSet makeprg=rspec 21 | 22 | CompilerSet errorformat= 23 | \%f:%l:\ %tarning:\ %m, 24 | \%E%.%#:in\ `load':\ %f:%l:%m, 25 | \%E%f:%l:in\ `%*[^']':\ %m, 26 | \%-Z\ \ \ \ \ \#\ %f:%l:%.%#, 27 | \%E\ \ %\\d%\\+)%.%#, 28 | \%C\ \ \ \ \ %m, 29 | \%-G%.%# 30 | 31 | let &cpo = s:cpo_save 32 | unlet s:cpo_save 33 | 34 | " vim: nowrap sw=2 sts=2 ts=8: 35 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/compiler/rubyunit.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Language: Test::Unit - Ruby Unit Testing Framework 3 | " Maintainer: Doug Kearns 4 | " URL: https://github.com/vim-ruby/vim-ruby 5 | " Anon CVS: See above site 6 | " Release Coordinator: Doug Kearns 7 | 8 | if exists("current_compiler") 9 | finish 10 | endif 11 | let current_compiler = "rubyunit" 12 | 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 | command -nargs=* CompilerSet setlocal 15 | endif 16 | 17 | let s:cpo_save = &cpo 18 | set cpo-=C 19 | 20 | CompilerSet makeprg=testrb 21 | 22 | CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:, 23 | \%C%m\ [%f:%l]:, 24 | \%E\ %\\+%\\d%\\+)\ Error:, 25 | \%C%m:, 26 | \%C\ \ \ \ %f:%l:%.%#, 27 | \%C%m, 28 | \%Z\ %#, 29 | \%-G%.%# 30 | 31 | let &cpo = s:cpo_save 32 | unlet s:cpo_save 33 | 34 | " vim: nowrap sw=2 sts=2 ts=8: 35 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/blocks.rb: -------------------------------------------------------------------------------- 1 | do 2 | something 3 | end 4 | 5 | def foo 6 | a_hash = {:do => 'bar'} 7 | end 8 | 9 | def foo(job) 10 | job.do! 11 | end 12 | 13 | proc do |(a, b)| 14 | puts a 15 | puts b 16 | end 17 | 18 | proc do |foo, (a, b), bar| 19 | puts a 20 | puts b 21 | end 22 | 23 | proc do |(a, (b, c)), d| 24 | puts a, b 25 | puts c, d 26 | end 27 | 28 | define_method "something" do |param| 29 | if param == 42 30 | do_something 31 | else 32 | do_something_else 33 | end 34 | end 35 | 36 | def foo 37 | opts.on('--coordinator host=HOST[,port=PORT]', 38 | 'Specify the HOST and the PORT of the coordinator') do |str| 39 | h = sub_opts_to_hash(str) 40 | puts h 41 | end 42 | end 43 | 44 | module X 45 | Class.new do 46 | end 47 | end 48 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/closing_brackets.rb: -------------------------------------------------------------------------------- 1 | [1, [2, 2 | [3], 3 | 3], 4 | 4] 5 | 6 | [1, [2, 7 | 3], 8 | 4] 9 | 10 | [1, {2 => 11 | 3}, 12 | 4] 13 | 14 | [1, f(2, 15 | 3), 16 | 4] 17 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/continuations.rb: -------------------------------------------------------------------------------- 1 | # See https://github.com/vim-ruby/vim-ruby/issues/75 for details 2 | puts %{#{}} 3 | puts "OK" 4 | 5 | while true 6 | begin 7 | puts %{#{x}} 8 | rescue ArgumentError 9 | end 10 | end 11 | 12 | variable = 13 | if condition? 14 | 1 15 | else 16 | 2 17 | end 18 | 19 | variable = # evil comment 20 | case something 21 | when 'something' 22 | something_else 23 | else 24 | other 25 | end 26 | 27 | array = [ 28 | :one, 29 | ].each do |x| 30 | puts x.to_s 31 | end 32 | 33 | x { y >> 34 | z } 35 | w 36 | 37 | x { y >> 38 | [z] } 39 | w 40 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/end_constructs.rb: -------------------------------------------------------------------------------- 1 | module Foo 2 | class Bar 3 | f do 4 | g { def h; end } 5 | end 6 | 7 | if foo 8 | bar ; end 9 | 10 | if bar ; end 11 | 12 | foo do 13 | foo = 3 . class 14 | foo = lambda { class One; end } 15 | foo = lambda { |args| class One; end } 16 | foo = bar; class One; end 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/nested_hashes.rb: -------------------------------------------------------------------------------- 1 | class Foo 2 | # nested do ... end blocks: 3 | var.func1(:param => 'value') do 4 | var.func2(:param => 'value') do 5 | puts "test" 6 | end 7 | end 8 | 9 | # nested { ... } blocks 10 | var.func1(:param => 'value') { 11 | var.func2(:param => 'value') { 12 | foo({ bar => baz }) 13 | puts "test one" 14 | puts "test two" 15 | } 16 | } 17 | 18 | # nested hash 19 | foo, bar = { 20 | :bar => { 21 | :one => 'two', 22 | :five => 'six' 23 | } 24 | } 25 | 26 | # nested { ... } blocks with a continued first line 27 | var. 28 | func1(:param => 'value') { 29 | var.func2(:param => 'value') { 30 | puts "test" 31 | } 32 | } 33 | 34 | # nested hashes with a continued first line 35 | foo, 36 | bar = { 37 | :bar => { 38 | :foo => { 'bar' => 'baz' }, 39 | :one => 'two', 40 | :three => 'four' 41 | } 42 | } 43 | 44 | # TODO nested { ... } blocks with a continued first line and a function call 45 | # inbetween 46 | var. 47 | func1(:param => 'value') { 48 | func1_5(:param => 'value') 49 | var.func2(:param => 'value') { 50 | puts "test" 51 | } 52 | } 53 | end 54 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/splat.rb: -------------------------------------------------------------------------------- 1 | x = Foo[* 2 | y do 3 | z 4 | end 5 | ] 6 | 7 | x = Foo[* # with a comment 8 | y do 9 | z 10 | end 11 | ] 12 | 13 | x = * 14 | array.map do 15 | 3 16 | end 17 | 18 | x = Foo[* 19 | y { 20 | z 21 | } 22 | ] 23 | 24 | x = Foo(*y do 25 | z 26 | end) 27 | 28 | foo(1, 29 | 2, 30 | *) 31 | -------------------------------------------------------------------------------- /bundle/vim-ruby-stable-20130114/etc/examples/indent/strings.rb: -------------------------------------------------------------------------------- 1 | command = %|#{file}| 2 | settings.log.info("Returning: #{command}") 3 | -------------------------------------------------------------------------------- /bundle/vim-slim/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 Andrew Stone 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /bundle/vim-slim/ftdetect/slim.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.slim set syntax=slim 2 | autocmd FileType slim set tabstop=2|set shiftwidth=2|set expandtab 3 | -------------------------------------------------------------------------------- /bundle/vim-slim/ftplugin/slim.vim: -------------------------------------------------------------------------------- 1 | setlocal tabstop=2 2 | setlocal softtabstop=2 3 | setlocal shiftwidth=2 4 | setlocal smarttab 5 | setlocal expandtab 6 | setlocal smartindent 7 | -------------------------------------------------------------------------------- /bundle/vim-surround/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-unimpaired/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /bundle/vim-writeroom/doc/vim-writeroom.txt: -------------------------------------------------------------------------------- 1 | *vim-writeroom.txt* For Vim version 7.3 2 | 3 | 4 | VIM REFERENCE MANUAL by James Tomasino 5 | 6 | 7 | Help on using vim-writeroom *vim-writeroom* 8 | 9 | 1. Introduction |vim-writeroom-intro| 10 | 3. Credits |vim-writeroom-credits| 11 | 12 | ============================================================================== 13 | 1. INTRODUCTION *vim-writeroom-intro* 14 | 15 | A free, open source plugin will mimic the behavior of the amazing program, 16 | WriteRoom, by providing a full-screen, distraction-free editing environment. 17 | 18 | Hit to enable vim-writeroom. Enjoy. 19 | 20 | 21 | ============================================================================== 22 | 3. CREDITS *vim-writeroom-credits* 23 | 24 | I'd like to thank Brandur and his blog post that inspired this plugin. 25 | https://mutelight.org/vim-is-writeroom-level-2 26 | 27 | vim:tw=78:ts=8:ft=help:norl: 28 | -------------------------------------------------------------------------------- /bundle/vim-yankstack/.gitignore: -------------------------------------------------------------------------------- 1 | .rvmrc 2 | doc/tags 3 | -------------------------------------------------------------------------------- /bundle/vim-yankstack/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem "vimbot", :git => "git@github.com:maxbrunsfeld/vimbot.git" 4 | gem "rspec" 5 | -------------------------------------------------------------------------------- /bundle/vim-yankstack/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GIT 2 | remote: git@github.com:maxbrunsfeld/vimbot.git 3 | revision: 489cb3283a89d3e7891d9d9765188179c764317b 4 | specs: 5 | vimbot (0.0.1) 6 | 7 | GEM 8 | remote: https://rubygems.org/ 9 | specs: 10 | diff-lcs (1.1.3) 11 | rspec (2.8.0) 12 | rspec-core (~> 2.8.0) 13 | rspec-expectations (~> 2.8.0) 14 | rspec-mocks (~> 2.8.0) 15 | rspec-core (2.8.0) 16 | rspec-expectations (2.8.0) 17 | diff-lcs (~> 1.1.2) 18 | rspec-mocks (2.8.0) 19 | 20 | PLATFORMS 21 | ruby 22 | 23 | DEPENDENCIES 24 | rspec 25 | vimbot! 26 | -------------------------------------------------------------------------------- /bundle/vim-yankstack/plugin/yankstack.vim: -------------------------------------------------------------------------------- 1 | call yankstack#setup() 2 | -------------------------------------------------------------------------------- /bundle/vim-yankstack/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require "vimbot" 2 | 3 | PLUGIN_ROOT = File.expand_path("../..", __FILE__) 4 | VIM_REPEAT_PATH = File.expand_path("spec/fixtures/repeat.vim", PLUGIN_ROOT) 5 | 6 | RSpec.configure do |c| 7 | c.alias_it_should_behave_like_to :it_has_behavior, 'has behavior:' 8 | end 9 | 10 | -------------------------------------------------------------------------------- /colthorp-gvimrc.vim: -------------------------------------------------------------------------------- 1 | let g:solarized_termcolors=256 2 | colorscheme solarized 3 | -------------------------------------------------------------------------------- /compiler/rspec.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Language: RSpec 3 | " Maintainer: Tim Pope 4 | " URL: http://vim-ruby.rubyforge.org 5 | " Anon CVS: See above site 6 | " Release Coordinator: Doug Kearns 7 | 8 | if exists("current_compiler") 9 | finish 10 | endif 11 | let current_compiler = "rspec" 12 | 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 | command -nargs=* CompilerSet setlocal 15 | endif 16 | 17 | let s:cpo_save = &cpo 18 | set cpo-=C 19 | 20 | CompilerSet makeprg=spec 21 | 22 | CompilerSet errorformat= 23 | \%+W'%.%#'\ FAILED, 24 | \%+I'%.%#'\ FIXED, 25 | \%-Cexpected:%.%#, 26 | \%-C\ \ \ \ \ got:%.%#, 27 | \%E%.%#:in\ `load':\ %f:%l:%m, 28 | \%C%f:%l:, 29 | \%W%f:%l:\ warning:\ %m, 30 | \%E%f:%l:in\ %*[^:]:\ %m, 31 | \%E%f:%l:\ %m, 32 | \%-Z%\tfrom\ %f:%l, 33 | \%-Z%p^%.%#, 34 | \%-C%.%#, 35 | \%-G%.%# 36 | 37 | let &cpo = s:cpo_save 38 | unlet s:cpo_save 39 | 40 | " vim: nowrap sw=2 sts=2 ts=8: 41 | -------------------------------------------------------------------------------- /crosby-gvimrc.vim: -------------------------------------------------------------------------------- 1 | " gvim-specific options 2 | 3 | colorscheme koehler 4 | 5 | set guifont=Consolas:h12:cANSI 6 | "FALLBACK: set guifont=Monospace 7 | 8 | " Remove toolbar, it sux 9 | set guioptions-=T 10 | 11 | " Remove menubar, it sux 12 | set guioptions-=m 13 | 14 | " Make silly command abbreviations to toggle toolbar and menubar: 15 | cabbr toff set guioptions-=T 16 | cabbr ton set guioptions+=T 17 | cabbr moff set guioptions-=m 18 | cabbr mon set guioptions+=m 19 | 20 | " No bell or visual bell 21 | set vb t_vb= 22 | 23 | " No highlight search 24 | set nohlsearch 25 | 26 | -------------------------------------------------------------------------------- /english-gvimrc.vim: -------------------------------------------------------------------------------- 1 | let g:solarized_termcolors=256 2 | colorscheme solarized 3 | -------------------------------------------------------------------------------- /filetype.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile /usr/local/nginx/conf/* set ft=nginx 2 | -------------------------------------------------------------------------------- /ftdetect/arduino.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.ino,*.pde set filetype=arduino 2 | -------------------------------------------------------------------------------- /ftdetect/clojure.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.clj setfiletype clojure 2 | -------------------------------------------------------------------------------- /ftdetect/go.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.go set filetype=go 2 | -------------------------------------------------------------------------------- /ftdetect/spec_output.vim: -------------------------------------------------------------------------------- 1 | " AORuby 2 | au BufNewFile,BufRead *.spec_output set filetype=spec_output 3 | -------------------------------------------------------------------------------- /ftdetect/thor.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.thor set filetype=ruby 2 | -------------------------------------------------------------------------------- /ftplugin/datamapper.vim: -------------------------------------------------------------------------------- 1 | " Vim ftplugin file 2 | " Language: Datamapper 3 | " Maintainer: Bruno Michel 4 | " Last Change: Oct 14, 2008 5 | " Version: 0.1 6 | " URL: http://www.datamapper.org/ 7 | 8 | inorea res include DataMapper::Resource 9 | 10 | inorea sti property :type, Discriminator 11 | inorea delat property :deleted_at, ParanoidDateTime 12 | inorea timestamps property :created_at, DateTimeproperty :updated_at, DateTime 13 | inorea enum property :status, Enum[:new], :default => :new 14 | inorea flag property :levels, Flag[:admin] 15 | 16 | inorea vp validates_present 17 | inorea va validates_absent 18 | inorea via validates_is_accepted 19 | inorea vis validates_is_confirmed 20 | inorea vf validates_format 21 | inorea vl validates_length 22 | inorea vwm validates_with_method 23 | inorea vwb validates_with_block 24 | inorea vin validates_is_number 25 | inorea viu validates_is_unique 26 | inorea vw validates_within 27 | -------------------------------------------------------------------------------- /ftplugin/datamapper_migration.vim: -------------------------------------------------------------------------------- 1 | " Vim ftplugin file 2 | " Language: Datamapper migrations 3 | " Maintainer: Bruno Michel 4 | " Last Change: Oct 15, 2008 5 | " Version: 0.1 6 | " URL: http://www.datamapper.org/ 7 | 8 | inorea ct create_table 9 | inorea dt drop_table 10 | inorea mt modify_table 11 | 12 | inorea ai add_index 13 | inorea di drop_index 14 | 15 | inorea col column 16 | inorea ac add_column 17 | inorea dc drop_column 18 | inorea rc rename_column 19 | inorea cc change_column 20 | -------------------------------------------------------------------------------- /ftplugin/html_snip_helper.vim: -------------------------------------------------------------------------------- 1 | " Helper function for (x)html snippets 2 | if exists('s:did_snip_helper') || &cp || !exists('loaded_snips') 3 | finish 4 | endif 5 | let s:did_snip_helper = 1 6 | 7 | " Automatically closes tag if in xhtml 8 | fun! Close() 9 | return stridx(&ft, 'xhtml') == -1 ? '' : ' /' 10 | endf 11 | -------------------------------------------------------------------------------- /ftplugin/sass.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: Sass 3 | " Maintainer: Tim Pope 4 | 5 | " Only do this when not done yet for this buffer 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl cms< inc< ofu<" 12 | 13 | setlocal commentstring=//\ %s 14 | setlocal omnifunc=csscomplete#CompleteCSS 15 | 16 | let &l:include = '^\s*@import\s\+\%(url(\)\=' 17 | 18 | " vim:set sw=2: 19 | -------------------------------------------------------------------------------- /indent/sass.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: SASS 3 | " Maintainer: Tim Pope 4 | " Last Change: 2007 Dec 16 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal autoindent sw=2 et 12 | setlocal indentexpr=GetSassIndent() 13 | setlocal indentkeys=o,O,*,<:>,!^F 14 | 15 | " Only define the function once. 16 | if exists("*GetSassIndent") 17 | finish 18 | endif 19 | 20 | let s:property = '^\s*:\|^\s*[[:alnum:]-]\+:' 21 | 22 | function! GetSassIndent() 23 | let lnum = prevnonblank(v:lnum-1) 24 | let line = substitute(getline(lnum),'\s\+$','','') 25 | let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','') 26 | let lastcol = strlen(line) 27 | let line = substitute(line,'^\s\+','','') 28 | let indent = indent(lnum) 29 | let cindent = indent(v:lnum) 30 | if line !~ s:property && cline =~ s:property 31 | return indent + &sw 32 | "elseif line =~ s:property && cline !~ s:property 33 | "return indent - &sw 34 | else 35 | return -1 36 | endif 37 | endfunction 38 | 39 | " vim:set sw=2: 40 | -------------------------------------------------------------------------------- /johnson-gvimrc.vim: -------------------------------------------------------------------------------- 1 | set guifont=Ubuntu\ Mono:h14 2 | -------------------------------------------------------------------------------- /macvim-vimrc.vim: -------------------------------------------------------------------------------- 1 | " gvim-specific options 2 | 3 | ":highlight Normal guifg=white guibg=black 4 | :colorscheme koehler 5 | ":set guifont=kana14 6 | ":set guifont=-schumacher-clean-medium-r-normal-*-*-140-*-*-c-*-iso646.1991-irv 7 | ":set guifont=-*-fixed-medium-r-normal--14-*-*-*-*-*-*-*,*-r-* 8 | ":set guifont=Lucida\ Console\ 11 9 | ":set guifont=Monospace 10 | ":cabbr font1 set guifont=-*-fixed-medium-r-normal--12-*-*-*-*-*-*-*,*-r-* 11 | :cabbr font1 set guifont=-*-courier-*-r-*-*-10-*-*-*-*-*-*-* 12 | ":cabbr font2 set guifont=Monospace 13 | 14 | " Remove toolbar, it sux 15 | :set guioptions-=T 16 | " 17 | :set guioptions-=m 18 | " Remove menubar 19 | ":set guioptions-=m 20 | :cabbr toff set guioptions-=T 21 | :cabbr ton set guioptions+=T 22 | :cabbr moff set guioptions-=m 23 | :cabbr mon set guioptions+=m 24 | 25 | " Remove some toolbar items: 26 | ":aunmenu ToolBar.RunScript 27 | ":aunmenu ToolBar.RunCtags 28 | ":aunmenu ToolBar.Shell 29 | ":aunmenu ToolBar.TagJump 30 | ":aunmenu ToolBar.Help 31 | ":aunmenu ToolBar.-sep7- 32 | ":aunmenu ToolBar.FindHelp 33 | 34 | 35 | "Add some items: 36 | ":amenu ToolBar.RunJava :qjjr 37 | ":amenu ToolBar.WWOn :set wrap 38 | ":amenu ToolBar.WWOff :set nowrap 39 | 40 | :set vb t_vb= 41 | :set nohlsearch 42 | -------------------------------------------------------------------------------- /plugin/run_file.vim: -------------------------------------------------------------------------------- 1 | function! Run(command, ...) 2 | botright copen 3 | setlocal wrap 4 | setlocal modifiable 5 | normal ggdG 6 | :resize 20 7 | 8 | execute "!" . a:command . " 2>&1 | tee ~/.run.out" 9 | execute "read ~/.run.out" 10 | setlocal nomodified 11 | setlocal nomodifiable 12 | endfunction 13 | 14 | function! RunFile() 15 | call Run("ruby ~/.vim/tools/run_file.rb " . expand("%"), "Running " . expand("%") . "...") 16 | endfunction 17 | 18 | function! RunFileAtLine() 19 | call Run("ruby ~/.vim/tools/run_file_at_line.rb " . expand("%") . " " . line("."), "Running " . expand("%") . " at line " . line(".") . "...") 20 | endfunction 21 | 22 | command! -nargs=* -complete=file Run call Run() 23 | command! RunFile call RunFile() 24 | command! RunFileAtLine call RunFileAtLine() 25 | -------------------------------------------------------------------------------- /plugin/slime.vim: -------------------------------------------------------------------------------- 1 | 2 | """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 3 | 4 | function Send_to_Screen(text) 5 | if !exists("b:slime") 6 | call Screen_Vars() 7 | end 8 | 9 | let escaped_text = substitute(shellescape(a:text), "\\\\\n", "\n", "g") 10 | call system("screen -S " . b:slime["sessionname"] . " -p " . b:slime["windowname"] . " -X stuff " . escaped_text) 11 | endfunction 12 | 13 | function Screen_Session_Names(A,L,P) 14 | return system("screen -ls | awk '/Attached/ {print $1}'") 15 | endfunction 16 | 17 | function Screen_Vars() 18 | if !exists("b:slime") 19 | let b:slime = {"sessionname": "", "windowname": "0"} 20 | end 21 | 22 | let b:slime["sessionname"] = input("session name: ", b:slime["sessionname"], "custom,Screen_Session_Names") 23 | let b:slime["windowname"] = input("window name: ", b:slime["windowname"]) 24 | endfunction 25 | 26 | """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 27 | 28 | vmap "ry:call Send_to_Screen(@r) 29 | nmap vip 30 | 31 | nmap v :call Screen_Vars() 32 | 33 | -------------------------------------------------------------------------------- /plugin/tag_generation.vim: -------------------------------------------------------------------------------- 1 | function! RegenTags() 2 | let exclude_list = join(g:vim_ignore, "|") 3 | let ext_list = join(g:taggable_extensions, "|") 4 | if has("win32") 5 | let ruby_generate_tags = "!ruby '" . $HOME . "/vimfiles/tools/generate_tags.rb'" 6 | else 7 | let ruby_generate_tags = "!ruby ~/.vim/tools/generate_tags.rb" 8 | endif 9 | 10 | silent execute ruby_generate_tags . " '" . ext_list . "' '". exclude_list ."'" 11 | silent execute ":redraw!" 12 | endfunction 13 | 14 | command! RegenTags call RegenTags()|CtrlPClearAllCaches 15 | -------------------------------------------------------------------------------- /snippets/_.snippets: -------------------------------------------------------------------------------- 1 | # Global snippets 2 | 3 | # (c) holds no legal value ;) 4 | snippet c) 5 | `&enc[:2] == "utf" ? "©" : "(c)"` Copyright `strftime("%Y")` ${1:`g:snips_author`}. All Rights Reserved.${2} 6 | snippet date 7 | `strftime("%Y-%m-%d")` 8 | -------------------------------------------------------------------------------- /snippets/cpp.snippets: -------------------------------------------------------------------------------- 1 | # Read File Into Vector 2 | snippet readfile 3 | std::vector v; 4 | if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) { 5 | char buf[1024]; 6 | while (size_t len = fread(buf, 1, sizeof(buf), $2)) 7 | v.insert(v.end(), buf, buf + len); 8 | fclose($2); 9 | }${3} 10 | # std::map 11 | snippet map 12 | std::map<${1:key}, ${2:value}> map${3}; 13 | # std::vector 14 | snippet vector 15 | std::vector<${1:char}> v${2}; 16 | # Namespace 17 | snippet ns 18 | namespace ${1:`Filename('', 'my')`} { 19 | ${2} 20 | } /* $1 */ 21 | # Class 22 | snippet cl 23 | class ${1:`Filename('$1_t', 'name')`} { 24 | public: 25 | $1 (${2:arguments}); 26 | virtual ~$1 (); 27 | 28 | private: 29 | ${3:/* data */} 30 | }; 31 | -------------------------------------------------------------------------------- /snippets/drupal/checkbox.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */'] = array( 2 | '#type' => 'checkbox', 3 | '#title' => t('${2:/* title */}'), 4 | '#description' => t('${3:/* description */}'), 5 | ); 6 | -------------------------------------------------------------------------------- /snippets/drupal/checkboxes.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */'] = array( 2 | '#type' => 'checkboxes', 3 | '#title' => t('${2:/* title */}'), 4 | '#description' => t('${3:/* description */}'), 5 | '#options' => array( 6 | '${4:/* key */}' => t('${5:/* value */}), 7 | ); 8 | ); 9 | -------------------------------------------------------------------------------- /snippets/drupal/db_fetch_array.snippet: -------------------------------------------------------------------------------- 1 | while ($${1:row} = db_fetch_array($result)) { 2 | ${2:// Your code here} 3 | } -------------------------------------------------------------------------------- /snippets/drupal/db_fetch_object.snippet: -------------------------------------------------------------------------------- 1 | while ($${1:row} = db_fetch_object($result)) { 2 | ${2:// Your code here} 3 | } -------------------------------------------------------------------------------- /snippets/drupal/db_query.snippet: -------------------------------------------------------------------------------- 1 | $result = db_query('${1:/* Query */}', ${2:/* Arguments */}); -------------------------------------------------------------------------------- /snippets/drupal/db_rewrite_sql.snippet: -------------------------------------------------------------------------------- 1 | $result = db_query(db_rewrite_sql('${1:/* Query */}), ${2:/* Arguments */}); 2 | -------------------------------------------------------------------------------- /snippets/drupal/drupal_add_js.snippet: -------------------------------------------------------------------------------- 1 | drupal_add_js(${1:/* Data */}, '${2:/* Type 'core', 'module', 'theme', 'inline' and 'setting' */}', '${3:/* Scope: header or footer */}', ${4:/* Defer TRUE of FALSE */}, ${5:/* Cache TRUE or FALSE*/}, ${6: /* Preprocess TRUE or FALSE */}); 2 | -------------------------------------------------------------------------------- /snippets/drupal/drupal_get_form.snippet: -------------------------------------------------------------------------------- 1 | drupal_get_form('${1:/* Form ID */}', $${2:argument}); -------------------------------------------------------------------------------- /snippets/drupal/drupal_get_path.snippet: -------------------------------------------------------------------------------- 1 | drupal_get_path('${1:/* Type: module, theme or theme_engine */}', '${2:/* Name */}'); 2 | -------------------------------------------------------------------------------- /snippets/drupal/drupal_get_path_alias.snippet: -------------------------------------------------------------------------------- 1 | drupal_get_path_alias('node/${1:nid}', ${2:language (optional)}); -------------------------------------------------------------------------------- /snippets/drupal/drupal_goto.snippet: -------------------------------------------------------------------------------- 1 | drupal_goto('${1:path}', '${2:query}', '${3:anchor}', '${4:http_response_code}'); -------------------------------------------------------------------------------- /snippets/drupal/dsm.snippet: -------------------------------------------------------------------------------- 1 | drupal_set_message('${1:message}.', '${2:status, warning, or error}', ${3:repeat (default:TRUE)}); -------------------------------------------------------------------------------- /snippets/drupal/file.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */}'] = array( 2 | '#type' => 'file', 3 | '#title' => t('${2:/* title */}'), 4 | '#description' => t('${3:/* description */}'), 5 | ); -------------------------------------------------------------------------------- /snippets/drupal/hook_block.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_block() 4 | */ 5 | function `Filename()`_block($op = 'list', $delta = 0, $edit = array()) { 6 | switch ($op) { 7 | case 'list': 8 | ${1} 9 | case 'configure': 10 | case 'save': 11 | case 'view': 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /snippets/drupal/hook_comment.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_comment() 4 | */ 5 | function `Filename()`_comment(&$a1, $op) { 6 | switch ($op) { 7 | case '${1:/* See http://api.drupal.org/api/function/hook_comment/6 for options */}': 8 | ${2:// Your code here} 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_cron.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_cron() 4 | */ 5 | function `Filename()`_cron() { 6 | ${1:// Your code here.} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /snippets/drupal/hook_form_alter.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_form_alter() 4 | */ 5 | function `Filename()`_form_alter(&$form, $form_state, $form_id) { 6 | switch ($form_id) { 7 | case '${1:/* your form */}': 8 | ${2:// your code.} 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_help.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_help 4 | */ 5 | function `Filename()`_help($path, $arg) { 6 | switch ($path) { 7 | case '${1:/* path */}': 8 | // Enter your help text below 9 | return t('${2:/* text */}'); 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /snippets/drupal/hook_init.snippet: -------------------------------------------------------------------------------- 1 | /** 2 | * Implementation of hook_init(). 3 | */ 4 | function `Filename()`_menu_init() { 5 | ${1:/* your code here */} 6 | } 7 | -------------------------------------------------------------------------------- /snippets/drupal/hook_mail_alter.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_mail_alter() 4 | */ 5 | function `Filename()`_mail_alter(&$message) { 6 | ${1:// Your code here.} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /snippets/drupal/hook_menu.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_menu() 4 | */ 5 | function `Filename()`_menu() { 6 | $${1:items} = array(); 7 | 8 | // Put your menu items here. 9 | $$1['${2:path}'] = array( 10 | ${3} 11 | ); 12 | 13 | return $$1; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /snippets/drupal/hook_menu_alter.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_menu_alter(). 4 | */ 5 | function `Filename()`_menu_alter(&$${1:items}) { 6 | $$1['${2:/* your code here */}'] 7 | } 8 | 9 | -------------------------------------------------------------------------------- /snippets/drupal/hook_node_info.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_node_info(). 4 | */ 5 | function `Filename()`_node_info() { 6 | return array( 7 | '${1:/* machine-readable name */}' => array( 8 | 'name' => t('${2:/* human-readable name */}'), 9 | 'module' => '`Filename()`', 10 | 'description' => t('${3:/* description */}'), 11 | ), 12 | ); 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /snippets/drupal/hook_node_operations.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_node_operations() 4 | */ 5 | function `Filename()`_node_operations() { 6 | $operations = array( 7 | '${1:/* operation */}' => array( 8 | 'label' => t('${2:/* label */}'), 9 | 'callback' => '${3:/* callback */}', 10 | ), 11 | ); 12 | return $operations; 13 | } 14 | 15 | /** 16 | * Callback function 17 | */ 18 | function $3 { 19 | ${4:// Your code here.} 20 | } 21 | 22 | -------------------------------------------------------------------------------- /snippets/drupal/hook_node_type.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_node_type() 4 | */ 5 | function `Filename()`_node_type($op, $info) { 6 | switch ($op) { 7 | case '${1:See http://api.drupal.org/api/function/hook_node_type/6 for options}': 8 | ${2:// Your code here.} 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_nodeapi.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_nodeapi() 4 | */ 5 | function `Filename()`_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) { 6 | switch ($op) { 7 | case '${1:/* See http://api.drupal.org/api/function/hook_nodeapi/6 for options}': 8 | ${2:// Your code here.} 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_perm.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_perm() 4 | */ 5 | function `Filename()`_perm() { 6 | return array('${1:/* permission */}'); 7 | } 8 | 9 | -------------------------------------------------------------------------------- /snippets/drupal/hook_schema.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_schema() 4 | */ 5 | function `Filename()`_schema() { 6 | $schema['${1:table}'] = array( 7 | 'description' => '${2}', 8 | 'fields' => array( 9 | '${3:column}' => array( 10 | 'description' => '${4}', 11 | 'type' => '${5}', 12 | 'unsigned' => ${6}, 13 | 'not null' => ${7}, 14 | ), 15 | ), 16 | 'indexes' => array( 17 | ${8} 18 | ), 19 | 'unique keys' => array( 20 | ${9} 21 | ), 22 | 'primary key' => array(${10}), 23 | ); 24 | return $schema 25 | } 26 | 27 | -------------------------------------------------------------------------------- /snippets/drupal/hook_taxonomy.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_taxonomy() 4 | */ 5 | function `Filename()`_taxonomy($op, $type, $array = NULL) { 6 | switch ($op) { 7 | case '${1:See http://api.drupal.org/api/function/hook_taxonomy/6 for options}': 8 | ${2:// Your code here.} 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_theme.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_theme() 4 | */ 5 | function `Filename()`_theme($existing, $type, $theme, $path) { 6 | return array( 7 | '${1:theme_function}' => array( 8 | ${2:/* See for options */} 9 | ), 10 | ); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /snippets/drupal/hook_user.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_user() 4 | */ 5 | function `Filename()`_user($op, &$edit, &$account, $category = NULL) { 6 | switch ($op) { 7 | case '${1:/* See http://api.drupal.org/api/function/hook_user/6 for options}': 8 | ${2:// Your code here.} 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_user_operations.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_user_operations() 4 | */ 5 | 6 | function `Filename()`_user_operations() { 7 | $operations = array( 8 | '${1:/* operation */}' => array( 9 | 'label' => t('${2:/* label */}'), 10 | 'callback' => '${3:/* callback */}', 11 | ), 12 | ); 13 | return $operations; 14 | } 15 | 16 | /** 17 | * Callback function 18 | */ 19 | function $3 { 20 | ${4:// Your code here.} 21 | } 22 | 23 | -------------------------------------------------------------------------------- /snippets/drupal/hook_views_api.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_views_api() 4 | */ 5 | function `Filename()`_views_api() { 6 | return array( 7 | 'api' => 2, 8 | 'path' => drupal_get_path('module', '`Filename()`') . '/views', 9 | ); 10 | } 11 | 12 | -------------------------------------------------------------------------------- /snippets/drupal/hook_views_query_alter.snippet: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Implementation of hook_views_query_alter() 4 | */ 5 | function `Filename()`_views_query_alter(&$view, &$query) { 6 | ${2:// Your code here.} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /snippets/drupal/l.snippet: -------------------------------------------------------------------------------- 1 | l(${1:/* text */}, ${2:/* link */}) -------------------------------------------------------------------------------- /snippets/drupal/markup.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */}'] = array( 2 | '#value' => '${2:/* markup */}', 3 | ); -------------------------------------------------------------------------------- /snippets/drupal/select.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */}'] = array( 2 | '#type' => 'select', 3 | '#title' => t('${2:/* title */}'), 4 | '#description' => t('${3:/* description */}'), 5 | '#options' => array( 6 | '${4:/* key */}' => t('${5:/* value */}'), 7 | ), 8 | ); 9 | -------------------------------------------------------------------------------- /snippets/drupal/submit.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */}'] = array( 2 | '#type' => 'submit', 3 | '#value' => t('${2:/* value */}'), 4 | ); 5 | -------------------------------------------------------------------------------- /snippets/drupal/t.snippet: -------------------------------------------------------------------------------- 1 | t('${1:/* Your text */}', array(${1:/* arguments */})) -------------------------------------------------------------------------------- /snippets/drupal/textarea.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */}'] = array( 2 | '#type' => 'textarea', 3 | '#title' => t('${2:/* title */}'), 4 | '#rows' => ${3:/* default:5 */}, 5 | ); 6 | -------------------------------------------------------------------------------- /snippets/drupal/textfield.snippet: -------------------------------------------------------------------------------- 1 | $form['${1:/* form element */}'] = array( 2 | '#type' => 'textfield', 3 | '#title' => t('${2:/* title */}'), 4 | '#size' => ${3:/* default:60 */}, 5 | ); 6 | -------------------------------------------------------------------------------- /snippets/drupal/watchdog.snippet: -------------------------------------------------------------------------------- 1 | watchdog('${1:/* type */}', '${2:/* message */}'${3}); 2 | -------------------------------------------------------------------------------- /snippets/erlang.snippets: -------------------------------------------------------------------------------- 1 | snippet outf 2 | io:format("${1:label} ~w~n",[${2:value}]). 3 | 4 | snippet out 5 | io:format("${1:word}~n"). 6 | -------------------------------------------------------------------------------- /snippets/mako.snippets: -------------------------------------------------------------------------------- 1 | snippet def 2 | <%def name="${1:name}"> 3 | ${2:} 4 | 5 | snippet call 6 | <%call expr="${1:name}"> 7 | ${2:} 8 | 9 | snippet doc 10 | <%doc> 11 | ${1:} 12 | 13 | snippet text 14 | <%text> 15 | ${1:} 16 | 17 | snippet for 18 | % for ${1:i} in ${2:iter}: 19 | ${3:} 20 | % endfor 21 | snippet if if 22 | % if ${1:condition}: 23 | ${2:} 24 | % endif 25 | snippet if if/else 26 | % if ${1:condition}: 27 | ${2:} 28 | % else: 29 | ${3:} 30 | % endif 31 | snippet try 32 | % try: 33 | ${1:} 34 | % except${2:}: 35 | ${3:pass} 36 | % endtry 37 | snippet wh 38 | % while ${1:}: 39 | ${2:} 40 | % endwhile 41 | snippet $ 42 | ${ ${1:} } 43 | snippet <% 44 | <% ${1:} %> 45 | snippet 47 | snippet inherit 48 | <%inherit file="${1:filename}" /> 49 | snippet include 50 | <%include file="${1:filename}" /> 51 | snippet namespace 52 | <%namespace file="${1:name}" /> 53 | snippet page 54 | <%page args="${1:}" /> 55 | -------------------------------------------------------------------------------- /snippets/sh.snippets: -------------------------------------------------------------------------------- 1 | # #!/bin/bash 2 | snippet #! 3 | #!/bin/bash 4 | 5 | snippet if 6 | if [[ ${1:condition} ]]; then 7 | ${2:#statements} 8 | fi 9 | snippet elif 10 | elif [[ ${1:condition} ]]; then 11 | ${2:#statements} 12 | snippet for 13 | for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do 14 | ${3:#statements} 15 | done 16 | snippet wh 17 | while [[ ${1:condition} ]]; do 18 | ${2:#statements} 19 | done 20 | snippet until 21 | until [[ ${1:condition} ]]; do 22 | ${2:#statements} 23 | done 24 | snippet case 25 | case ${1:word} in 26 | ${2:pattern}) 27 | ${3};; 28 | esac 29 | -------------------------------------------------------------------------------- /snippets/snippet.snippets: -------------------------------------------------------------------------------- 1 | # snippets for making snippets :) 2 | snippet snip 3 | snippet ${1:trigger} 4 | ${2} 5 | snippet msnip 6 | snippet ${1:trigger} ${2:description} 7 | ${3} 8 | -------------------------------------------------------------------------------- /snippets/vim.snippets: -------------------------------------------------------------------------------- 1 | snippet header 2 | " File: ${1:`expand('%:t')`} 3 | " Author: ${2:`g:snips_author`} 4 | " Description: ${3} 5 | ${4:" Last Modified: `strftime("%B %d, %Y")`} 6 | snippet guard 7 | if exists('${1:did_`Filename()`}') || &cp${2: || version < 700} 8 | finish 9 | endif 10 | let $1 = 1${3} 11 | snippet f 12 | fun ${1:function_name}(${2}) 13 | ${3:" code} 14 | endf 15 | snippet for 16 | for ${1:needle} in ${2:haystack} 17 | ${3:" code} 18 | endfor 19 | snippet wh 20 | while ${1:condition} 21 | ${2:" code} 22 | endw 23 | snippet if 24 | if ${1:condition} 25 | ${2:" code} 26 | endif 27 | snippet ife 28 | if ${1:condition} 29 | ${2} 30 | else 31 | ${3} 32 | endif 33 | -------------------------------------------------------------------------------- /snippets/zsh.snippets: -------------------------------------------------------------------------------- 1 | # #!/bin/zsh 2 | snippet #! 3 | #!/bin/zsh 4 | 5 | snippet if 6 | if ${1:condition}; then 7 | ${2:# statements} 8 | fi 9 | snippet ife 10 | if ${1:condition}; then 11 | ${2:# statements} 12 | else 13 | ${3:# statements} 14 | fi 15 | snippet elif 16 | elif ${1:condition} ; then 17 | ${2:# statements} 18 | snippet for 19 | for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do 20 | ${3:# statements} 21 | done 22 | snippet fore 23 | for ${1:item} in ${2:list}; do 24 | ${3:# statements} 25 | done 26 | snippet wh 27 | while ${1:condition}; do 28 | ${2:# statements} 29 | done 30 | snippet until 31 | until ${1:condition}; do 32 | ${2:# statements} 33 | done 34 | snippet repeat 35 | repeat ${1:integer}; do 36 | ${2:# statements} 37 | done 38 | snippet case 39 | case ${1:word} in 40 | ${2:pattern}) 41 | ${3};; 42 | esac 43 | snippet select 44 | select ${1:answer} in ${2:choices}; do 45 | ${3:# statements} 46 | done 47 | snippet ( 48 | ( ${1:#statements} ) 49 | snippet { 50 | { ${1:#statements} } 51 | snippet [ 52 | [[ ${1:test} ]] 53 | snippet always 54 | { ${1:try} } always { ${2:always} } 55 | snippet fun 56 | function ${1:name} (${2:args}) { 57 | ${3:# body} 58 | } 59 | -------------------------------------------------------------------------------- /spell/en.utf-8.add: -------------------------------------------------------------------------------- 1 | wireframes 2 | agipmsuite 3 | atomicobject 4 | basecamphq 5 | https 6 | JRuby 7 | jruby 8 | jrake 9 | dev 10 | plugins 11 | refactor 12 | API 13 | app 14 | app's 15 | UI 16 | Legos 17 | APIs 18 | URLs 19 | refactored 20 | AO 21 | Trello 22 | Websphere 23 | api 24 | HMAC 25 | Bluetooth 26 | eko 27 | -------------------------------------------------------------------------------- /spell/en.utf-8.add.spl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atomicobject/atomic_vim/afeb30f0f0374c781e74fcf791f98a4107dfeaf9/spell/en.utf-8.add.spl -------------------------------------------------------------------------------- /syntax/eruby.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: eruby 3 | " Maintainer: Michael Brailsford 4 | " Installation: 5 | " To automatilcally load this file when a .rhtml file is opened, add the 6 | " following lines to ~/.vim/filetype.vim: 7 | " 8 | " augroup filetypedetect 9 | " au! BufRead,BufNewFile *.rhtml setfiletype eruby 10 | " augroup END 11 | " 12 | " You will have to restart vim for this to take effect. In any case it 13 | " is a good idea to read ":he new-filetype" so that you know what is going 14 | " on, and why the above lines work. 15 | 16 | if version < 600 17 | syntax clear 18 | elseif exists("b:current_syntax") 19 | finish 20 | endif 21 | 22 | "Source the html syntax file 23 | ru! syntax/html.vim 24 | "Set the filetype to html to load the html ftplugins 25 | set ft=html 26 | unlet b:current_syntax 27 | 28 | "Put the ruby syntax file in @rubyTop 29 | syn include @rubyTop syntax/ruby.vim 30 | 31 | syn region erubyBlock matchgroup=erubyRubyDelim start=#<%=\?# end=#%># keepend containedin=ALL contains=@rubyTop,erubyEnd 32 | syn region erubyComment start=+<%#+ end=#%># keepend 33 | syn match erubyEnd #\# 34 | 35 | hi link erubyRubyDelim todo 36 | hi link erubyComment comment 37 | hi link erubyEnd rubyControl 38 | 39 | " vim: set ts=4 sw=4: 40 | -------------------------------------------------------------------------------- /syntax/git-diff.vim: -------------------------------------------------------------------------------- 1 | runtime syntax/diff.vim 2 | 3 | syntax match gitDiffStatLine /^ .\{-}\zs[+-]\+$/ contains=gitDiffStatAdd,gitDiffStatDelete 4 | syntax match gitDiffStatAdd /+/ contained 5 | syntax match gitDiffStatDelete /-/ contained 6 | 7 | highlight gitDiffStatAdd ctermfg=2 8 | highlight gitDiffStatDelete ctermfg=5 9 | -------------------------------------------------------------------------------- /syntax/git-log.vim: -------------------------------------------------------------------------------- 1 | syntax match gitLogCommit +^commit \x\{40}+ 2 | 3 | highlight link gitLogCommit Statement 4 | -------------------------------------------------------------------------------- /syntax/git-status.vim: -------------------------------------------------------------------------------- 1 | runtime syntax/diff.vim 2 | setlocal filetype= 3 | 4 | syntax match gitStatusComment +^#.*+ contains=ALL 5 | 6 | syntax match gitStatusBranch +On branch .\++ 7 | 8 | syntax match gitStatusUndracked +\t\zs.\++ 9 | syntax match gitStatusNewFile +\t\zsnew file: .\++ 10 | syntax match gitStatusModified +\t\zsmodified: .\++ 11 | 12 | highlight link gitStatusComment Comment 13 | 14 | highlight link gitStatusBranch Title 15 | 16 | highlight link gitStatusUndracked diffOnly 17 | highlight link gitStatusNewFile diffAdded 18 | highlight link gitStatusModified diffChanged 19 | -------------------------------------------------------------------------------- /syntax/snippet.vim: -------------------------------------------------------------------------------- 1 | " Syntax highlighting for snippet files (used for snipMate.vim) 2 | " Hopefully this should make snippets a bit nicer to write! 3 | syn match snipComment '^#.*' 4 | syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand 5 | syn match tabStop '\$\d\+' 6 | syn match snipCommand '`.\{-}`' 7 | syn match snippet '^snippet.*' transparent contains=multiSnipText,snipKeyword 8 | syn match multiSnipText '\S\+ \zs.*' contained 9 | syn match snipKeyword '^snippet'me=s+8 contained 10 | syn match snipError "^[^#s\t].*$" 11 | 12 | hi link snipComment Comment 13 | hi link multiSnipText String 14 | hi link snipKeyword Keyword 15 | hi link snipComment Comment 16 | hi link placeHolder Special 17 | hi link tabStop Special 18 | hi link snipCommand String 19 | hi link snipError Error 20 | -------------------------------------------------------------------------------- /syntax/spec_output.vim: -------------------------------------------------------------------------------- 1 | " setlocal filetype=spec_output 2 | 3 | syntax match specOutputError +.*Error.*\n+ contains=ALL 4 | syntax match specOutputPending +Pending:.*\n.*\n+ 5 | syntax match specOutputfailure +.*FAILED\n.*\n.*\n+ 6 | 7 | " syntax match specOutputSummaryExamples +^[\d].*examples,+ 8 | " syntax match specOutputSummaryFailures +^[\d].*failures,+ 9 | " syntax match specOutputSummaryPending +^[\d].*pending+ 10 | 11 | highlight link specOutputError Comment 12 | highlight link specOutputPending Identifier 13 | highlight link specOutputFailure Statement 14 | 15 | " highlight link specOutputSummaryExamples Special 16 | " highlight link specOutputSummaryPending Identifier 17 | " highlight link specOutputSummaryFailures Statement 18 | -------------------------------------------------------------------------------- /tools/dotctags: -------------------------------------------------------------------------------- 1 | --langdef=coffee 2 | --langmap=coffee:.coffee 3 | --regex-coffee=/^[ \t]*([\$A-Za-z]+\.)*([A-Za-z]+)([ \t]+=|:).*[=-]>.*$/\2/f,function/ 4 | --langmap=c++:.pde 5 | --append=no 6 | -------------------------------------------------------------------------------- /tools/run_file_at_line.rb: -------------------------------------------------------------------------------- 1 | require 'pathname' 2 | 3 | def exec_in_path(command, filename) 4 | Pathname(File.dirname(filename)).ascend do |dir| 5 | if File.executable? "#{dir}/#{command}" 6 | exec "#{dir}/#{command} #{filename}" 7 | end 8 | end 9 | end 10 | 11 | if $0 == __FILE__ 12 | filename = File.expand_path ARGV[0] 13 | line_number = ARGV[1] 14 | 15 | filename_lineno = "#{filename}:#{line_number}" 16 | 17 | case filename 18 | when /_spec\.rb$/ 19 | exec_in_path "script/spec", filename_lineno 20 | exec "spec #{filename_lineno}" 21 | 22 | when /\.feature$/ 23 | exec_in_path "script/cucumber", filename_lineno 24 | exec "cucumber #{filename_lineno}" 25 | 26 | else 27 | puts "Couldn't figure out how to run #{filename} on line #{line_number}. Edit #{__FILE__}" 28 | end 29 | end 30 | -------------------------------------------------------------------------------- /tools/run_file_at_line_in_terminal.rb: -------------------------------------------------------------------------------- 1 | if $0 == __FILE__ 2 | filename = File.expand_path ARGV[0] 3 | line_number = ARGV[1] 4 | terminal_tty = ARGV[2] 5 | 6 | filename_lineno = "#{filename}:#{line_number}" 7 | 8 | exec_it = lambda do |command| 9 | exec "osascript ~/.vim/tools/run_command.scpt '#{command}' #{terminal_tty}" 10 | end 11 | 12 | case filename 13 | when /_spec\.rb$/ 14 | exec_it.call "bundle exec rspec #{filename_lineno}" 15 | 16 | when /\.feature$/ 17 | exec_it.call "bundle exec cucumber #{filename_lineno}" 18 | 19 | else 20 | puts "Couldn't figure out how to run #{filename} on line #{line_number}. Edit #{__FILE__}" 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /tools/run_file_in_terminal.rb: -------------------------------------------------------------------------------- 1 | if $0 == __FILE__ 2 | filename = File.expand_path ARGV[0] 3 | terminal_tty = ARGV[1] 4 | 5 | exec_it = lambda do |command| 6 | exec "osascript ~/.vim/tools/run_command.scpt '#{command}' #{terminal_tty}" 7 | end 8 | 9 | # Run it directly 10 | exec_it.call(filename) if File.executable? filename 11 | 12 | # Run it with shebang 13 | first_line = File.open(filename){|io| io.gets} 14 | exec_it.call("#$1 #{filename}") if first_line =~ /^#!\s*(.*)$/ 15 | 16 | require 'pathname' 17 | case filename 18 | when /_spec\.rb$/ 19 | exec_it.call "bundle exec rspec #{filename}" 20 | 21 | when /\.rb$/ 22 | exec_it.call "ruby #{filename}" 23 | 24 | when /\.feature$/ 25 | exec_it.call "bundle exec cucumber #{filename}" 26 | 27 | else 28 | puts "Couldn't figure out how to run #{filename}. Edit #{__FILE__}" 29 | end 30 | end 31 | --------------------------------------------------------------------------------