├── .hushlogin ├── .haskeline ├── hg-prompt ├── docs │ ├── .venv │ ├── publish.sh │ ├── wiki │ │ ├── documentation │ │ │ └── index.mdown │ │ ├── installation │ │ │ └── index.mdown │ │ └── index.mdown │ ├── markdoc.yaml │ └── static │ │ └── media │ │ └── css │ │ └── reset.css ├── prompt.pyc └── tests │ ├── __init__.py │ ├── test_none.py │ └── test_branch.py ├── .vim ├── bundle │ ├── less │ │ ├── .gitignore │ │ ├── ftdetect │ │ │ └── less.vim │ │ ├── screenshot.png │ │ ├── indent │ │ │ └── less.vim │ │ ├── ftplugin │ │ │ └── less.vim │ │ └── after │ │ │ └── syntax │ │ │ └── html.vim │ ├── gitgutter │ │ ├── test │ │ │ ├── fix[tu]re.txt │ │ │ ├── hunkRevertGitDiff.expected │ │ │ ├── hunkStageSigns.expected │ │ │ ├── hunkRevertSigns.expected │ │ │ ├── noModifications.expected │ │ │ ├── untrackedFileOutsideRepo.expected │ │ │ ├── untrackedFileWithinRepo.expected │ │ │ ├── fixture.txt │ │ │ ├── testNoModifications.vim │ │ │ ├── addLines.expected │ │ │ ├── followSymlink.expected │ │ │ ├── orphanedSigns.expected │ │ │ ├── removeLines.expected │ │ │ ├── testAddLines.vim │ │ │ ├── ambiguousFile.expected │ │ │ ├── modifyLines.expected │ │ │ ├── signColumnAlways.expected │ │ │ ├── testModifyLines.vim │ │ │ ├── testRemoveLines.vim │ │ │ ├── fileAddedToGit.expected │ │ │ ├── removeFirstLines.expected │ │ │ ├── testRemoveFirstLines.vim │ │ │ ├── testSignColumnAlways.vim │ │ │ ├── testOrphanedSigns.vim │ │ │ ├── filenameWithSquareBrackets.expected │ │ │ ├── testUntrackedFileOutsideRepo.vim │ │ │ ├── testHunkStage.vim │ │ │ ├── testHunkRevert.vim │ │ │ ├── testUntrackedFileWithinRepo.vim │ │ │ ├── testEditAmbiguousFile.vim │ │ │ ├── hunkStageGitDiff.expected │ │ │ ├── testFollowSymlink.vim │ │ │ ├── testFilenameWithSquareBrackets.vim │ │ │ ├── testFileAddedToGit.vim │ │ │ ├── helper.vim │ │ │ ├── README.markdown │ │ │ └── test │ │ ├── .gitignore │ │ └── screenshot.png │ ├── over │ │ ├── .gitignore │ │ ├── autoload │ │ │ ├── vital │ │ │ │ └── _over │ │ │ │ │ ├── Over │ │ │ │ │ ├── Commandline │ │ │ │ │ │ ├── Modules │ │ │ │ │ │ │ ├── HighlightBufferCursor.vim │ │ │ │ │ │ │ ├── ExecuteFailedMessage.vim │ │ │ │ │ │ │ ├── All.vim │ │ │ │ │ │ │ ├── ExceptionExit.vim │ │ │ │ │ │ │ ├── HistAdd.vim │ │ │ │ │ │ │ ├── Exit.vim │ │ │ │ │ │ │ ├── Cancel.vim │ │ │ │ │ │ │ ├── Paste.vim │ │ │ │ │ │ │ ├── LiteralInsert.vim │ │ │ │ │ │ │ ├── AsyncUpdate.vim │ │ │ │ │ │ │ ├── NoInsert.vim │ │ │ │ │ │ │ ├── Scroll.vim │ │ │ │ │ │ │ ├── IgnoreRegexpBackwardWord.vim │ │ │ │ │ │ │ ├── ExceptionMessage.vim │ │ │ │ │ │ │ └── Delete.vim │ │ │ │ │ │ └── Modules.vim │ │ │ │ │ ├── Input.vim │ │ │ │ │ ├── Exception.vim │ │ │ │ │ └── Commandline.vim │ │ │ │ │ ├── Over.vim │ │ │ │ │ └── Unlocker │ │ │ │ │ ├── Holder │ │ │ │ │ ├── Winview.vim │ │ │ │ │ ├── File.vim │ │ │ │ │ ├── Position.vim │ │ │ │ │ ├── Option.vim │ │ │ │ │ ├── Variable.vim │ │ │ │ │ ├── Multi.vim │ │ │ │ │ ├── Buffer │ │ │ │ │ │ ├── Undofile.vim │ │ │ │ │ │ └── Text.vim │ │ │ │ │ └── Register.vim │ │ │ │ │ └── Rocker │ │ │ │ │ ├── Multi.vim │ │ │ │ │ └── HolderBase.vim │ │ │ ├── vital.vim │ │ │ └── over │ │ │ │ └── command_line │ │ │ │ └── command_history.vim │ │ ├── test │ │ │ └── autoload │ │ │ │ ├── over │ │ │ │ └── command_line │ │ │ │ │ ├── complete.vim │ │ │ │ │ └── substitute.vim │ │ │ │ └── over.vim │ │ └── README.md │ ├── abolish │ │ └── .gitignore │ ├── commentary │ │ ├── .gitignore │ │ └── CONTRIBUTING.markdown │ ├── easymotion │ │ └── .gitignore │ ├── fugitive │ │ └── .gitignore │ ├── splitjoin.vim │ │ ├── .rspec │ │ ├── .gitignore │ │ ├── examples │ │ │ ├── test.haml │ │ │ ├── test.c │ │ │ ├── test.sh │ │ │ ├── test.go │ │ │ ├── test.lua │ │ │ ├── test.php │ │ │ ├── test.vim │ │ │ ├── test.yml │ │ │ ├── test.tex │ │ │ ├── test.js │ │ │ ├── test.html │ │ │ ├── test.pl │ │ │ ├── test.py │ │ │ ├── test.coffee │ │ │ ├── test.css │ │ │ ├── test.less │ │ │ └── test.scss │ │ ├── Gemfile │ │ ├── .travis.yml │ │ ├── ftplugin │ │ │ ├── tex │ │ │ │ └── splitjoin.vim │ │ │ ├── sh │ │ │ │ └── splitjoin.vim │ │ │ ├── zsh │ │ │ │ └── splitjoin.vim │ │ │ ├── go │ │ │ │ └── splitjoin.vim │ │ │ ├── haml │ │ │ │ └── splitjoin.vim │ │ │ ├── vim │ │ │ │ └── splitjoin.vim │ │ │ ├── html │ │ │ │ └── splitjoin.vim │ │ │ ├── eruby │ │ │ │ └── splitjoin.vim │ │ │ ├── htmldjango │ │ │ │ └── splitjoin.vim │ │ │ ├── xml │ │ │ │ └── splitjoin.vim │ │ │ ├── c │ │ │ │ └── splitjoin.vim │ │ │ ├── yaml │ │ │ │ └── splitjoin.vim │ │ │ ├── lua │ │ │ │ └── splitjoin.vim │ │ │ ├── less │ │ │ │ └── splitjoin.vim │ │ │ ├── scss │ │ │ │ └── splitjoin.vim │ │ │ ├── css │ │ │ │ └── splitjoin.vim │ │ │ ├── php │ │ │ │ └── splitjoin.vim │ │ │ ├── javascript │ │ │ │ └── splitjoin.vim │ │ │ ├── python │ │ │ │ └── splitjoin.vim │ │ │ ├── coffee │ │ │ │ └── splitjoin.vim │ │ │ ├── perl │ │ │ │ └── splitjoin.vim │ │ │ └── ruby │ │ │ │ └── splitjoin.vim │ │ ├── Rakefile │ │ ├── spec │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── vim.rb │ │ │ └── plugin │ │ │ │ ├── haml_spec.rb │ │ │ │ └── sh_spec.rb │ │ ├── autoload │ │ │ └── sj │ │ │ │ ├── sh.vim │ │ │ │ ├── argparser │ │ │ │ ├── sh.vim │ │ │ │ └── js.vim │ │ │ │ ├── vim.vim │ │ │ │ ├── html.vim │ │ │ │ └── eruby.vim │ │ └── Gemfile.lock │ ├── surround │ │ └── .gitignore │ ├── tabular │ │ └── .gitignore │ ├── unimpaired │ │ └── .gitignore │ ├── extradite │ │ ├── .gitignore │ │ ├── plugin │ │ │ └── .vimrc │ │ ├── .gitremotes │ │ └── README.markdown │ ├── indent-object │ │ └── .gitignore │ ├── vim-nerdtree-tabs │ │ └── .gitignore │ ├── indentwise │ │ └── .gitignore │ ├── nerd-tree │ │ └── .gitignore │ ├── powerline │ │ ├── .gitignore │ │ └── autoload │ │ │ ├── Powerline │ │ │ ├── Functions │ │ │ │ ├── cfi.vim │ │ │ │ ├── fugitive.vim │ │ │ │ ├── ft_man.vim │ │ │ │ └── syntastic.vim │ │ │ ├── Segments │ │ │ │ ├── ft_man.vim │ │ │ │ ├── fugitive.vim │ │ │ │ ├── rvm.vim │ │ │ │ ├── cfi.vim │ │ │ │ ├── virtualenv.vim │ │ │ │ ├── syntastic.vim │ │ │ │ └── ctrlp.vim │ │ │ └── Matches.vim │ │ │ └── Pl │ │ │ ├── Match.vim │ │ │ └── Mod.vim │ ├── winresizer │ │ ├── .gitignore │ │ └── LICENSE │ ├── clickable │ │ ├── CHANGELOG.rst │ │ ├── autoload │ │ │ ├── vital │ │ │ │ └── clickable_vim.vital │ │ │ ├── clickable │ │ │ │ ├── test.spec │ │ │ │ ├── highlight.vim │ │ │ │ ├── type.vim │ │ │ │ └── class │ │ │ │ │ └── link.vim │ │ │ └── vital.vim │ │ ├── test │ │ │ ├── click.vim │ │ │ └── click.js │ │ ├── TODO.rst │ │ └── after │ │ │ └── plugin │ │ │ └── clickable.vim │ ├── gundo │ │ ├── .gitignore │ │ ├── .hgignore │ │ ├── package.sh │ │ ├── site │ │ │ ├── Essays1743.ttf │ │ │ └── publish.sh │ │ ├── tests │ │ │ ├── bundled │ │ │ │ ├── ut │ │ │ │ │ ├── doc │ │ │ │ │ │ └── UT.txt │ │ │ │ │ ├── plugin │ │ │ │ │ │ └── UT.vim │ │ │ │ │ ├── tests │ │ │ │ │ │ └── lh │ │ │ │ │ │ │ ├── UT.vim │ │ │ │ │ │ │ └── UT-fixtures.vim │ │ │ │ │ ├── autoload │ │ │ │ │ │ ├── lh │ │ │ │ │ │ │ └── UT.vim │ │ │ │ │ │ └── should │ │ │ │ │ │ │ └── be.vim │ │ │ │ │ ├── ftplugin │ │ │ │ │ │ └── vim │ │ │ │ │ │ │ └── vim_UT.vim │ │ │ │ │ ├── UT.README │ │ │ │ │ └── mkVba │ │ │ │ │ │ └── mk-UT.vim │ │ │ │ └── lh-vim-lib │ │ │ │ │ ├── plugin │ │ │ │ │ ├── let.vim │ │ │ │ │ └── lhvl.vim │ │ │ │ │ ├── tests │ │ │ │ │ └── lh │ │ │ │ │ │ ├── list.vim │ │ │ │ │ │ ├── path.vim │ │ │ │ │ │ ├── function.vim │ │ │ │ │ │ ├── test-askmenu.vim │ │ │ │ │ │ ├── test-command.vim │ │ │ │ │ │ ├── test-menu-map.vim │ │ │ │ │ │ ├── test-Fargs2String.vim │ │ │ │ │ │ ├── test-toggle-menu.vim │ │ │ │ │ │ └── topological-sort.vim │ │ │ │ │ ├── autoload │ │ │ │ │ └── lh │ │ │ │ │ │ ├── UT.vim │ │ │ │ │ │ ├── env.vim │ │ │ │ │ │ ├── list.vim │ │ │ │ │ │ ├── path.vim │ │ │ │ │ │ ├── askvim.vim │ │ │ │ │ │ ├── syntax.vim │ │ │ │ │ │ ├── visual.vim │ │ │ │ │ │ ├── command.vim │ │ │ │ │ │ ├── encoding.vim │ │ │ │ │ │ ├── function.vim │ │ │ │ │ │ ├── position.vim │ │ │ │ │ │ ├── graph │ │ │ │ │ │ └── tsort.vim │ │ │ │ │ │ └── buffer │ │ │ │ │ │ └── dialog.vim │ │ │ │ │ ├── doc │ │ │ │ │ └── lh-vim-lib.txt │ │ │ │ │ └── lh-vim-lib.README │ │ │ ├── vimrc_test │ │ │ ├── vim_test │ │ │ │ ├── plugin │ │ │ │ │ ├── UT.vim │ │ │ │ │ ├── let.vim │ │ │ │ │ ├── lhvl.vim │ │ │ │ │ └── gundo_test_utils.vim │ │ │ │ ├── autoload │ │ │ │ │ └── lh │ │ │ │ │ │ ├── UT.vim │ │ │ │ │ │ ├── env.vim │ │ │ │ │ │ ├── list.vim │ │ │ │ │ │ ├── path.vim │ │ │ │ │ │ ├── askvim.vim │ │ │ │ │ │ ├── syntax.vim │ │ │ │ │ │ ├── visual.vim │ │ │ │ │ │ ├── command.vim │ │ │ │ │ │ ├── encoding.vim │ │ │ │ │ │ ├── function.vim │ │ │ │ │ │ ├── position.vim │ │ │ │ │ │ ├── graph │ │ │ │ │ │ └── tsort.vim │ │ │ │ │ │ └── buffer │ │ │ │ │ │ └── dialog.vim │ │ │ │ └── ftplugin │ │ │ │ │ └── vim │ │ │ │ │ └── vim_UT.vim │ │ │ ├── run-tests.sh │ │ │ └── README.markdown │ │ ├── .hgtags │ │ └── README.markdown │ ├── syntastic │ │ ├── .gitignore │ │ ├── _assets │ │ │ └── screenshot_1.png │ │ ├── syntax_checkers │ │ │ ├── python │ │ │ │ ├── compile.py │ │ │ │ ├── mypy.vim │ │ │ │ └── py3kwarn.vim │ │ │ ├── scss │ │ │ │ ├── sassc.vim │ │ │ │ └── sass.vim │ │ │ ├── text │ │ │ │ ├── igor.vim │ │ │ │ └── language_check.vim │ │ │ ├── nroff │ │ │ │ └── igor.vim │ │ │ ├── xhtml │ │ │ │ └── jshint.vim │ │ │ ├── xslt │ │ │ │ └── xmllint.vim │ │ │ ├── zsh │ │ │ │ └── shellcheck.vim │ │ │ ├── perl │ │ │ │ └── podchecker.vim │ │ │ ├── docbk │ │ │ │ └── xmllint.vim │ │ │ ├── arduino │ │ │ │ └── avrgcc.vim │ │ │ ├── cpp │ │ │ │ ├── pc_lint.vim │ │ │ │ ├── clang_tidy.vim │ │ │ │ └── clang_check.vim │ │ │ ├── css │ │ │ │ ├── recess.vim │ │ │ │ └── phpcs.vim │ │ │ ├── less │ │ │ │ └── less-lint.coffee │ │ │ └── haskell │ │ │ │ └── hlint.vim │ │ └── LICENCE │ ├── match-tag │ │ ├── ftplugin │ │ │ └── xml.vim │ │ ├── README.mkd │ │ └── test.html │ ├── textobj-entire │ │ ├── VimFlavor │ │ └── doc │ │ │ └── tags │ ├── textobj-lastpat │ │ ├── VimFlavor │ │ └── doc │ │ │ └── tags │ ├── ctrlp.vim │ │ └── .gitignore │ ├── vim-textobj-user │ │ ├── .gitmodules │ │ ├── Makefile │ │ └── test │ │ │ ├── script-local.expected │ │ │ ├── plugin.expected │ │ │ └── script-local.input │ ├── jison │ │ ├── plugin │ │ │ └── vim-jison.vim │ │ └── README.md │ ├── delimitMate │ │ ├── basic_vimrc │ │ ├── .gitignore │ │ ├── test │ │ │ ├── first_buffer_no_ft.vim │ │ │ ├── expand_space.txt │ │ │ ├── Makefile │ │ │ ├── _setup.vim │ │ │ ├── README.md │ │ │ └── expand_space.vim │ │ └── README.md │ ├── vim-script-runner │ │ └── install.sh │ ├── qargs │ │ ├── README.md │ │ └── plugin │ │ │ └── qargs.vim │ ├── clam.vim │ │ ├── package.sh │ │ ├── clamsyntax │ │ │ ├── hg.vim │ │ │ └── pacman.vim │ │ ├── .hgtags │ │ ├── README.markdown │ │ └── LICENSE.markdown │ ├── endwise │ │ └── CONTRIBUTING.markdown │ ├── stylus │ │ ├── ftdetect │ │ │ └── stylus.vim │ │ └── readme.md │ ├── applescript.vim │ │ └── README │ ├── vim-markdown │ │ └── ftdetect │ │ │ └── markdown.vim │ ├── glsl │ │ ├── indent │ │ │ └── glsl.vim │ │ ├── ftdetect │ │ │ └── glsl.vim │ │ ├── after │ │ │ └── syntax │ │ │ │ └── html.vim │ │ ├── README.md │ │ └── LICENSE │ ├── ack.vim │ │ ├── doc │ │ │ └── tags │ │ └── Rakefile │ ├── vim-javascript │ │ ├── ftdetect │ │ │ └── javascript.vim │ │ ├── extras │ │ │ └── ctags │ │ └── CONTRIBUTING.md │ ├── mustache-handlebars │ │ └── ftdetect │ │ │ └── mustache.vim │ ├── html-entities │ │ └── README.md │ ├── anzu │ │ ├── autoload │ │ │ ├── airline │ │ │ │ └── extensions │ │ │ │ │ └── anzu.vim │ │ │ └── unite │ │ │ │ └── sources │ │ │ │ └── anzu.vim │ │ └── README.md │ ├── vim-jsx │ │ └── after │ │ │ ├── ftplugin │ │ │ └── javascript.vim │ │ │ └── syntax │ │ │ └── javascript.vim │ ├── clickable-things │ │ └── README.rst │ ├── vim-textobj-function-perl │ │ └── doc │ │ │ └── tags │ ├── indent-anything │ │ ├── doc │ │ │ └── tags │ │ └── indent │ │ │ └── IndentAnything_html.vim │ ├── qlist │ │ ├── doc │ │ │ └── tags │ │ └── README.md │ ├── vim-textobj-comment │ │ └── doc │ │ │ └── tags │ └── vim-project │ │ ├── syntax │ │ └── project.vim │ │ └── autoload │ │ └── project.vim ├── delvarworld-snippets │ ├── javascript │ │ └── javascript-jquery.snippets │ └── perl │ │ └── perl.snippets └── spell │ ├── en.utf-8.add.spl │ └── en.utf-8.add ├── .dialogrc ├── .my.cnf ├── screenshot.png ├── Menlo-Powerline.otf ├── .gitignore ├── .psqlrc ├── .hgrc ├── .aprc ├── .vscode └── settings.json ├── .irbrc ├── .screenrc ├── iterm_restore_arrangement_tab.py ├── iterm_list_arrangements.py ├── which_repo.sh ├── .bash_config_macbook ├── .emacs ├── socks-proxy.sh ├── .tmux.conf ├── README.md ├── .gvimrc ├── .bash_config_work ├── .zshrc ├── .bash_profile └── code └── snippets └── javascript.json /.hushlogin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.haskeline: -------------------------------------------------------------------------------- 1 | editMode: Vi 2 | -------------------------------------------------------------------------------- /hg-prompt/docs/.venv: -------------------------------------------------------------------------------- 1 | markdoc 2 | -------------------------------------------------------------------------------- /.vim/bundle/less/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/fix[tu]re.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vim/bundle/over/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags* 2 | -------------------------------------------------------------------------------- /.dialogrc: -------------------------------------------------------------------------------- 1 | screen_color = (WHITE,BLACK,OFF) 2 | -------------------------------------------------------------------------------- /.vim/bundle/abolish/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/commentary/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/easymotion/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/fugitive/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /.vim/bundle/surround/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/tabular/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/unimpaired/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/extradite/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | *un~ 3 | -------------------------------------------------------------------------------- /.vim/bundle/extradite/plugin/.vimrc: -------------------------------------------------------------------------------- 1 | set tw=110 2 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/hunkRevertGitDiff.expected: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vim/bundle/indent-object/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | 3 | -------------------------------------------------------------------------------- /.vim/bundle/vim-nerdtree-tabs/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/indentwise/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | tags 3 | -------------------------------------------------------------------------------- /.vim/bundle/nerd-tree/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | tags 4 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | *.cache 3 | -------------------------------------------------------------------------------- /.vim/bundle/winresizer/.gitignore: -------------------------------------------------------------------------------- 1 | *.un~ 2 | doc/tags 3 | -------------------------------------------------------------------------------- /.vim/delvarworld-snippets/javascript/javascript-jquery.snippets: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/CHANGELOG.rst: -------------------------------------------------------------------------------- 1 | 2 | 3 | 0.66: fix bugs 4 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/hunkStageSigns.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/.gitignore: -------------------------------------------------------------------------------- 1 | *.un~ 2 | *.pyc 3 | tags 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.vim/bundle/syntastic/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | tags 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | /misc 3 | /test/*.actual 4 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/hunkRevertSigns.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/noModifications.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | -------------------------------------------------------------------------------- /.vim/bundle/match-tag/ftplugin/xml.vim: -------------------------------------------------------------------------------- 1 | runtime! ftplugin/html.vim 2 | 3 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/.gitignore: -------------------------------------------------------------------------------- 1 | _project.vim 2 | tags 3 | doc/tags 4 | -------------------------------------------------------------------------------- /.my.cnf: -------------------------------------------------------------------------------- 1 | [mysql] 2 | auto-rehash 3 | 4 | [mysqldump] 5 | column-statistics=0 6 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/untrackedFileOutsideRepo.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/untrackedFileWithinRepo.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | -------------------------------------------------------------------------------- /.vim/bundle/less/ftdetect/less.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.less setf less 2 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.haml: -------------------------------------------------------------------------------- 1 | %div 2 | %span 3 | = 1 + 2 4 | -------------------------------------------------------------------------------- /.vim/bundle/textobj-entire/VimFlavor: -------------------------------------------------------------------------------- 1 | flavor 'kana/vim-textobj-user', '~> 0.3' 2 | -------------------------------------------------------------------------------- /.vim/bundle/textobj-lastpat/VimFlavor: -------------------------------------------------------------------------------- 1 | flavor 'kana/vim-textobj-user', '~> 0.3' 2 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/HighlightBufferCursor.vim: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/screenshot.png -------------------------------------------------------------------------------- /.vim/bundle/gundo/.hgignore: -------------------------------------------------------------------------------- 1 | syntax:glob 2 | 3 | *.un~ 4 | *.pyc 5 | tags 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /.vim/bundle/ctrlp.vim/.gitignore: -------------------------------------------------------------------------------- 1 | *.markdown 2 | *.zip 3 | note.txt 4 | tags 5 | .hg* 6 | tmp/* 7 | -------------------------------------------------------------------------------- /Menlo-Powerline.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/Menlo-Powerline.otf -------------------------------------------------------------------------------- /hg-prompt/prompt.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/hg-prompt/prompt.pyc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vim/.netrwhist 2 | .vim/bundle/anzu/doc/tags-ja 3 | .vim/bundle/clam.vim/doc/tags 4 | 5 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-user/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "mduem"] 2 | path = mduem 3 | url = ../mduem 4 | -------------------------------------------------------------------------------- /.vim/spell/en.utf-8.add.spl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/spell/en.utf-8.add.spl -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/fixture.txt: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | d 5 | e 6 | f 7 | g 8 | h 9 | i 10 | j 11 | 12 | -------------------------------------------------------------------------------- /.vim/bundle/jison/plugin/vim-jison.vim: -------------------------------------------------------------------------------- 1 | 2 | " jison 3 | autocmd BufRead,BufNewFile *.jison setlocal ft=yacc 4 | 5 | 6 | -------------------------------------------------------------------------------- /.vim/bundle/less/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/less/screenshot.png -------------------------------------------------------------------------------- /.vim/bundle/clickable/autoload/vital/clickable_vim.vital: -------------------------------------------------------------------------------- 1 | clickable_vim 2 | 2dfb88b 3 | 4 | System.File 5 | System.Filepath 6 | -------------------------------------------------------------------------------- /.psqlrc: -------------------------------------------------------------------------------- 1 | \pset null '(NULL)' 2 | \x auto 3 | \set PROMPT1 '%[%033[1m%]%M %n@%/%R%[%033[0m%]%$ ' 4 | \set PROMPT2 '[more] %R > ' 5 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/basic_vimrc: -------------------------------------------------------------------------------- 1 | so ./test/_setup.vim 2 | let delimitMate_expand_cr = 1 3 | filetype indent plugin on 4 | 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gitgutter/screenshot.png -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testNoModifications.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | call DumpSigns('noModifications') 5 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/package.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | hg archive ~/Desktop/gundo.zip -I 'doc' -I 'plugin' -I README.markdown 4 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/site/Essays1743.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/site/Essays1743.ttf -------------------------------------------------------------------------------- /.vim/bundle/vim-script-runner/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p ~/.vim/plugins 3 | cp plugin/script-runner.vim ~/.vim/plugin 4 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.c: -------------------------------------------------------------------------------- 1 | if (val1 && val2 || val3); 2 | 3 | myfunction("lots", "of", "different", "parameters"); 4 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/addLines.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=2 id=3000 name=GitGutterLineAdded 5 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.sh: -------------------------------------------------------------------------------- 1 | echo "one; two" 2 | echo "two" 3 | 4 | echo "one"; (echo "two"; echo "three") &; echo "four" 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/followSymlink.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for symlink: 4 | line=5 id=3000 name=GitGutterLineRemoved 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/orphanedSigns.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=6 id=3001 name=GitGutterLineAdded 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/removeLines.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=4 id=3000 name=GitGutterLineRemoved 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testAddLines.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | normal ggo* 5 | write 6 | call DumpSigns('addLines') 7 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/doc/UT.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/doc/UT.txt -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vimrc_test: -------------------------------------------------------------------------------- 1 | set nocompatible 2 | set runtimepath=vim_test 3 | filetype plugin on 4 | nnoremap q :qa! 5 | color desert 6 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/Gemfile: -------------------------------------------------------------------------------- 1 | source 'http://rubygems.org' 2 | 3 | gem 'rake' 4 | gem 'rspec' 5 | gem 'vimrunner', '0.3.0' 6 | gem 'pry' 7 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.go: -------------------------------------------------------------------------------- 1 | StructType{1, "asdf", []int{1, 2, 3}} 2 | 3 | StructType{one: 1, two: "asdf", three: []int{1, 2, 3}} 4 | -------------------------------------------------------------------------------- /.hgrc: -------------------------------------------------------------------------------- 1 | [ui] 2 | username = Andrew Ray 3 | 4 | [extensions] 5 | prompt = /Users/andrewray/configs/hg-prompt/prompt.py 6 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/ambiguousFile.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=5 id=3000 name=GitGutterLineModified 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/modifyLines.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=1 id=3000 name=GitGutterLineModified 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/signColumnAlways.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=9999 id=2999 name=GitGutterDummy 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testModifyLines.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | normal ggi* 5 | write 6 | call DumpSigns('modifyLines') 7 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testRemoveLines.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | execute '5d' 5 | write 6 | call DumpSigns('removeLines') 7 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/plugin/UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/plugin/UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/plugin/UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/plugin/UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/plugin/let.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/plugin/let.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/plugin/lhvl.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/plugin/lhvl.vim -------------------------------------------------------------------------------- /.vim/bundle/syntastic/_assets/screenshot_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/syntastic/_assets/screenshot_1.png -------------------------------------------------------------------------------- /hg-prompt/tests/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for hg-prompt. 2 | 3 | The tests require nose: pip install nose && nosetests --with-doctest -v 4 | 5 | """ -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/fileAddedToGit.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fileAddedToGit.tmp: 4 | line=1 id=3000 name=GitGutterLineAdded 5 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/tests/lh/UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/tests/lh/UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/removeFirstLines.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fixture.txt: 4 | line=1 id=3000 name=GitGutterLineRemovedFirstLine 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testRemoveFirstLines.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | execute '1d' 5 | write 6 | call DumpSigns('removeFirstLines') 7 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/autoload/lh/UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/autoload/lh/UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/env.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/env.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/list.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/list.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/path.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/path.vim -------------------------------------------------------------------------------- /.vim/bundle/qargs/README.md: -------------------------------------------------------------------------------- 1 | For an example of usage, refer to the question [Search & replace using quickfix list in Vim](http://stackoverflow.com/a/5686810/128850). -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/askvim.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/askvim.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/syntax.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/syntax.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/visual.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/visual.vim -------------------------------------------------------------------------------- /.vim/bundle/clam.vim/package.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | hg archive ~/Desktop/clam.zip -I 'doc' -I 'plugin' -I 'clamsyntax' -I README.markdown -I LICENSE.markdown 4 | -------------------------------------------------------------------------------- /.vim/bundle/commentary/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /.vim/bundle/endwise/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/plugin/let.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/plugin/let.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/plugin/lhvl.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/plugin/lhvl.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/autoload/should/be.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/autoload/should/be.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/ftplugin/vim/vim_UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/ftplugin/vim/vim_UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/command.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/command.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/encoding.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/encoding.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/function.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/function.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/position.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/position.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/ftplugin/vim/vim_UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/ftplugin/vim/vim_UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/list.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/list.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/path.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/path.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/tests/lh/UT-fixtures.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/ut/tests/lh/UT-fixtures.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/graph/tsort.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/graph/tsort.vim -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Functions/cfi.vim: -------------------------------------------------------------------------------- 1 | function! Powerline#Functions#cfi#GetCurrentFunction() " {{{ 2 | return cfi#format('%s', '') 3 | endfunction " }}} 4 | -------------------------------------------------------------------------------- /.vim/bundle/stylus/ftdetect/stylus.vim: -------------------------------------------------------------------------------- 1 | " Stylus 2 | autocmd BufNewFile,BufReadPost *.styl set filetype=stylus 3 | autocmd BufNewFile,BufReadPost *.stylus set filetype=stylus 4 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/UT.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/UT.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/env.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/env.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/list.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/list.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/path.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/path.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/doc/lh-vim-lib.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/doc/lh-vim-lib.txt -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/autoload/lh/buffer/dialog.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/vim_test/autoload/lh/buffer/dialog.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/askvim.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/askvim.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/syntax.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/syntax.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/visual.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/visual.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/function.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/function.vim -------------------------------------------------------------------------------- /.vim/spell/en.utf-8.add: -------------------------------------------------------------------------------- 1 | plugins 2 | plugin 3 | #uistanibility 4 | For 5 | cavaet 6 | #ercieved 7 | percieved/! 8 | #uiling 9 | builing/! 10 | #iscelaneous 11 | Miscelaneous/! 12 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/.gitignore: -------------------------------------------------------------------------------- 1 | *.sw? 2 | *.un? 3 | *.vba 4 | *.vmb 5 | *.zip 6 | *.gz 7 | vimball.txt 8 | *.orig 9 | tags 10 | test/build 11 | test/*.tap 12 | test/*.msgout 13 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testSignColumnAlways.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | let g:gitgutter_sign_column_always=1 5 | write 6 | 7 | call DumpSigns('signColumnAlways') 8 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/command.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/command.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/encoding.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/encoding.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/function.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/function.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/position.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/position.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-askmenu.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-askmenu.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-command.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-command.vim -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testOrphanedSigns.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | execute "normal 5GoX\Y" 5 | write 6 | execute '6d' 7 | write 8 | call DumpSigns('orphanedSigns') 9 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/graph/tsort.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/graph/tsort.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-menu-map.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-menu-map.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/buffer/dialog.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/autoload/lh/buffer/dialog.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-Fargs2String.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-Fargs2String.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-toggle-menu.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/test-toggle-menu.vim -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/topological-sort.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewRayCode/configs/HEAD/.vim/bundle/gundo/tests/bundled/lh-vim-lib/tests/lh/topological-sort.vim -------------------------------------------------------------------------------- /.aprc: -------------------------------------------------------------------------------- 1 | AwesomePrint.defaults = { 2 | color: { 3 | bigdecimal: :white, 4 | integer: :white, 5 | float: :white, 6 | rational: :white 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/filenameWithSquareBrackets.expected: -------------------------------------------------------------------------------- 1 | 2 | --- Signs --- 3 | Signs for fix[tu]re.txt: 4 | line=1 id=3000 name=GitGutterLineAdded 5 | line=2 id=3001 name=GitGutterLineAdded 6 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testUntrackedFileOutsideRepo.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | 3 | let tmpfile = tempname() 4 | call system('touch '.tmpfile) 5 | edit tmpfile 6 | call DumpSigns('untrackedFileOutsideRepo') 7 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testHunkStage.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | normal 5Gi* 5 | execute 'GitGutterStageHunk' 6 | call DumpSigns('hunkStageSigns') 7 | call DumpGitDiff('hunkStageGitDiff') 8 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/ExecuteFailedMessage.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | 7 | let &cpo = s:save_cpo 8 | unlet s:save_cpo 9 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | before_install: sudo apt-get install vim-gtk 5 | before_script: 6 | - "export DISPLAY=:99.0" 7 | - "sh -e /etc/init.d/xvfb start" 8 | -------------------------------------------------------------------------------- /.vim/bundle/clam.vim/clamsyntax/hg.vim: -------------------------------------------------------------------------------- 1 | syn match clamHgStatusAdded "\v^A .+" 2 | syn match clamHgStatusModified "\v^M .+" 3 | syn match clamHgStatusRemoved "\v^R .+" 4 | syn match clamHgStatusUnknown "\v^[?] .+" 5 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testHunkRevert.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | normal 5Gi* 5 | execute 'GitGutterRevertHunk' 6 | call DumpSigns('hunkRevertSigns') 7 | call DumpGitDiff('hunkRevertGitDiff') 8 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/ft_man.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#ft_man#segments = Pl#Segment#Init(['ft_man', 2 | \ Pl#Segment#Create('filename', '%{Powerline#Functions#ft_man#GetName()}') 3 | \ ]) 4 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/test/click.vim: -------------------------------------------------------------------------------- 1 | " www.11.cc xx@xx.cc http://www.163.com www.123.com mailto:www@ee.com 2 | " xxx@xxx.com ee.ee@eee.com www.143.com eteevim xxx@xx.cim xxx.vim 3 | 4 | " www.163.com jfeoijf testtest gogogo 5 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/tex/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#tex#SplitBlock', 3 | \ ] 4 | 5 | let b:splitjoin_join_callbacks = [ 6 | \ 'sj#tex#JoinBlock', 7 | \ ] 8 | -------------------------------------------------------------------------------- /.vim/bundle/applescript.vim/README: -------------------------------------------------------------------------------- 1 | This is a mirror of http://www.vim.org/scripts/script.php?script_id=1736 2 | 3 | Syntax file for AppleScript. Requires local ~/.vim/filetype.vim. More details on http://www.fastnlight.com/syntax 4 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/test/click.js: -------------------------------------------------------------------------------- 1 | " www.11.cc xx@xx.cc http://www.163.com www.123.com mailto:www@ee.com 2 | " xxx@xxx.com ee.ee@eee.com www.143.com eteevim xxx@xx.cim xxx.vim 3 | 4 | " www.163.com jfeoijf testtest gogogo 5 | " 6 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/Rakefile: -------------------------------------------------------------------------------- 1 | task :default do 2 | sh 'rspec spec' 3 | end 4 | 5 | desc "Prepare archive for deployment" 6 | task :archive do 7 | sh 'zip -r ~/splitjoin.zip autoload/ doc/splitjoin.txt ftplugin/ plugin/' 8 | end 9 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.lua: -------------------------------------------------------------------------------- 1 | local something = other(function (one, two) 2 | print("foo") 3 | end) 4 | 5 | function example () 6 | print("foo") 7 | print("bar") 8 | end 9 | 10 | function example () 11 | end 12 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/sh/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#sh#SplitBySemicolon', 3 | \ ] 4 | 5 | let b:splitjoin_join_callbacks = [ 6 | \ 'sj#sh#JoinWithSemicolon', 7 | \ ] 8 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/zsh/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#sh#SplitBySemicolon', 3 | \ ] 4 | 5 | let b:splitjoin_join_callbacks = [ 6 | \ 'sj#sh#JoinWithSemicolon', 7 | \ ] 8 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "workbench.colorCustomizations": { 3 | "titleBar.activeForeground": "#fff", 4 | "titleBar.activeBackground": "#1f6700" 5 | }, 6 | "window.title": "🤟🏻 ${activeEditorShort}${separator} Configs" 7 | } 8 | -------------------------------------------------------------------------------- /hg-prompt/docs/publish.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | markdoc build 4 | rsync --delete -az .html/ ~/src/sjl.bitbucket.org/hg-prompt 5 | hg -R ~/src/sjl.bitbucket.org commit -Am 'hg-prompt: Update documentation.' 6 | hg -R ~/src/sjl.bitbucket.org push 7 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testUntrackedFileWithinRepo.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | 3 | let tmpfile = 'untrackedFileWithinRepo.tmp' 4 | call system('touch '.tmpfile) 5 | edit tmpfile 6 | call DumpSigns('untrackedFileWithinRepo') 7 | 8 | call system('rm '.tmpfile) 9 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/run-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [[ $# -eq 0 ]] 6 | then 7 | TESTS="`ls *.vim | tr "\n" ' '`" 8 | else 9 | IFS=' ' 10 | TESTS="$*" 11 | fi 12 | 13 | vim -u vimrc_test -c ":UTRun $TESTS" 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-markdown/ftdetect/markdown.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.mdwn 2 | \ if &ft =~# '^\%(conf\|modula2\)$' | 3 | \ set ft=markdown | 4 | \ else | 5 | \ setf markdown | 6 | \ endif 7 | -------------------------------------------------------------------------------- /.vim/bundle/glsl/indent/glsl.vim: -------------------------------------------------------------------------------- 1 | " Language: OpenGL Shading Language 2 | " Maintainer: Sergey Tikhomirov 3 | 4 | if exists("b:did_indent") 5 | finish 6 | endif 7 | 8 | setlocal autoindent cindent 9 | 10 | " vim:set sts=2 sw=2 : 11 | -------------------------------------------------------------------------------- /.vim/bundle/glsl/ftdetect/glsl.vim: -------------------------------------------------------------------------------- 1 | " Language: OpenGL Shading Language 2 | " Maintainer: Sergey Tikhomirov 3 | 4 | autocmd BufNewFile,BufRead *.glsl,*.geom,*.vert,*.frag,*.gsh,*.vsh,*.fsh,*.vs,*.fs set filetype=glsl 5 | 6 | " vim:set sts=2 sw=2 : 7 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testEditAmbiguousFile.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | call Setup() 3 | 4 | normal 5Gi* 5 | call system('git checkout -b fixture.txt') 6 | write 7 | call DumpSigns('ambiguousFile') 8 | 9 | call system('git checkout - && git branch -d fixture.txt') 10 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/site/publish.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | hg -R ~/src/sjl.bitbucket.org pull -u 4 | rsync --delete -az . ~/src/sjl.bitbucket.org/gundo.vim 5 | hg -R ~/src/sjl.bitbucket.org commit -Am 'gundo.vim: Update documentation.' 6 | hg -R ~/src/sjl.bitbucket.org push 7 | -------------------------------------------------------------------------------- /.vim/bundle/clam.vim/.hgtags: -------------------------------------------------------------------------------- 1 | fa37ec671fb5fe854e56c02616f9adcfd1003686 v1.0.0 2 | 8de3ef182cb9b5d3a24853a4c12044d8b93c96a9 v1.1.0 3 | 7e3f6e97e92c71ad8517589bf1dbdc6fcaa28e91 v1.2.0 4 | fc154fb9ff5830429747d08bb50ae69ca4680852 v1.3.0 5 | b0eed33fef1eee8790014617248c186a3cf2e9f2 v1.4.0 6 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/hunkStageGitDiff.expected: -------------------------------------------------------------------------------- 1 | diff --git a/test/fixture.txt b/test/fixture.txt 2 | index f5c6aff..ae8e546 100644 3 | --- a/test/fixture.txt 4 | +++ b/test/fixture.txt 5 | @@ -2,7 +2,7 @@ a 6 | b 7 | c 8 | d 9 | -e 10 | +*e 11 | f 12 | g 13 | h 14 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testFollowSymlink.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | 3 | let tmpfile = 'symlink' 4 | call system('ln -nfs fixture.txt '.tmpfile) 5 | execute 'edit '.tmpfile 6 | execute '6d' 7 | write 8 | call DumpSigns('followSymlink') 9 | 10 | call system('rm '.tmpfile) 11 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testFilenameWithSquareBrackets.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | 3 | edit fix[tu]re.txt 4 | normal ggo* 5 | write 6 | call DumpSigns('filenameWithSquareBrackets') 7 | 8 | call system('git reset HEAD fix[tu]re.txt') 9 | call system('git checkout fix[tu]re.txt') 10 | -------------------------------------------------------------------------------- /.vim/bundle/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 -------------------------------------------------------------------------------- /.vim/bundle/clickable/TODO.rst: -------------------------------------------------------------------------------- 1 | 2 | 1. [X] 2014-10-23 simply adding plugins 3 | 2. [X] 2014-10-23 modules 4 | 3. [X] 2014-10-23 root project 5 | 6 | 4. add priority for config object. 7 | 8 | Then the syntax highlight / hover / click, 9 | will not be triggered by an unwanted object. 10 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Functions/fugitive.vim: -------------------------------------------------------------------------------- 1 | function! Powerline#Functions#fugitive#GetBranch(symbol) " {{{ 2 | let ret = fugitive#statusline() 3 | 4 | let ret = substitute(ret, '\c\v\[?GIT\(([a-z0-9\-_\./:]+)\)\]?', a:symbol .' \1', 'g') 5 | 6 | return ret 7 | endfunction " }}} 8 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/go/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#go#SplitImports', 3 | \ 'sj#go#SplitStruct', 4 | \ ] 5 | 6 | let b:splitjoin_join_callbacks = [ 7 | \ 'sj#go#JoinImports', 8 | \ 'sj#go#JoinStruct', 9 | \ ] 10 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | function! s:error(text) 7 | echohl ErrorMsg 8 | echom "vital-over:" . a:text 9 | echohl None 10 | endfunction 11 | 12 | 13 | let &cpo = s:save_cpo 14 | unlet s:save_cpo 15 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/fugitive.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#fugitive#segments = Pl#Segment#Init(['fugitive', 2 | \ (exists('g:loaded_fugitive') && g:loaded_fugitive == 1), 3 | \ 4 | \ Pl#Segment#Create('branch', '%{Powerline#Functions#fugitive#GetBranch("$BRANCH")}') 5 | \ ]) 6 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/rvm.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#rvm#segments = Pl#Segment#Init(['rvm', 2 | \ (exists('g:loaded_rvm') && g:loaded_rvm == 1), 3 | \ 4 | \ Pl#Segment#Create('string', '%{rvm#string()}'), 5 | \ Pl#Segment#Create('statusline', '%{rvm#statusline()}') 6 | \ ]) 7 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/cfi.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#cfi#segments = Pl#Segment#Init(['cfi', 2 | \ (exists('g:cfi_disable') && g:cfi_disable == 0), 3 | \ 4 | \ Pl#Segment#Create('current_function', '%{Powerline#Functions#cfi#GetCurrentFunction()}', Pl#Segment#Modes('!N')) 5 | \ ]) 6 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/virtualenv.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#virtualenv#segments = Pl#Segment#Init(['virtualenv', 2 | \ has('python') && (exists('g:virtualenv_loaded') && g:virtualenv_loaded == 1), 3 | \ 4 | \ Pl#Segment#Create('statusline', '%{VirtualEnvStatusline()}') 5 | \ ]) 6 | -------------------------------------------------------------------------------- /.irbrc: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'irb/completion' 3 | #require 'bond'; require 'bond/completion' 4 | 5 | IRB.conf[:AUTO_INDENT] = true 6 | IRB.conf[:PROMPT_MODE] = :SIMPLE 7 | IRB.conf[:AUTO_INDENT_MODE] = false 8 | 9 | def ri(*names) 10 | system(%{ri #{names.map {|name| name.to_s}.join(' ')}}) 11 | end 12 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/test/first_buffer_no_ft.vim: -------------------------------------------------------------------------------- 1 | let g:delimitMate_expand_cr = 1 2 | let g:delimitMate_eol_marker = ';' 3 | call vimtest#StartTap() 4 | call vimtap#Plan(1) 5 | call vimtap#Like(maparg('(', 'i'), 'delimitMate(', 'Mappings defined for the first buffer without filetype set.') 6 | call vimtest#Quit() 7 | 8 | 9 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.php: -------------------------------------------------------------------------------- 1 | 'two', 5 | 'three' => 'four' 6 | ); 7 | 8 | $foo = [1, 2, 3]; 9 | 10 | if ($foo) { 11 | $a = 'bar'; 12 | } 13 | 14 | ?> 15 | 16 |
17 | 18 | 19 | 20 | 21 |
22 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/autoload/clickable/test.spec: -------------------------------------------------------------------------------- 1 | SpecBegin 'title': 'Class' 2 | 3 | let Class = clickable#class#init() 4 | 5 | let hi = Class() 6 | function hi.link() 7 | echo 1 8 | endfunction 9 | let t = hi.new() 10 | 11 | It should have class 12 | Should be equal t.is_instance, 1 13 | 14 | 15 | It should have 16 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/test/expand_space.txt: -------------------------------------------------------------------------------- 1 | # Issue #95 2 | new 3 | let b:delimitMate_jump_expansion = 1 4 | DelimitMateReload 5 | exec "normal i( test)x" 6 | ================================================================================ 7 | ( test )x 8 | -------------------------------------------------------------------------------- 9 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/syntastic.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#syntastic#segments = Pl#Segment#Init(['syntastic', 2 | \ (exists('g:loaded_syntastic_plugin') && g:loaded_syntastic_plugin == 1), 3 | \ 4 | \ Pl#Segment#Create('errors', '%{Powerline#Functions#syntastic#GetErrors("$LINE")}', Pl#Segment#Modes('!N')) 5 | \ ]) 6 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-user/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 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.vim: -------------------------------------------------------------------------------- 1 | let example_one = { 2 | \ 'one': 'two', 3 | \ 'three': 'four' 4 | \ } 5 | 6 | let example_two = [ 7 | \ 'one', 8 | \ 'two' 9 | \ ] 10 | 11 | command! Foo if one | 12 | \ 'two' | 13 | \ else | 14 | \ 'three' | 15 | \ endif 16 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.yml: -------------------------------------------------------------------------------- 1 | root: 2 | one: [1, 2, 3] 3 | two: ['four', 'five', 'six'] 4 | two: ['four', 'five', 'six'] # comment 5 | three: 6 | - four 7 | - five 8 | three: # comment 9 | - four 10 | - five 11 | 12 | one: { foo: bar, bar: baz } 13 | two: { three: ['four', 'five'], six: seven } 14 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/haml/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#haml#SplitInterpolation', 3 | \ 'sj#haml#SplitInlineInterpolation', 4 | \ ] 5 | 6 | let b:splitjoin_join_callbacks = [ 7 | \ 'sj#haml#JoinInterpolation', 8 | \ 'sj#haml#JoinToInlineInterpolation', 9 | \ ] 10 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/vim/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#vim#Split', 4 | \ ] 5 | endif 6 | 7 | if !exists('b:splitjoin_join_callbacks') 8 | let b:splitjoin_join_callbacks = [ 9 | \ 'sj#vim#Join', 10 | \ ] 11 | endif 12 | -------------------------------------------------------------------------------- /.screenrc: -------------------------------------------------------------------------------- 1 | #The way screens/windows look 2 | fit 3 | #Makes screen go back to where u weer after closing vim 4 | altscreen 5 | term "xterm-color" 6 | startup_message off 7 | hardstatus alwayslastline " %{= gK}%-w%{+b W}%n %t%{-}%+w%=%{+b W}%h%{= dd} " 8 | defscrollback 5000 9 | autodetach on 10 | vbell off #worst shit ever made 11 | shell -bash 12 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/html/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#html#SplitTags' 4 | \ ] 5 | endif 6 | 7 | if !exists('b:splitjoin_join_callbacks') 8 | let b:splitjoin_join_callbacks = [ 9 | \ 'sj#html#JoinTags' 10 | \ ] 11 | endif 12 | -------------------------------------------------------------------------------- /.vim/bundle/ack.vim/doc/tags: -------------------------------------------------------------------------------- 1 | :Ack ack.txt /*:Ack* 2 | :AckAdd ack.txt /*:AckAdd* 3 | :AckFile ack.txt /*:AckFile* 4 | :AckFromSearch ack.txt /*:AckFromSearch* 5 | :LAck ack.txt /*:LAck* 6 | :LAckAdd ack.txt /*:LAckAdd* 7 | ack ack.txt /*ack* 8 | ack-author ack.txt /*ack-author* 9 | ack-mappings ack.txt /*ack-mappings* 10 | ack.txt ack.txt /*ack.txt* 11 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/test/Makefile: -------------------------------------------------------------------------------- 1 | all: build/runVimTests 2 | build/runVimTests/bin/runVimTests.sh -0 . 3 | 4 | build/runVimTests: build/VimTAP 5 | git clone https://github.com/inkarkat/runVimTests $@ 6 | 7 | # Use VimTAP as directory name, as used with runVimTestsSetup.vim. 8 | build/VimTAP: 9 | git clone https://github.com/inkarkat/vimtap $@ 10 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/testFileAddedToGit.vim: -------------------------------------------------------------------------------- 1 | source helper.vim 2 | 3 | let tmpfile = 'fileAddedToGit.tmp' 4 | call system('touch '.tmpfile) 5 | call system('git add '.tmpfile) 6 | execute 'edit '.tmpfile 7 | normal ihello 8 | write 9 | call DumpSigns('fileAddedToGit') 10 | 11 | call system('git reset HEAD '.tmpfile) 12 | call system('rm '.tmpfile) 13 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Functions/ft_man.vim: -------------------------------------------------------------------------------- 1 | function! Powerline#Functions#ft_man#GetName() " {{{ 2 | let matches = matchlist(getline(1), '\v^([a-zA-Z_\.\-]+)\((\d+)\)') 3 | 4 | if ! len(matches) 5 | return 'n/a' 6 | endif 7 | 8 | let file = tolower(matches[1]) 9 | let num = matches[2] 10 | 11 | return file 12 | endfunction " }}} 13 | -------------------------------------------------------------------------------- /.vim/bundle/over/test/autoload/over/command_line/complete.vim: -------------------------------------------------------------------------------- 1 | 2 | function! s:test_parse_line() 3 | let owl_SID = owl#filename_to_SID("vim-over/autoload/over/command_line/complete.vim") 4 | 5 | OwlCheck s:parse_line("homu/h") == [5, "h"] 6 | OwlCheck s:parse_line("homu") == [0, "homu"] 7 | OwlCheck s:parse_line("//") == [2, ""] 8 | 9 | endfunction 10 | 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-user/test/script-local.expected: -------------------------------------------------------------------------------- 1 | ==== s_normalize_path 2 | ---- It should normalize a backslashed path into a forwardslashed path. 3 | . 4 | 5 | ==== textobj_user_plugin sfile 6 | ---- It should be able to call script-local function. 7 | ... 8 | 9 | 10 | 11 | **** Result **** 12 | 13 | 14 | 4 examples, 0 failures 15 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/eruby/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#html#SplitTags', 3 | \ 'sj#eruby#SplitIfClause', 4 | \ 'sj#ruby#SplitOptions', 5 | \ ] 6 | 7 | let b:splitjoin_join_callbacks = [ 8 | \ 'sj#eruby#JoinIfClause', 9 | \ 'sj#ruby#JoinHash', 10 | \ 'sj#html#JoinTags', 11 | \ ] 12 | -------------------------------------------------------------------------------- /hg-prompt/docs/wiki/documentation/index.mdown: -------------------------------------------------------------------------------- 1 | Documentation 2 | ============= 3 | 4 | ##[Usage](/documentation/usage/)## 5 | 6 | How the `hg prompt` command can be used. 7 | 8 | ##[Keywords](/documentation/keywords/)## 9 | 10 | Keywords available to use with the command. 11 | 12 | ##[Sample Prompts](/documentation/samples/)## 13 | 14 | Some sample prompts to get you started. -------------------------------------------------------------------------------- /.vim/bundle/vim-javascript/ftdetect/javascript.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.js setf javascript 2 | au BufNewFile,BufRead *.jsm setf javascript 3 | au BufNewFile,BufRead Jakefile setf javascript 4 | 5 | fun! s:SelectJavascript() 6 | if getline(1) =~# '^#!.*/bin/env\s\+node\>' 7 | set ft=javascript 8 | endif 9 | endfun 10 | au BufNewFile,BufRead * call s:SelectJavascript() 11 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/htmldjango/splitjoin.vim: -------------------------------------------------------------------------------- 1 | " Use html callbacks 2 | 3 | if !exists('b:splitjoin_split_callbacks') 4 | let b:splitjoin_split_callbacks = [ 5 | \ 'sj#html#SplitTags' 6 | \ ] 7 | endif 8 | 9 | if !exists('b:splitjoin_join_callbacks') 10 | let b:splitjoin_join_callbacks = [ 11 | \ 'sj#html#JoinTags' 12 | \ ] 13 | endif 14 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/extradite/.gitremotes: -------------------------------------------------------------------------------- 1 | adamreeve git://github.com/adamreeve/vim-extradite.git (fetch) 2 | adamreeve git://github.com/adamreeve/vim-extradite.git (push) 3 | int3 https://github.com/int3/vim-extradite.git (fetch) 4 | int3 https://github.com/int3/vim-extradite.git (push) 5 | origin git@github.com:juanpabloaj/vim-extradite.git (fetch) 6 | origin git@github.com:juanpabloaj/vim-extradite.git (push) 7 | -------------------------------------------------------------------------------- /.vim/bundle/glsl/after/syntax/html.vim: -------------------------------------------------------------------------------- 1 | " Language: OpenGL Shading Language 2 | " Maintainer: Sergey Tikhomirov 3 | 4 | syn include @GLSL syntax/glsl.vim 5 | syn region ShaderScript 6 | \ start=""me=s-1 9 | \ contains=@GLSL,htmlScriptTag,@htmlPreproc 10 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/xml/splitjoin.vim: -------------------------------------------------------------------------------- 1 | " Wrap them in conditions to avoid messing up erb 2 | 3 | if !exists('b:splitjoin_split_callbacks') 4 | let b:splitjoin_split_callbacks = [ 5 | \ 'sj#html#SplitTags' 6 | \ ] 7 | endif 8 | 9 | if !exists('b:splitjoin_join_callbacks') 10 | let b:splitjoin_join_callbacks = [ 11 | \ 'sj#html#JoinTags' 12 | \ ] 13 | endif 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-user/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 | -------------------------------------------------------------------------------- /iterm_restore_arrangement_tab.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import iterm2 4 | import sys 5 | 6 | async def main(connection): 7 | app = await iterm2.async_get_app(connection) 8 | window = app.current_terminal_window 9 | 10 | await iterm2.Arrangement.async_restore(connection, sys.argv[1], window.window_id) 11 | await window.async_activate() 12 | 13 | iterm2.run_until_complete(main) 14 | -------------------------------------------------------------------------------- /.vim/delvarworld-snippets/perl/perl.snippets: -------------------------------------------------------------------------------- 1 | snippet d 2 | debug "***********************************"; 3 | debug "**********************************"; 4 | debug "*********************************"; 5 | debug "********************************"; 6 | debug ${0}; 7 | debug "********************************"; 8 | debug "*********************************"; 9 | debug "**********************************"; 10 | endsnippet 11 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/c/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#c#SplitIfClause', 4 | \ 'sj#c#SplitFuncall', 5 | \ ] 6 | endif 7 | 8 | if !exists('b:splitjoin_join_callbacks') 9 | let b:splitjoin_join_callbacks = [ 10 | \ 'sj#c#JoinFuncall', 11 | \ 'sj#c#JoinIfClause', 12 | \ ] 13 | endif 14 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/yaml/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#yaml#SplitArray', 4 | \ 'sj#yaml#SplitMap' 5 | \ ] 6 | endif 7 | 8 | if !exists('b:splitjoin_join_callbacks') 9 | let b:splitjoin_join_callbacks = [ 10 | \ 'sj#yaml#JoinArray', 11 | \ 'sj#yaml#JoinMap' 12 | \ ] 13 | endif 14 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/.hgtags: -------------------------------------------------------------------------------- 1 | 4101cbccf1d5fd0cfb81a3c6757c8f71657c1243 v0.8.0 2 | 4101cbccf1d5fd0cfb81a3c6757c8f71657c1243 semver 3 | aa431c484c032ebc7b11e1e49c3b339d6d775384 v0.9.0 4 | ede41dc6613eac08af5c98e69e123788b5a8e65a v1.0.0 5 | e1365403fefc8b192252fa1dfda997f6c166ab60 v2.0.0 6 | 7fb1c286cca3c0c07974cc1b59002cfe2b7132f5 v2.1.0 7 | dc582486455b428fc2ae50913b7844966ce64afc v2.1.1 8 | d2406d0bce25549bb35c59767574386d3d241ace v2.2.0 9 | -------------------------------------------------------------------------------- /.vim/bundle/mustache-handlebars/ftdetect/mustache.vim: -------------------------------------------------------------------------------- 1 | if has("autocmd") 2 | au BufNewFile,BufRead *.mustache,*.hogan,*.hulk,*.hjs set filetype=html.mustache syntax=mustache | runtime! ftplugin/mustache.vim ftplugin/mustache*.vim ftplugin/mustache/*.vim 3 | au BufNewFile,BufRead *.handlebars,*.hbs set filetype=html.handlebars syntax=mustache | runtime! ftplugin/mustache.vim ftplugin/mustache*.vim ftplugin/mustache/*.vim 4 | endif 5 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/lua/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#lua#SplitTable', 4 | \ 'sj#lua#SplitFunction', 5 | \ ] 6 | endif 7 | 8 | if !exists('b:splitjoin_join_callbacks') 9 | let b:splitjoin_join_callbacks = [ 10 | \ 'sj#lua#JoinTable', 11 | \ 'sj#lua#JoinFunction', 12 | \ ] 13 | endif 14 | -------------------------------------------------------------------------------- /iterm_list_arrangements.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import iterm2 4 | from json import dumps 5 | 6 | async def main(connection): 7 | connections = await iterm2.Arrangement.async_list(connection) 8 | items = [] 9 | 10 | for i in connections: 11 | items.append({ 'arg': i, 'title': 'Restore arrangement "' + i + '"' }) 12 | 13 | print(dumps({ 'items': items })) 14 | 15 | iterm2.run_until_complete(main) 16 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | \usepackage[]{amsmath} 3 | 4 | \begin{document} 5 | 6 | \begin{center} Hello World \end{center} 7 | \begin{align*} x = y\\ y = z \end{align*} 8 | 9 | \begin{tabular}[]{cc} 10 | row1 col1 & row1 col2 \\ 11 | row2 col1 & row col2 12 | \end{tabular} 13 | 14 | \begin{enumerate} 15 | \item item1 16 | \item item2 17 | \end{enumerate} 18 | 19 | \end{document} 20 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/less/splitjoin.vim: -------------------------------------------------------------------------------- 1 | " just use the CSS ones 2 | 3 | if !exists('b:splitjoin_split_callbacks') 4 | let b:splitjoin_split_callbacks = [ 5 | \ 'sj#css#SplitDefinition', 6 | \ ] 7 | endif 8 | 9 | if !exists('b:splitjoin_join_callbacks') 10 | let b:splitjoin_join_callbacks = [ 11 | \ 'sj#css#JoinDefinition', 12 | \ 'sj#css#JoinMultilineSelector', 13 | \ ] 14 | endif 15 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/scss/splitjoin.vim: -------------------------------------------------------------------------------- 1 | " just use the CSS ones 2 | 3 | if !exists('b:splitjoin_split_callbacks') 4 | let b:splitjoin_split_callbacks = [ 5 | \ 'sj#css#SplitDefinition', 6 | \ ] 7 | endif 8 | 9 | if !exists('b:splitjoin_join_callbacks') 10 | let b:splitjoin_join_callbacks = [ 11 | \ 'sj#css#JoinDefinition', 12 | \ 'sj#css#JoinMultilineSelector', 13 | \ ] 14 | endif 15 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/All.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:modules = map(split(globpath(expand(":p:h"), "/*.vim"), "\n"), "fnamemodify(v:val, ':t:r')") 7 | 8 | 9 | function! s:_vital_depends() 10 | return map(copy(s:modules), "'Over.Commandline.Modules.' . v:val") 11 | endfunction 12 | 13 | 14 | let &cpo = s:save_cpo 15 | unlet s:save_cpo 16 | -------------------------------------------------------------------------------- /.vim/bundle/qargs/plugin/qargs.vim: -------------------------------------------------------------------------------- 1 | command! -nargs=0 -bar Qargs execute 'args' QuickfixFilenames() 2 | function! QuickfixFilenames() 3 | " Building a hash ensures we get each buffer only once 4 | let buffer_numbers = {} 5 | for quickfix_item in getqflist() 6 | let buffer_numbers[quickfix_item['bufnr']] = bufname(quickfix_item['bufnr']) 7 | endfor 8 | return join(map(values(buffer_numbers), 'fnameescape(v:val)')) 9 | endfunction 10 | 11 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/test/_setup.vim: -------------------------------------------------------------------------------- 1 | let &rtp = expand(':p:h:h') . ',' . &rtp . ',' . expand(':p:h:h') . '/after' 2 | set bs=2 3 | ru plugin/delimitMate.vim 4 | let runVimTests = expand(':p:h').'/build/runVimTests' 5 | if isdirectory(runVimTests) 6 | let &rtp = runVimTests . ',' . &rtp 7 | endif 8 | let vimTAP = expand(':p:h').'/build/VimTAP' 9 | if isdirectory(vimTAP) 10 | let &rtp = vimTAP . ',' . &rtp 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/css/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#css#SplitDefinition', 4 | \ 'sj#css#SplitMultilineSelector', 5 | \ ] 6 | endif 7 | 8 | if !exists('b:splitjoin_join_callbacks') 9 | let b:splitjoin_join_callbacks = [ 10 | \ 'sj#css#JoinDefinition', 11 | \ 'sj#css#JoinMultilineSelector', 12 | \ ] 13 | endif 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-javascript/extras/ctags: -------------------------------------------------------------------------------- 1 | --langdef=js 2 | --langmap=js:.js 3 | --regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/ 4 | --regex-js=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/ 5 | --regex-js=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*([^)])/\1/,function/ 6 | --regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/ 7 | --regex-js=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/ 8 | --regex-js=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/ 9 | -------------------------------------------------------------------------------- /.vim/bundle/clam.vim/README.markdown: -------------------------------------------------------------------------------- 1 | Clam 2 | ==== 3 | 4 | Clam.vim is a lightweight Vim plugin to easily run shell commands. 5 | 6 | Demo: 7 | 8 | Installation and Usage 9 | ---------------------- 10 | 11 | Use Pathogen to install. 12 | 13 | Read the docs for more information: 14 | 15 | 16 | 17 | License 18 | ------- 19 | 20 | MIT/X11. 21 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/autoload/vital.vim: -------------------------------------------------------------------------------- 1 | function! vital#of(name) 2 | let files = globpath(&runtimepath, 'autoload/vital/' . a:name . '.vital') 3 | let file = split(files, "\n") 4 | if empty(file) 5 | throw 'vital: version file not found: ' . a:name 6 | endif 7 | let ver = readfile(file[0], 'b') 8 | if empty(ver) 9 | throw 'vital: invalid version file: ' . a:name 10 | endif 11 | return vital#_{substitute(ver[0], '\W', '', 'g')}#new() 12 | endfunction 13 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/helper.vim: -------------------------------------------------------------------------------- 1 | set runtimepath+=../ 2 | source ../plugin/gitgutter.vim 3 | 4 | function! Setup() 5 | edit! fixture.txt 6 | sign unplace * 7 | endfunction 8 | 9 | function! DumpSigns(filename) 10 | execute 'redir! > ' a:filename.'.actual' 11 | silent execute 'sign place' 12 | redir END 13 | endfunction 14 | 15 | function! DumpGitDiff(filename) 16 | call system('git diff --staged fixture.txt > '.a:filename.'.actual') 17 | endfunction 18 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital.vim: -------------------------------------------------------------------------------- 1 | function! vital#of(name) abort 2 | let files = globpath(&runtimepath, 'autoload/vital/' . a:name . '.vital') 3 | let file = split(files, "\n") 4 | if empty(file) 5 | throw 'vital: version file not found: ' . a:name 6 | endif 7 | let ver = readfile(file[0], 'b') 8 | if empty(ver) 9 | throw 'vital: invalid version file: ' . a:name 10 | endif 11 | return vital#_{substitute(ver[0], '\W', '', 'g')}#new() 12 | endfunction 13 | -------------------------------------------------------------------------------- /hg-prompt/docs/markdoc.yaml: -------------------------------------------------------------------------------- 1 | wiki-name: "hg-prompt" 2 | 3 | 4 | static-dir: "static" 5 | 6 | hide-prefix: "." 7 | document-extensions: [.md, .mdown, .markdown] 8 | generate-listing: always 9 | listing-filename: "list.html" 10 | 11 | use-default-static: false 12 | 13 | markdown: 14 | safe_mode: false 15 | output_format: xhtml1 16 | extensions: [codehilite, def_list, toc] 17 | 18 | server: 19 | bind: '127.0.0.1' 20 | port: 8010 21 | server_name: 'sjl.bitbucket.org' -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.js: -------------------------------------------------------------------------------- 1 | var one = { one: "two", three: "four" }; 2 | 3 | var two = { 4 | one: "two", 5 | three: "four" 6 | }; 7 | 8 | var three = { one: [two, three], four: "five, six", 'seven': /8, 9/ }; 9 | 10 | var callback = function (something, other) { something_else; }; 11 | function example(something, other) { something_else; } 12 | 13 | function example(something, other) { something_else } 14 | 15 | var foo = [ 'baz', 'bar', 'froboz', 'gnusto' ]; 16 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test 6 | 7 | 8 | 9 | foo 10 | 11 |
bar
bar
12 | 13 |
    14 |
  • one
  • 15 |
  • two
  • 16 |
  • three
  • 17 |
18 | 19 | Google 20 | 21 | 22 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/php/splitjoin.vim: -------------------------------------------------------------------------------- 1 | let b:splitjoin_split_callbacks = [ 2 | \ 'sj#js#SplitArray', 3 | \ 'sj#php#SplitArray', 4 | \ 'sj#php#SplitIfClause', 5 | \ 'sj#html#SplitTags', 6 | \ 'sj#php#SplitPhpMarker', 7 | \ ] 8 | 9 | let b:splitjoin_join_callbacks = [ 10 | \ 'sj#php#JoinPhpMarker', 11 | \ 'sj#js#JoinArray', 12 | \ 'sj#php#JoinArray', 13 | \ 'sj#php#JoinIfClause', 14 | \ 'sj#php#JoinHtmlTags', 15 | \ ] 16 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'vimrunner' 2 | require 'vimrunner/rspec' 3 | require_relative './support/vim' 4 | 5 | Vimrunner::RSpec.configure do |config| 6 | config.reuse_server = true 7 | 8 | plugin_path = File.expand_path('.') 9 | 10 | config.start_vim do 11 | vim = Vimrunner.start_gvim 12 | vim.add_plugin(plugin_path, 'plugin/splitjoin.vim') 13 | vim 14 | end 15 | end 16 | 17 | RSpec.configure do |config| 18 | config.include Support::Vim 19 | end 20 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/javascript/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#js#SplitArray', 4 | \ 'sj#js#SplitObjectLiteral', 5 | \ 'sj#js#SplitFunction' 6 | \ ] 7 | endif 8 | 9 | if !exists('b:splitjoin_join_callbacks') 10 | let b:splitjoin_join_callbacks = [ 11 | \ 'sj#js#JoinArray', 12 | \ 'sj#js#JoinFunction', 13 | \ 'sj#js#JoinObjectLiteral' 14 | \ ] 15 | endif 16 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/README.md: -------------------------------------------------------------------------------- 1 | This plug-in provides automatic closing of quotes, parenthesis, brackets, etc., besides some other related features that 2 | should make your time in insert mode a little bit easier, like syntax awareness (will not insert the closing delimiter 3 | in comments and other configurable regions), and expansions (off by default), and some more. 4 | 5 | Most of the features can be modified or disabled permanently, using global variables, or on a FileType basis, using 6 | :autocmd. 7 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.pl: -------------------------------------------------------------------------------- 1 | print "a = $a\n" if $debug; 2 | print "OK" unless $error; 3 | 4 | if ($debug) { 5 | print "a = $a\n"; 6 | print "b = $b\n"; 7 | } 8 | 9 | if ($debug) { print "foo"; } 10 | 11 | if ($debug) 12 | { 13 | print "a = $a\n"; 14 | } 15 | 16 | open PID, ">", $pidfile or die; 17 | print "something" and exit; 18 | 19 | my $info = {name => $name, age => $age}; 20 | my @var = ['one', 'two', 'three']; 21 | my @var = ('one', 'two', 'three'); 22 | my @var = qw(one two three); 23 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.py: -------------------------------------------------------------------------------- 1 | from foo import bar, baz 2 | from foo import one,\ 3 | two,\ 4 | three 5 | 6 | knights = {'gallahad': 'the pure', 'robin': 'the brave'} 7 | 8 | spam = {'spam': [1, 2, 3], 'spam, spam': { 'one': 'two' }, "spam, spam, spam...": ('spam', 'eggs')} 9 | 10 | spam = [1, [2, 3], 4] 11 | spam = (1, (2, 3), 4) 12 | 13 | if something: something_else(":") 14 | 15 | while True: loop() 16 | 17 | class Foo: pass 18 | 19 | run("one", "two", "three {}".format(four)) 20 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/ExceptionExit.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:module = { 6 | \ "name" : "ExceptionExit", 7 | \} 8 | 9 | 10 | function! s:module.on_exception(cmdline) 11 | call a:cmdline.exit(-1) 12 | endfunction 13 | 14 | 15 | function! s:make(...) 16 | let result = deepcopy(s:module) 17 | let result.exit_code = get(a:, 1, 0) 18 | return result 19 | endfunction 20 | 21 | let &cpo = s:save_cpo 22 | unlet s:save_cpo 23 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Segments/ctrlp.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Segments#ctrlp#segments = Pl#Segment#Init(['ctrlp' 2 | \ , Pl#Segment#Create('focus', '%{"%0"}') 3 | \ , Pl#Segment#Create('byfname', '%{"%1"}') 4 | \ , Pl#Segment#Create('prev', '%-3{"%3"}') 5 | \ , Pl#Segment#Create('item', '%-9{"%4"}') 6 | \ , Pl#Segment#Create('next', '%-3{"%5"}') 7 | \ , Pl#Segment#Create('marked', '%{"%6" == " <+>" ? "" : strpart("%6", 2, len("%6") - 3)}') 8 | \ 9 | \ , Pl#Segment#Create('count', '%-6{"%0"}') 10 | \ ]) 11 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/HistAdd.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:module = { 7 | \ "name" : "HistAdd", 8 | \ "mode" : "cmd" 9 | \} 10 | 11 | function! s:module.on_leave(cmdline) 12 | call histadd(self.mode, a:cmdline.getline()) 13 | endfunction 14 | 15 | 16 | function! s:make(...) 17 | let module = deepcopy(s:module) 18 | let module.mode = get(a:, 1, "cmd") 19 | return module 20 | endfunction 21 | 22 | let &cpo = s:save_cpo 23 | unlet s:save_cpo 24 | -------------------------------------------------------------------------------- /.vim/bundle/clam.vim/clamsyntax/pacman.vim: -------------------------------------------------------------------------------- 1 | " pacman program output syntax rules for Clam.vim 2 | 3 | syn match packageName "/\S\+\>" 4 | 5 | syn keyword packageGroupExtra extra 6 | syn keyword packageGroupCommunity community 7 | syn keyword packageGroupMultilib multilib 8 | syn keyword packageInstalledMark installed 9 | 10 | 11 | hi def link packageGroupCommunity Type 12 | hi def link packageGroupExtra Type 13 | hi def link packageGroupMultilib Type 14 | hi def link packageInstalledMark Error 15 | hi def link packageName String 16 | -------------------------------------------------------------------------------- /.vim/bundle/html-entities/README.md: -------------------------------------------------------------------------------- 1 | # Usage 2 | 3 | ]he 4 | 5 | Converts characters included in the motion to html entity form. It will convert 6 | to the proper entity name, for example `&` becomes `&`. If no entity is 7 | found, it will use the number version, as in `'` becomes `'`. 8 | 9 | # TODO 10 | 11 | Reverse the transformation, make work in other modes 12 | 13 | # Author 14 | 15 | If this plugin helped your web development Vim shenanigans, consider following 16 | me [on Twitter](https://twitter.com/andrewray). 17 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/Exit.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:module = { 6 | \ "name" : "Exit", 7 | \ "exit_code" : 0 8 | \} 9 | 10 | 11 | function! s:module.on_char_pre(cmdline) 12 | if a:cmdline.is_input("(exit)") 13 | call a:cmdline.setchar("") 14 | call a:cmdline.exit(self.exit_code) 15 | endif 16 | endfunction 17 | 18 | 19 | function! s:make() 20 | return deepcopy(s:module) 21 | endfunction 22 | 23 | 24 | let &cpo = s:save_cpo 25 | unlet s:save_cpo 26 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/autoload/sj/sh.vim: -------------------------------------------------------------------------------- 1 | function! sj#sh#SplitBySemicolon() 2 | let line = getline('.') 3 | let parser = sj#argparser#sh#Construct(0, col('$'), line) 4 | call parser.Process() 5 | 6 | if len(parser.args) <= 1 7 | return 0 8 | endif 9 | 10 | let body = join(parser.args, "\n") 11 | call sj#ReplaceMotion('V', body) 12 | return 1 13 | endfunction 14 | 15 | function! sj#sh#JoinWithSemicolon() 16 | if !nextnonblank(line('.') + 1) 17 | return 0 18 | endif 19 | 20 | s/;\=\s*\n\_s*/; /e 21 | return 1 22 | endfunction 23 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/spec/support/vim.rb: -------------------------------------------------------------------------------- 1 | module Support 2 | module Vim 3 | def set_file_contents(string) 4 | write_file(filename, string) 5 | vim.edit!(filename) 6 | end 7 | 8 | def split 9 | vim.command 'SplitjoinSplit' 10 | vim.write 11 | end 12 | 13 | def join 14 | vim.command 'SplitjoinJoin' 15 | vim.write 16 | end 17 | 18 | def assert_file_contents(string) 19 | string = normalize_string_indent(string) 20 | IO.read(filename).strip.should eq string 21 | end 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /.vim/bundle/anzu/autoload/airline/extensions/anzu.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | 3 | 4 | function! airline#extensions#anzu#init(ext) 5 | call airline#parts#define_function('anzu', 'anzu#search_status') 6 | call a:ext.add_statusline_func('airline#extensions#anzu#apply') 7 | endfunction 8 | 9 | function! airline#extensions#anzu#apply(...) 10 | call airline#extensions#prepend_to_section("z", "%{anzu#search_status()}") 11 | " let w:airline_section_z = ' %{anzu#search_status()} ' . get(w:, "airline_section_z", "") . get(g:, "airline_section_z", "") 12 | endfunction 13 | 14 | -------------------------------------------------------------------------------- /which_repo.sh: -------------------------------------------------------------------------------- 1 | IS_GIT_DIR=false 2 | IS_HG_DIR=false 3 | IS_SVN_DIR=false 4 | 5 | gitTest=`git status 2> /dev/null` 6 | if [[ "$gitTest" != "" ]]; then 7 | IS_GIT_DIR=true 8 | else 9 | hgTest=`hg summary 2> /dev/null` 10 | if [[ "$hgTest" != "" ]]; then 11 | IS_HG_DIR=true 12 | else 13 | svnTest=`svn info 2> /dev/null` 14 | if [[ "$svnTest" != "" ]]; then 15 | IS_SVN_DIR=true 16 | else 17 | echo "This is not a Git, Mercurial nor Subversion repository. Are you drunk?" 18 | fi 19 | fi 20 | fi 21 | -------------------------------------------------------------------------------- /.vim/bundle/jison/README.md: -------------------------------------------------------------------------------- 1 | Vim syntax highlighting for jison 2 | =============================================================================== 3 | 4 | A simple syntax file for [jison], fork from [vim-syntax-extra] 5 | 6 | ## Installation 7 | 8 | If you use [Pathogen](and you should), do this: 9 | 10 | $ cd ~/.vim/bundle 11 | $ git clone https://github.com/wizicer/vim-jison.git 12 | 13 | 14 | [jison]: http://zaach.github.io/jison/ 15 | [vim-syntax-extra]: https://github.com/justinmk/vim-syntax-extra 16 | [Pathogen]: http://www.vim.org/scripts/script.php?script_id=2332 -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Winview.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:obj = {} 6 | 7 | function! s:obj.get() 8 | return winsaveview() 9 | endfunction 10 | 11 | 12 | function! s:obj.set(value) 13 | call winrestview(a:value) 14 | return self 15 | endfunction 16 | 17 | 18 | function! s:is_makeable(expr) 19 | return 0 20 | endfunction 21 | 22 | 23 | function! s:make() 24 | let result = deepcopy(s:obj) 25 | return result 26 | endfunction 27 | 28 | 29 | let &cpo = s:save_cpo 30 | unlet s:save_cpo 31 | -------------------------------------------------------------------------------- /.vim/bundle/vim-jsx/after/ftplugin/javascript.vim: -------------------------------------------------------------------------------- 1 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 | " Vim ftplugin file 3 | " 4 | " Language: JSX (JavaScript) 5 | " Maintainer: Max Wang 6 | " Depends: pangloss/vim-javascript 7 | " 8 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 9 | 10 | " modified from html.vim 11 | if exists("loaded_matchit") 12 | let b:match_ignorecase = 0 13 | let b:match_words = '(:),\[:\],{:},<:>,' . 14 | \ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>' 15 | endif 16 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/Cancel.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:module = { 6 | \ "name" : "Cancel" 7 | \} 8 | 9 | function! s:module.on_char_pre(cmdline) 10 | if a:cmdline.is_input("\") 11 | \ || a:cmdline.is_input("\") 12 | " call a:cmdline.cancel() 13 | call a:cmdline.exit(1) 14 | call a:cmdline.setchar("") 15 | endif 16 | endfunction 17 | 18 | 19 | function! s:make() 20 | return deepcopy(s:module) 21 | endfunction 22 | 23 | 24 | let &cpo = s:save_cpo 25 | unlet s:save_cpo 26 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/Paste.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:module = { 7 | \ "name" : "Paste" 8 | \} 9 | 10 | function! s:module.on_char_pre(cmdline) 11 | if a:cmdline.is_input("(paste)") 12 | let register = v:register == "" ? '"' : v:register 13 | call a:cmdline.insert(tr(getreg("*"), "\n", "\r")) 14 | call a:cmdline.setchar('') 15 | endif 16 | endfunction 17 | 18 | 19 | function! s:make() 20 | return deepcopy(s:module) 21 | endfunction 22 | 23 | 24 | let &cpo = s:save_cpo 25 | unlet s:save_cpo 26 | -------------------------------------------------------------------------------- /.vim/bundle/clickable-things/README.rst: -------------------------------------------------------------------------------- 1 | clickable-things 2 | ================ 3 | 4 | clickable things for clickable.vim_ 5 | 6 | Usage 7 | ----- 8 | 9 | Just install with 'rykka/clickable-things'. 10 | 11 | Contains 12 | -------- 13 | 14 | clickable/bundle.vim 15 | For quickly editing vim bundles. 16 | ``~/.vim`` and ``~/.oh-my-vim`` are searched, also 'g:bundle_directory' can be used. 17 | 18 | 19 | Contribution 20 | ------------ 21 | 22 | You can post or push your clickable things here. 23 | 24 | A brief intro is needed. 25 | 26 | 27 | 28 | .. _clickable.vim: https://github.com/Rykka/clickable.vim 29 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | function! s:_vital_loaded(V) 7 | let s:V = a:V 8 | endfunction 9 | 10 | 11 | function! s:get(name) 12 | if exists("s:" . a:name) 13 | return s:{a:name} 14 | endif 15 | let s:{a:name} = s:V.import('Over.Commandline.Modules.' . a:name) 16 | return s:{a:name} 17 | endfunction 18 | 19 | 20 | function! s:make(name, ...) 21 | let module = s:get(a:name) 22 | return call(module.make, a:000, module) 23 | endfunction 24 | 25 | 26 | let &cpo = s:save_cpo 27 | unlet s:save_cpo 28 | -------------------------------------------------------------------------------- /.vim/bundle/over/test/autoload/over/command_line/substitute.vim: -------------------------------------------------------------------------------- 1 | 2 | function! s:test_restore_option() 3 | let conceallevel = &conceallevel 4 | let &conceallevel = 3 5 | call over#command_line#do("%s/mado/mado\") 6 | echo &conceallevel 7 | OwlCheck &conceallevel == 3 8 | let &conceallevel = conceallevel 9 | endfunction 10 | 11 | 12 | function! s:test_setting_option() 13 | let conceallevel = &conceallevel 14 | let &conceallevel = 3 15 | call over#command_line#do("set conceallevel=0\") 16 | echo &conceallevel 17 | OwlCheck &conceallevel == 0 18 | let &conceallevel = conceallevel 19 | endfunction 20 | 21 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Functions/syntastic.vim: -------------------------------------------------------------------------------- 1 | function! Powerline#Functions#syntastic#GetErrors(line_symbol) " {{{ 2 | if ! exists('g:syntastic_stl_format') 3 | " Syntastic hasn't been loaded yet 4 | return '' 5 | endif 6 | 7 | " Temporarily change syntastic output format 8 | let old_stl_format = g:syntastic_stl_format 9 | let g:syntastic_stl_format = '╱╱╱%E{ ERRORS (%e) '. a:line_symbol .' %fe }%W{ WARNINGS (%w) '. a:line_symbol .' %fw }╱╱╱' 10 | 11 | let ret = SyntasticStatuslineFlag() 12 | 13 | let g:syntastic_stl_format = old_stl_format 14 | 15 | return ret 16 | endfunction " }}} 17 | -------------------------------------------------------------------------------- /hg-prompt/tests/test_none.py: -------------------------------------------------------------------------------- 1 | '''Test output without keywords.''' 2 | 3 | from nose import * 4 | from util import * 5 | 6 | 7 | @with_setup(setup_sandbox, teardown_sandbox) 8 | def test_blank(): 9 | output = prompt(fs='') 10 | assert output == '' 11 | 12 | 13 | @with_setup(setup_sandbox, teardown_sandbox) 14 | def test_text(): 15 | output = prompt(fs='test one two three') 16 | assert output == 'test one two three' 17 | 18 | 19 | @with_setup(setup_sandbox, teardown_sandbox) 20 | def test_invalid_keyword(): 21 | output = prompt(fs='{invalidkeyword}') 22 | assert output == '{invalidkeyword}' 23 | -------------------------------------------------------------------------------- /.vim/bundle/vim-javascript/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | This project uses the [git 4 | flow](http://nvie.com/posts/a-successful-git-branching-model/) model for 5 | development. There's [a handy git module for git 6 | flow](//github.com/nvie/gitflow). If you'd like to be added as a contributor, 7 | the price of admission is 1 pull request. Please follow the general code style 8 | guides (read the code) and in your pull request explain the reason for the 9 | proposed change and how it is valuable. 10 | 11 | ## Bug report 12 | 13 | Report a bug on [GitHub Issues](https://github.com/pangloss/vim-javascript/issues). 14 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/spec/plugin/haml_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "haml" do 4 | let(:filename) { 'test.haml' } 5 | 6 | # Haml is not built-in, so let's set it up manually 7 | def setup_haml_filetype 8 | vim.set(:filetype, 'haml') 9 | vim.set(:expandtab) 10 | vim.set(:shiftwidth, 2) 11 | end 12 | 13 | specify "interpolation" do 14 | set_file_contents '%div= 1 + 2' 15 | setup_haml_filetype 16 | 17 | split 18 | 19 | assert_file_contents <<-EOF 20 | %div 21 | = 1 + 2 22 | EOF 23 | 24 | join 25 | 26 | assert_file_contents '%div= 1 + 2' 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/File.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:obj = {} 6 | 7 | function! s:obj.get() 8 | return readfile(self.__file) 9 | endfunction 10 | 11 | 12 | function! s:obj.set(value) 13 | call writefile(a:value, self.__file) 14 | return self 15 | endfunction 16 | 17 | 18 | function! s:is_makeable(expr) 19 | return filereadable(a:expr) 20 | endfunction 21 | 22 | 23 | function! s:make(expr) 24 | let result = deepcopy(s:obj) 25 | let result.__file = a:expr 26 | return result 27 | endfunction 28 | 29 | 30 | let &cpo = s:save_cpo 31 | unlet s:save_cpo 32 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Position.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:obj = {} 6 | 7 | function! s:obj.get() 8 | return getpos(self.__expr) 9 | endfunction 10 | 11 | 12 | function! s:obj.set(value) 13 | call setpos(self.__expr, a:value) 14 | return self 15 | endfunction 16 | 17 | 18 | function! s:is_makeable(expr) 19 | return a:expr =~ '\.\|''[a-zA-Z]' 20 | endfunction 21 | 22 | 23 | function! s:make(expr) 24 | let result = deepcopy(s:obj) 25 | let result.__expr = a:expr 26 | return result 27 | endfunction 28 | 29 | 30 | let &cpo = s:save_cpo 31 | unlet s:save_cpo 32 | -------------------------------------------------------------------------------- /.bash_config_macbook: -------------------------------------------------------------------------------- 1 | export PATH=/usr/local/sbin:/Users/delvarworld/maven/bin:/Users/delvarworld/doctorjs/bin/:/usr/local/bin:/usr/local/share/npm/bin:$PATH 2 | export GIT_EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim -f -g ' 3 | export SVN_EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim -f -g ' 4 | export NODE_PATH=/usr/local/lib/node_modules:/usr/local/lib/jsctags/:$NODE_PATH 5 | export JAVA_OPTS='-Xmx1024M -XX:MaxPermSize=256M' 6 | export MAVEN_OPTS="-Xmx2048M -XX:MaxPermSize=512M" 7 | export JAVA_HOME=/Library/Java/Home 8 | source ~/perl5/perlbrew/etc/bashrc 9 | [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function 10 | -------------------------------------------------------------------------------- /.vim/bundle/over/test/autoload/over.vim: -------------------------------------------------------------------------------- 1 | 2 | function! s:test_parse_substitute() 3 | let owl_SID = owl#filename_to_SID("vim-over/autoload/over.vim") 4 | 5 | OwlCheck s:parse_substitute('/homu') == [] 6 | OwlCheck s:parse_substitute('s/homu') == ["", "homu", "", ""] 7 | OwlCheck s:parse_substitute('%s/homu') == ["%", "homu", "", ""] 8 | OwlCheck s:parse_substitute("'<,'>s/homu") == ["'<,'>", "homu", "", ""] 9 | OwlCheck s:parse_substitute("'<,'>s/homu/mami") == ["'<,'>", "homu", "mami", ""] 10 | OwlCheck s:parse_substitute('''<,''>s/ho\/ou/ma\/mi') == ["'<,'>", 'ho\/ou', 'ma\/mi', ""] 11 | OwlCheck s:parse_substitute('%sa/a//g') == [] 12 | endfunction 13 | 14 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/python/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#python#SplitDict', 4 | \ 'sj#python#SplitArray', 5 | \ 'sj#python#SplitTuple', 6 | \ 'sj#python#SplitStatement', 7 | \ 'sj#python#SplitImport' 8 | \ ] 9 | endif 10 | 11 | if !exists('b:splitjoin_join_callbacks') 12 | let b:splitjoin_join_callbacks = [ 13 | \ 'sj#python#JoinDict', 14 | \ 'sj#python#JoinArray', 15 | \ 'sj#python#JoinTuple', 16 | \ 'sj#python#JoinStatement', 17 | \ 'sj#python#JoinImport' 18 | \ ] 19 | endif 20 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-function-perl/doc/tags: -------------------------------------------------------------------------------- 1 | textobj-function-perl textobj-function-perl.txt /*textobj-function-perl* 2 | textobj-function-perl-bugs textobj-function-perl.txt /*textobj-function-perl-bugs* 3 | textobj-function-perl-changelog textobj-function-perl.txt /*textobj-function-perl-changelog* 4 | textobj-function-perl-contents textobj-function-perl.txt /*textobj-function-perl-contents* 5 | textobj-function-perl-interface textobj-function-perl.txt /*textobj-function-perl-interface* 6 | textobj-function-perl-introduction textobj-function-perl.txt /*textobj-function-perl-introduction* 7 | textobj-function-perl.txt textobj-function-perl.txt /*textobj-function-perl.txt* 8 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Input.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | function! s:getchar(...) 7 | let mode = get(a:, 1, 0) 8 | while 1 9 | " Workaround for https://github.com/osyo-manga/vital-over/issues/53 10 | try 11 | let char = call("getchar", a:000) 12 | catch /^Vim:Interrupt$/ 13 | let char = 3 " 14 | endtry 15 | " Workaround for the mappings 16 | if string(char) !=# "\x80\xfd`" 17 | return mode == 1 ? !!char 18 | \ : type(char) == type(0) ? nr2char(char) : char 19 | endif 20 | endwhile 21 | endfunction 22 | 23 | 24 | let &cpo = s:save_cpo 25 | unlet s:save_cpo 26 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/UT.README: -------------------------------------------------------------------------------- 1 | -------------------- 2 | UT v0.0.3 3 | -------------------- 4 | 5 | UT is a Unit Testing Framework for Vim 6 | 7 | Audience : Vim script maintainers 8 | Requirements : Vim 7, lh-vim-lib v2.2.0 ; 9 | takes advantage of BuildtoolsWrappers if installed. 10 | Required by : Only lh-vim 11 | Maintainer : Luc Hermitte 12 | License : GPL 2 (see http://www.gnu.org/licenses/gpl.txt) 13 | More Help At : http://code.google.com/p/lh-vim/wiki/UT 14 | Vim script#???: http://www.vim.org/scripts/script.php?script_id=??? 15 | Repository : 16 | svn checkout http://lh-vim.googlecode.com/svn/UT/trunk UT 17 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.coffee: -------------------------------------------------------------------------------- 1 | (foo, bar) -> console.log foo 2 | (foo, bar) -> 3 | console.log foo 4 | (foo, bar) => console.log foo 5 | 6 | do -> 7 | console.log bar if foo? 8 | if foo? then console.log bar 9 | 10 | foo = { one: two, three: 'four' } 11 | 12 | foo = "example" 13 | foo = "example with #{interpolation}" 14 | foo = "example with \"nested\" quotes" 15 | 16 | foo = 'example with single quotes' 17 | foo = 'example with \'escaped\' single quotes' 18 | 19 | foo = if bar? then 'baz' else 'qux' 20 | functionCall(if bar? then 'baz' else 'qux') 21 | functionCall('one', 'two', if bar? then 'baz' else 'qux') 22 | 23 | foo = functionCall(one, two, three: four, five: six) 24 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #4B7399; 3 | font-family: Verdana, Helvetica, Arial; 4 | font-size: 14px; 5 | } 6 | 7 | body { 8 | font-family: Verdana, Helvetica, Arial; 9 | background-color: #4B7399; 10 | font-size: 14px; 11 | } 12 | 13 | body { } 14 | 15 | a { color: #0000FF; text-decoration: underline } 16 | a { color: #0000FF; text-decoration: underline; } 17 | 18 | h1, 19 | h2, 20 | h3 { 21 | font-size: 18px; 22 | font-weight: bold; 23 | } 24 | 25 | h1, 26 | h2, 27 | h3 28 | { 29 | font-size: 18px; 30 | font-weight: bold 31 | } 32 | a { 33 | color: #0000FF; 34 | } /* comment */ 35 | 36 | a { color: #0000FF; } 37 | -------------------------------------------------------------------------------- /.vim/bundle/glsl/README.md: -------------------------------------------------------------------------------- 1 | # vim-glsl 2 | 3 | Vim syntax highlighting for OpenGL Shading Language 4 | 5 | ## Supported GLSL Versions 6 | 7 | * OpenGL Shading Language 1.10 8 | * OpenGL Shading Language 1.20 9 | * OpenGL Shading Language 1.30 10 | * OpenGL Shading Language 1.40 11 | * OpenGL Shading Language 1.50 12 | * OpenGL Shading Language 3.30 13 | * OpenGL Shading Language 4.00 14 | * OpenGL Shading Language 4.10 15 | * OpenGL Shading Language 4.20 16 | * OpenGL Shading Language 4.30 17 | * OpenGL ES Shading Language 1.00 18 | * OpenGL ES Shading Language 3.00 19 | 20 | ## Installation 21 | 22 | Using pathogen: 23 | 24 | $ cd ~/.vim/bundle 25 | $ git clone https://github.com/tikhomirov/vim-glsl 26 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Option.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | let s:obj = {} 5 | 6 | 7 | function! s:obj.get() 8 | return eval(self.__name) 9 | endfunction 10 | 11 | 12 | function! s:obj.set(value) 13 | execute "let " . self.__name . " = a:value" 14 | return self 15 | endfunction 16 | 17 | 18 | function! s:is_makeable(rhs) 19 | return type(a:rhs) == type("") 20 | \ && a:rhs =~ '^[a-zA-Z&]' 21 | \ && exists(a:rhs) 22 | endfunction 23 | 24 | 25 | function! s:make(name) 26 | let result = deepcopy(s:obj) 27 | let result.__name = a:name 28 | return result 29 | endfunction 30 | 31 | 32 | let &cpo = s:save_cpo 33 | unlet s:save_cpo 34 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Variable.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | let s:obj = {} 5 | 6 | 7 | function! s:obj.get() 8 | return eval(self.__name) 9 | endfunction 10 | 11 | 12 | function! s:obj.set(value) 13 | execute "let " . self.__name . " = a:value" 14 | return self 15 | endfunction 16 | 17 | 18 | function! s:is_makeable(rhs) 19 | return type(a:rhs) == type("") 20 | \ && a:rhs =~ '^[a-zA-Z&]' 21 | \ && exists(a:rhs) 22 | endfunction 23 | 24 | 25 | function! s:make(name) 26 | let result = deepcopy(s:obj) 27 | let result.__name = a:name 28 | return result 29 | endfunction 30 | 31 | 32 | let &cpo = s:save_cpo 33 | unlet s:save_cpo 34 | -------------------------------------------------------------------------------- /hg-prompt/docs/wiki/installation/index.mdown: -------------------------------------------------------------------------------- 1 | Installation 2 | ============ 3 | 4 | Installing `hg-prompt` requires [Python][] 2.5+ and (obviously) Mercurial. 5 | 6 | [Python]: http://python.org/ 7 | 8 | First, clone the repository: 9 | 10 | :::console 11 | $ hg clone http://bitbucket.org/sjl/hg-prompt/ 12 | 13 | Edit the `[extensions]` section in your `~/.hgrc` file: 14 | 15 | :::cfg 16 | [extensions] 17 | prompt = (path to)/prompt.py 18 | 19 | Make sure everything is working: 20 | 21 | :::console 22 | $ hg prompt 'test' 23 | test 24 | 25 | Take a look at the [Quick Start][] guide to learn how to put some useful 26 | information into your shell prompt. 27 | 28 | [Quick Start]: /quickstart/ -------------------------------------------------------------------------------- /.vim/bundle/ack.vim/Rakefile: -------------------------------------------------------------------------------- 1 | # Added by Josh Nichols, a.k.a. technicalpickles 2 | require 'rake' 3 | 4 | files = ['doc/ack.txt', 'plugin/ack.vim'] 5 | 6 | desc 'Install plugin and documentation' 7 | task :install do 8 | vimfiles = if ENV['VIMFILES'] 9 | ENV['VIMFILES'] 10 | elsif RUBY_PLATFORM =~ /(win|w)32$/ 11 | File.expand_path("~/vimfiles") 12 | else 13 | File.expand_path("~/.vim") 14 | end 15 | files.each do |file| 16 | target_file = File.join(vimfiles, file) 17 | FileUtils.mkdir_p File.dirname(target_file) 18 | FileUtils.cp file, target_file 19 | 20 | puts " Copied #{file} to #{target_file}" 21 | end 22 | 23 | end 24 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/lh-vim-lib/lh-vim-lib.README: -------------------------------------------------------------------------------- 1 | ------------------ 2 | lh-vim-lib 2.2.1 3 | ------------------ 4 | 5 | lh-vim-lib is a library plugin for vim v7+. It is just a collection of 6 | functions that are meant to be used by script writers. 7 | 8 | Audience : Vim script writers 9 | Requirements : Vim 7.1 10 | Required by : Just a few other plugins for the moment 11 | Author : Luc Hermitte 12 | License : GPL2 13 | More Help At : http://code.google.com/p/lh-vim/wiki/lhVimLib 14 | Vim script#214: http://www.vim.org/scripts/script.php?script_id=214 15 | Repository : 16 | svn checkout http://lh-vim.googlecode.com/svn/vim-lib/trunk lh-vim-lib 17 | 18 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: http://rubygems.org/ 3 | specs: 4 | coderay (1.0.5) 5 | diff-lcs (1.1.3) 6 | method_source (0.7.0) 7 | pry (0.9.8.2) 8 | coderay (~> 1.0.5) 9 | method_source (~> 0.7) 10 | slop (>= 2.4.4, < 3) 11 | rake (0.9.2.2) 12 | rspec (2.10.0) 13 | rspec-core (~> 2.10.0) 14 | rspec-expectations (~> 2.10.0) 15 | rspec-mocks (~> 2.10.0) 16 | rspec-core (2.10.1) 17 | rspec-expectations (2.10.0) 18 | diff-lcs (~> 1.1.3) 19 | rspec-mocks (2.10.1) 20 | slop (2.4.4) 21 | vimrunner (0.3.0) 22 | 23 | PLATFORMS 24 | ruby 25 | 26 | DEPENDENCIES 27 | pry 28 | rake 29 | rspec 30 | vimrunner (= 0.3.0) 31 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/coffee/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#coffee#SplitTernaryClause', 4 | \ 'sj#coffee#SplitTripleString', 5 | \ 'sj#coffee#SplitString', 6 | \ 'sj#coffee#SplitFunction', 7 | \ 'sj#coffee#SplitIfClause', 8 | \ 'sj#coffee#SplitObjectLiteral', 9 | \ ] 10 | endif 11 | 12 | if !exists('b:splitjoin_join_callbacks') 13 | let b:splitjoin_join_callbacks = [ 14 | \ 'sj#coffee#JoinString', 15 | \ 'sj#coffee#JoinFunction', 16 | \ 'sj#coffee#JoinIfElseClause', 17 | \ 'sj#coffee#JoinIfClause', 18 | \ 'sj#coffee#JoinObjectLiteral', 19 | \ ] 20 | endif 21 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/README.markdown: -------------------------------------------------------------------------------- 1 | ## Testing vim-gitgutter 2 | 3 | ### Run the tests 4 | 5 | ```sh 6 | $ cd test 7 | $ ./test 8 | ``` 9 | 10 | ### Add a new test 11 | 12 | - Add a test file named like `testFoo.vim`. It should have this structure: 13 | 14 | ```viml 15 | source helper.vim 16 | call Setup() 17 | 18 | " test code here 19 | ``` 20 | 21 | - Run the tests. 22 | - Inspect output (in `foo.actual`) from the new test. If good, copy it to `foo.expected`. 23 | - Run the tests to ensure new test's output is verified. 24 | - Commit changes. 25 | 26 | ### Limitations 27 | 28 | - Currently tests are done by writing out a file and comparing it to a known good one. 29 | - There's no support for assertions within the testcase code. 30 | 31 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Multi.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | function! s:_as_list(value) 7 | return type(a:value) == type([]) ? a:value : [a:value] 8 | endfunction 9 | 10 | let s:obj = {} 11 | 12 | function! s:obj.get() 13 | return map(copy(self.__holders), "v:val.get()") 14 | endfunction 15 | 16 | 17 | function! s:obj.set(values) 18 | call map(copy(self.__holders), "v:val.set(a:values[v:key])") 19 | return self 20 | endfunction 21 | 22 | 23 | function! s:make(holders) 24 | let result = deepcopy(s:obj) 25 | let result.__holders = s:_as_list(a:holders) 26 | return result 27 | endfunction 28 | 29 | 30 | 31 | 32 | 33 | let &cpo = s:save_cpo 34 | unlet s:save_cpo 35 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.less: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #4B7399; 3 | font-family: Verdana, Helvetica, Arial; 4 | font-size: 14px; 5 | } 6 | 7 | body { 8 | font-family: Verdana, Helvetica, Arial; 9 | background-color: #4B7399; 10 | font-size: 14px; 11 | } 12 | 13 | a { color: #0000FF; text-decoration: underline } 14 | a { color: #0000FF; text-decoration: underline; } 15 | 16 | h1, 17 | h2, 18 | h3 { 19 | font-size: 18px; 20 | font-weight: bold 21 | } 22 | 23 | h1, 24 | h2, 25 | h3 26 | { 27 | font-size: 18px; 28 | font-weight: bold 29 | } 30 | a { 31 | color: #0000FF; 32 | } /* comment */ 33 | 34 | a { color: #0000FF; } 35 | 36 | body { 37 | #content { 38 | background-color: white; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/examples/test.scss: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #4B7399; 3 | font-family: Verdana, Helvetica, Arial; 4 | font-size: 14px; 5 | } 6 | 7 | body { 8 | font-family: Verdana, Helvetica, Arial; 9 | background-color: #4B7399; 10 | font-size: 14px; 11 | } 12 | 13 | a { color: #0000FF; text-decoration: underline } 14 | a { color: #0000FF; text-decoration: underline; } 15 | 16 | h1, 17 | h2, 18 | h3 { 19 | font-size: 18px; 20 | font-weight: bold 21 | } 22 | 23 | h1, 24 | h2, 25 | h3 26 | { 27 | font-size: 18px; 28 | font-weight: bold 29 | } 30 | a { 31 | color: #0000FF; 32 | } /* comment */ 33 | 34 | a { color: #0000FF; } 35 | 36 | body { 37 | #content { 38 | background-color: white; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /.emacs: -------------------------------------------------------------------------------- 1 | (require 'package) 2 | (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) 3 | (package-initialize) 4 | 5 | (setq inferior-lisp-program "/usr/local/bin/sbcl") 6 | (custom-set-variables 7 | ;; custom-set-variables was added by Custom. 8 | ;; If you edit it by hand, you could mess it up, so be careful. 9 | ;; Your init file should contain only one such instance. 10 | ;; If there is more than one, they won't work right. 11 | '(package-selected-packages '(slime))) 12 | (custom-set-faces 13 | ;; custom-set-faces was added by Custom. 14 | ;; If you edit it by hand, you could mess it up, so be careful. 15 | ;; Your init file should contain only one such instance. 16 | ;; If there is more than one, they won't work right. 17 | ) 18 | -------------------------------------------------------------------------------- /hg-prompt/docs/wiki/index.mdown: -------------------------------------------------------------------------------- 1 | hg-prompt 2 | ========= 3 | 4 | `hg-prompt` is a Mercurial extension that adds an 'hg prompt' command to 5 | Mercurial for viewing repository information. It's designed to be used in a 6 | shell prompt. 7 | 8 | [Installation][] 9 | ---------------- 10 | 11 | [Quick Start][] 12 | --------------- 13 | 14 | [Full Documentation][] 15 | ---------------------- 16 | 17 | [Code][] 18 | -------- 19 | 20 | [Installation]: /installation/ 21 | [Quick Start]: /quickstart/ 22 | [Full Documentation]: /documentation/ 23 | [Code]: http://bitbucket.org/sjl 24 | 25 | Screenshot 26 | ---------- 27 | 28 | ![My bash prompt while using hg-prompt.](http://stevelosh.com/media/images/projects/hg-prompt/prompt.png "My bash prompt while using hg-prompt.") 29 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/autoload/clickable/highlight.vim: -------------------------------------------------------------------------------- 1 | "============================================= 2 | " Plugin: Clickabble.vim 3 | " File: autoload/clickable/highlight.vim 4 | " Author: Rykka 5 | " Update: 2014-10-01 6 | "============================================= 7 | let s:cpo_save = &cpo 8 | set cpo-=C 9 | 10 | 11 | let s:hi = {} 12 | 13 | fun! s:hi.hi_link(to, ...) dict "{{{ 14 | " Vim command wrapper 15 | " hi! link from-group to-group 16 | let bang = get(a:000, 0 , '!') 17 | exe "hi".bang." link ". self.syn_group ." ".a:to 18 | endfun "}}} 19 | 20 | 21 | 22 | " Attach the syn/hi to link 23 | fun! clickable#highlight#init() 24 | return s:hi 25 | endfun 26 | 27 | 28 | let &cpo = s:cpo_save 29 | unlet s:cpo_save 30 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Exception.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:vname = expand(":h:h:t") 7 | let s:prefix = printf("vital-over(%s) Exception", s:vname) 8 | 9 | function! s:set_prefix(prefix) 10 | let s:prefix = a:prefix 11 | endfunction 12 | 13 | function! s:throw_cmd(exp, where) 14 | return 'throw ' . string(s:prefix . " : " . a:exp . " in " . a:where) 15 | endfunction 16 | 17 | 18 | function! s:throw(exp, where) 19 | execute s:throw_cmd(a:exp, a:where) 20 | endfunction 21 | 22 | 23 | function! s:error(text, where) 24 | echohl ErrorMsg 25 | echom s:prefix . " : " . a:text . " in " . a:where 26 | echohl None 27 | endfunction 28 | 29 | 30 | let &cpo = s:save_cpo 31 | unlet s:save_cpo 32 | -------------------------------------------------------------------------------- /.vim/bundle/anzu/README.md: -------------------------------------------------------------------------------- 1 | ## vim-anzu 2 | 3 | 現在の検索位置を画面に表示するためのプラグインです。 4 | 5 | ![test](https://f.cloud.github.com/assets/214488/999607/67346324-0a34-11e3-8264-158c8865d669.gif) 6 | ![anzu3](https://f.cloud.github.com/assets/214488/1506514/25dc147c-4930-11e3-9780-a81c8ae7e087.gif) 7 | 8 | 9 | #### Example 10 | 11 | ```vim 12 | " mapping 13 | nmap n (anzu-n-with-echo) 14 | nmap N (anzu-N-with-echo) 15 | nmap * (anzu-star-with-echo) 16 | nmap # (anzu-sharp-with-echo) 17 | 18 | " clear status 19 | nmap (anzu-clear-search-status) 20 | 21 | 22 | " statusline 23 | set statusline=%{anzu#search_status()} 24 | 25 | 26 | " if start anzu-mode key mapping 27 | " nmap n (anzu-mode-n) 28 | " nmap N (anzu-mode-N) 29 | ``` 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /.vim/bundle/stylus/readme.md: -------------------------------------------------------------------------------- 1 | # stylus.vim 2 | Syntax highlighting for [Stylus](http://learnboost.github.com/stylus/). 3 | 4 | CSS3/HTML5 bundled in and adapted from [css3.vim](http://www.vim.org/scripts/script.php?script_id=3042) by Hsiaoming Young 5 | 6 | ## Installation 7 | 8 | ### Manual install 9 | Unzip into your `.vim` directory 10 | 11 | ### Pathogen install 12 | 13 | Clone this repo into your `.vim/bundle` directory. For example: 14 | 15 | cd ~/.vim/bundle 16 | git clone git://github.com/wavded/vim-stylus.git 17 | 18 | ### Autocommand to set file type 19 | 20 | Add the following autocmd to your `~/.vimrc` 21 | 22 | autocmd BufNewFile,BufReadPost *.styl set filetype=stylus 23 | 24 | ## Creds 25 | This is based on the excellent work from Tim Pope on sass.vim. 26 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/autoload/sj/argparser/sh.vim: -------------------------------------------------------------------------------- 1 | function! sj#argparser#sh#Construct(start_index, end_index, line) 2 | let parser = sj#argparser#common#Construct(a:start_index, a:end_index, a:line) 3 | 4 | call extend(parser, { 5 | \ 'Process': function('sj#argparser#sh#Process'), 6 | \ }) 7 | 8 | return parser 9 | endfunction 10 | 11 | function! sj#argparser#sh#Process() dict 12 | while !self.Finished() 13 | if self.body[0] == ';' 14 | call self.PushArg() 15 | call self.Next() 16 | continue 17 | elseif self.body[0] =~ "[\"'\[(/]" 18 | call self.JumpPair("\"'[(/", "\"'])/") 19 | endif 20 | 21 | call self.PushChar() 22 | endwhile 23 | 24 | if len(self.current_arg) > 0 25 | call self.PushArg() 26 | endif 27 | endfunction 28 | -------------------------------------------------------------------------------- /.vim/bundle/gitgutter/test/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | # Execute the tests. 5 | for testcase in test*.vim; do 6 | vim -N -u NONE -S $testcase -c 'quit!' 7 | 8 | git reset HEAD fixture.txt > /dev/null 9 | git checkout fixture.txt 10 | done 11 | 12 | # Verify the results. 13 | count_ok=0 14 | count_fail=0 15 | 16 | for expected in *.expected; do 17 | name=${expected%.*} 18 | actual=$name.actual 19 | 20 | if diff $expected $actual; then 21 | count_ok=$((count_ok + 1)) 22 | echo "$name ok" 23 | rm $actual 24 | else 25 | count_fail=$((count_fail + 1)) 26 | echo "$name failed" 27 | fi 28 | done 29 | 30 | # Print results. 31 | echo 32 | echo "$((count_ok + count_fail)) tests" 33 | echo "$count_ok ok" 34 | echo "$count_fail failed" 35 | 36 | exit $count_fail 37 | 38 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/autoload/sj/argparser/js.vim: -------------------------------------------------------------------------------- 1 | function! sj#argparser#js#Construct(start_index, end_index, line) 2 | let parser = sj#argparser#common#Construct(a:start_index, a:end_index, a:line) 3 | 4 | call extend(parser, { 5 | \ 'Process': function('sj#argparser#js#Process'), 6 | \ }) 7 | 8 | return parser 9 | endfunction 10 | 11 | function! sj#argparser#js#Process() dict 12 | while !self.Finished() 13 | if self.body[0] == ',' 14 | call self.PushArg() 15 | call self.Next() 16 | continue 17 | elseif self.body[0] =~ "[\"'{\[(/]" 18 | call self.JumpPair("\"'{[(/", "\"'}])/") 19 | endif 20 | 21 | call self.PushChar() 22 | endwhile 23 | 24 | if len(self.current_arg) > 0 25 | call self.PushArg() 26 | endif 27 | endfunction 28 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Buffer/Undofile.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | let s:obj = {} 5 | 6 | 7 | function! s:obj.get() 8 | let file = get(a:, 1, tempname()) 9 | execute "wundo!" file 10 | return file 11 | endfunction 12 | 13 | 14 | function! s:obj.set(value) 15 | if filereadable(a:value) 16 | silent execute "rundo" a:value 17 | else 18 | throw "vital-unlocker Unlocker.Holder.Buffer.Undofile : No filereadable '" . a:value . "'." 19 | endif 20 | return self 21 | endfunction 22 | 23 | 24 | function! s:is_makeable(rhs) 25 | return filereadable(a:rhs) 26 | endfunction 27 | 28 | 29 | function! s:make() 30 | let result = deepcopy(s:obj) 31 | return result 32 | endfunction 33 | 34 | 35 | let &cpo = s:save_cpo 36 | unlet s:save_cpo 37 | -------------------------------------------------------------------------------- /socks-proxy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | PROXY_PORT=1808 3 | 4 | source ~/.bashrc 5 | 6 | disable_proxy() { 7 | blorf& 8 | networksetup -setsocksfirewallproxystate Wi-Fi off 9 | # networksetup -setsocksfirewallproxystate Ethernet off 10 | printf "\nSOCKS proxy disabled." 11 | } 12 | trap disable_proxy INT 13 | 14 | networksetup -setsocksfirewallproxy Wi-Fi 127.0.0.1 $PROXY_PORT 15 | # networksetup -setsocksfirewallproxy Ethernet 127.0.0.1 $PROXY_PORT 16 | networksetup -setsocksfirewallproxystate Wi-Fi on 17 | # networksetup -setsocksfirewallproxystate Ethernet on 18 | 19 | # Ethernet gives error: 'Unable to find item in network database" 20 | # Maybe because I'm testing this on wifi? 21 | echo "SOCKS proxy enabled (skipped Ethernet in ~/configs/proxy.sh)" 22 | 23 | echo "Tunneling..." 24 | ssh -ND $PROXY_PORT aray 25 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/LiteralInsert.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:module = { 7 | \ "name" : "LiteralInsert", 8 | \} 9 | 10 | function! s:module.on_char_pre(cmdline) 11 | if a:cmdline.is_input("\") 12 | \ || a:cmdline.is_input("\") 13 | let old_line = a:cmdline.getline() 14 | let old_pos = a:cmdline.getpos() 15 | call a:cmdline.insert('^') 16 | call a:cmdline.setpos(old_pos) 17 | call a:cmdline.draw() 18 | let char = a:cmdline.getchar() 19 | call a:cmdline.setline(old_line) 20 | call a:cmdline.setpos(old_pos) 21 | call a:cmdline.setchar(char) 22 | endif 23 | endfunction 24 | 25 | function! s:make() 26 | return deepcopy(s:module) 27 | endfunction 28 | 29 | let &cpo = s:save_cpo 30 | unlet s:save_cpo 31 | -------------------------------------------------------------------------------- /.vim/bundle/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 iskeyword+=- 16 | setlocal commentstring=//\ %s 17 | setlocal define=^\\s*\\%(@mixin\\\|=\\) 18 | setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','') 19 | setlocal omnifunc=csscomplete#CompleteCSS 20 | setlocal suffixesadd=.less 21 | setlocal comments=s1:/*,mb:*,ex:*/ 22 | 23 | let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\=' 24 | 25 | " vim:set sw=2: 26 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/perl/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#perl#SplitSuffixIfClause', 4 | \ 'sj#perl#SplitPrefixIfClause', 5 | \ 'sj#perl#SplitAndClause', 6 | \ 'sj#perl#SplitOrClause', 7 | \ 'sj#perl#SplitHash', 8 | \ 'sj#perl#SplitWordList', 9 | \ 'sj#perl#SplitSquareBracketedList', 10 | \ 'sj#perl#SplitRoundBracketedList', 11 | \ ] 12 | endif 13 | 14 | if !exists('b:splitjoin_join_callbacks') 15 | let b:splitjoin_join_callbacks = [ 16 | \ 'sj#perl#JoinIfClause', 17 | \ 'sj#perl#JoinHash', 18 | \ 'sj#perl#JoinWordList', 19 | \ 'sj#perl#JoinSquareBracketedList', 20 | \ 'sj#perl#JoinRoundBracketedList', 21 | \ ] 22 | endif 23 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Rocker/Multi.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | function! s:_as_list(value) 7 | return type(a:value) == type([]) ? a:value : [a:value] 8 | endfunction 9 | 10 | let s:obj = {} 11 | 12 | function! s:obj.lock() 13 | call map(copy(self.__rockers), "v:val.lock()") 14 | return self 15 | endfunction 16 | 17 | 18 | function! s:obj.unlock() 19 | call map(copy(self.__rockers), "v:val.unlock()") 20 | endfunction 21 | 22 | 23 | function! s:obj.relock() 24 | call map(copy(self.__rockers), "v:val.relock()") 25 | endfunction 26 | 27 | 28 | function! s:make(rockers) 29 | let result = deepcopy(s:obj) 30 | let result.__rockers = s:_as_list(a:rockers) 31 | return result 32 | endfunction 33 | 34 | 35 | let &cpo = s:save_cpo 36 | unlet s:save_cpo 37 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/AsyncUpdate.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | function! s:_vital_loaded(V) 6 | let s:V = a:V 7 | let s:Base = s:V.import("Over.Commandline.Base") 8 | endfunction 9 | 10 | 11 | let s:module = { 12 | \ "name" : "AsyncUpdate" 13 | \} 14 | 15 | function! s:module.on_enter(cmdline) 16 | function! a:cmdline.__update() 17 | call self.callevent("on_update") 18 | try 19 | if !getchar(1) 20 | return 21 | endif 22 | call self.__inputting() 23 | catch /^Vim:Interrupt$/ 24 | call self.__input("\") 25 | endtry 26 | 27 | call self.draw() 28 | endfunction 29 | endfunction 30 | 31 | 32 | function! s:make() 33 | return deepcopy(s:module) 34 | endfunction 35 | 36 | 37 | let &cpo = s:save_cpo 38 | unlet s:save_cpo 39 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Register.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:obj = {} 6 | 7 | function! s:obj.get() 8 | return getreg(self.__name) 9 | endfunction 10 | 11 | 12 | function! s:obj.set(value) 13 | if self.__option == "" 14 | call setreg(self.__name, a:value) 15 | else 16 | call setreg(self.__name, a:value, self.__option) 17 | endif 18 | return self 19 | endfunction 20 | 21 | 22 | function! s:is_makeable(expr) 23 | return type(a:expr) == type("") && a:expr =~# '^@.\+' 24 | endfunction 25 | 26 | 27 | function! s:make(expr, ...) 28 | let result = deepcopy(s:obj) 29 | let result.__name = (strlen(a:expr) == 1 ? a:expr : a:expr[1:]) 30 | let result.__option = get(a:, 1, "") 31 | return result 32 | endfunction 33 | 34 | 35 | let &cpo = s:save_cpo 36 | unlet s:save_cpo 37 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Powerline/Matches.vim: -------------------------------------------------------------------------------- 1 | let g:Powerline#Matches#matches = { 2 | \ 'command_t' : Pl#Match#Add('bufname("%")', 'GoToFile'), 3 | \ 'ft_help' : Pl#Match#Add('&ft' , 'help'), 4 | \ 'ft_man' : Pl#Match#Add('&ft' , 'man'), 5 | \ 'ft_qf' : Pl#Match#Add('&ft' , 'qf'), 6 | \ 'ft_vimpager' : Pl#Match#Add('&ft' , 'vimpager'), 7 | \ 'gundo_preview' : Pl#Match#Add('bufname("%")', '__Gundo_Preview__'), 8 | \ 'gundo_tree' : Pl#Match#Add('bufname("%")', '__Gundo__'), 9 | \ 'lustyexplorer' : Pl#Match#Add('bufname("%")', '\[LustyExplorer-Buffers\]'), 10 | \ 'minibufexplorer' : Pl#Match#Add('bufname("%")', '\-MiniBufExplorer\-'), 11 | \ 'tagbar' : Pl#Match#Add('&ft' , 'tagbar'), 12 | \ 'nerdtree' : Pl#Match#Add('&ft' , 'nerdtree'), 13 | \ } 14 | -------------------------------------------------------------------------------- /.tmux.conf: -------------------------------------------------------------------------------- 1 | # make tmux use C-a like screen 2 | set -g prefix C-a 3 | unbind C-b 4 | bind C-a send-prefix 5 | 6 | #unbind % # Remove default binding since we’re replacing 7 | bind | split-window -h 8 | bind - split-window -v 9 | 10 | # act like vim in copy mode and other places 11 | setw -g mode-keys vi 12 | bind h select-pane -L 13 | bind j select-pane -D 14 | bind k select-pane -U 15 | bind l select-pane -R 16 | bind-key -r C-h select-window -t :- 17 | bind-key -r C-l select-window -t :+ 18 | 19 | # set status bar colors 20 | set -g status-bg black 21 | set -g status-fg white 22 | set -g status-left '#[fg=green]#H' 23 | 24 | # highlight active window 25 | set-window-option -g window-status-current-bg blue 26 | 27 | # look good? 28 | set -g default-terminal "screen-256color" 29 | # Fig Tmux Integration: Enabled 30 | source-file ~/.fig/tmux 31 | # End of Fig Tmux Integration 32 | -------------------------------------------------------------------------------- /.vim/bundle/match-tag/README.mkd: -------------------------------------------------------------------------------- 1 | # Readme 2 | 3 | This plugin highlights the matching HTML tag when the cursor is 4 | positioned on a tag. It works in much the same way as the MatchParen 5 | plugin. 6 | 7 | It was inspired by this question . 8 | 9 | The latest 'release' is available on [vim.org](http://www.vim.org/scripts/script.php?script_id=3818). 10 | 11 | ## Other file types 12 | 13 | To get this to work for file types other than html that use a similar 14 | tag structure (e.g XML) you can do something similar to this. 15 | 16 | echo 'runtime! ftplugin/html.vim' > ~/.vim/ftplugin/xml.vim 17 | 18 | The xml.vim file demonstrated here is included with MatchTag. 19 | 20 | ## Screenshot 21 | 22 | Thanks to [ithaca.arpinum.org](http://ithaca.arpinum.org/) for this screenshot. 23 | 24 | ![Screenshot of MatchTag](http://www.gregsexton.org/images/matchtag/matchtag.jpg) 25 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/test/README.md: -------------------------------------------------------------------------------- 1 | # Automatic test setup 2 | You can use `make` (or `make test` from the top level directory) to run the 3 | tests. 4 | 5 | # Manual test setup instructions 6 | The plugins [runVimTests](http://www.vim.org/scripts/script.php?script_id=2565) 7 | and [VimTAP](http://www.vim.org/scripts/script.php?script_id=2213) are needed 8 | to run these tests. 9 | 10 | Besides the `_setup.vim` configuration file present in this repo you need to 11 | create a global one and place it in the same dir where the runVimTests 12 | executable is located. Assuming the executable is at '~/bin/runVimTests' this 13 | global configuration file should be '~/bin/runVimTestsSetup.vim' and should 14 | have something like the following lines inside of it: 15 | 16 | " Prepend tests repos to &rtp 17 | let &runtimepath = '/path/to/runVimTests_dir,' . &rtp 18 | let &runtimepath = '/path/to/vimTAP_dir,' . &rtp 19 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/README.markdown: -------------------------------------------------------------------------------- 1 | This is Gundo's test suite. In case you didn't know, unit testing vim plugins 2 | is a horrible experience. 3 | 4 | Gundo bundles Luc Hermitte's [UT][] framework to make the process less painful. 5 | 6 | [UT]: http://code.google.com/p/lh-vim/wiki/UT 7 | 8 | To run a test, `cd` into the `tests` directory and use: 9 | 10 | ./run-tests.sh [[some-test.vim] ...] 11 | 12 | The script will run the console vim command with its own vimrc and .vim 13 | directory, so none of your other plugins should interfere. The result of the 14 | tests will be shown in the quickfix window of this vim instance. 15 | 16 | The `q` key will be remapped to perform `:qa!` so you can close everything 17 | quickly if it all looks good. 18 | 19 | The `run-tests.sh` script is still a work in progress. I need to figure out 20 | a good way of collecting results. Suggestions and/or patches are very welcome. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | __ _ 3 | / _|_) 4 | _ __ __ _ _ _ ___ ___ _ __ | |_ _ __ _ ___ 5 | | `__/ _` | | | | / __/ _ \| `_ \| _| |/ _` / __| 6 | | | | (_| | |_| | | (_| (_) | | | | | | | (_| \__ \ 7 | |_| \__,_|\__, | \___\___/|_| |_|_| |_|\__, |___/ 8 | __/ | __/ | 9 | |___/ |___/ 10 | 11 | ![ray configs](https://raw.github.com/DelvarWorld/configs/master/screenshot.png) 12 | 13 | Usage: 14 | 15 | git clone git@github.com:DelvarWorld/configs.git 16 | chmod +x install.sh 17 | ./install.sh 18 | 19 | Running install.sh will symlink all the dotfiles to your home directory. No files 20 | will be overwritten, but symlinks will. The script will create a `.vim` folder if 21 | it doesn't exist and shove bundle in there. 22 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/ftplugin/ruby/splitjoin.vim: -------------------------------------------------------------------------------- 1 | if !exists('b:splitjoin_split_callbacks') 2 | let b:splitjoin_split_callbacks = [ 3 | \ 'sj#ruby#SplitIfClause', 4 | \ 'sj#ruby#SplitBlock', 5 | \ 'sj#ruby#SplitOptions', 6 | \ 'sj#ruby#SplitCachingConstruct', 7 | \ 'sj#ruby#SplitString', 8 | \ 'sj#ruby#SplitWhenThen', 9 | \ 'sj#ruby#SplitCase', 10 | \ 'sj#ruby#SplitTernaryClause', 11 | \ ] 12 | endif 13 | 14 | if !exists('b:splitjoin_join_callbacks') 15 | let b:splitjoin_join_callbacks = [ 16 | \ 'sj#ruby#JoinBlock', 17 | \ 'sj#ruby#JoinHash', 18 | \ 'sj#ruby#JoinIfClause', 19 | \ 'sj#ruby#JoinTernaryClause', 20 | \ 'sj#ruby#JoinCachingConstruct', 21 | \ 'sj#ruby#JoinContinuedMethodCall', 22 | \ 'sj#ruby#JoinHeredoc', 23 | \ 'sj#ruby#JoinWhenThen', 24 | \ 'sj#ruby#JoinCase', 25 | \ ] 26 | endif 27 | -------------------------------------------------------------------------------- /.gvimrc: -------------------------------------------------------------------------------- 1 | " ============================================================================= 2 | " ==== 3 | " ===== 4 | " ====== 5 | " Macvim Overrides: 6 | " ====== 7 | " ===== 8 | " ==== 9 | " === 10 | " ============================================================================= 11 | 12 | " See https://stackoverflow.com/a/13437393/743464 13 | " Spectacle shortcuts bind ctrl-command-left, etc, to move windows around. 14 | " MacVim by default maps these to commands in the tools menu. To override 15 | " those apparently they have to be in a .gvimrc, not your .vimrc 16 | 17 | macm Tools.List\ Errors:cl key= 18 | macm Tools.Next\ Error:cn key= 19 | macm Tools.Previous\ Error:cp key= 20 | macm Tools.Older\ List:cold key= 21 | macm Tools.Newer\ List:cnew key= 22 | 23 | " Fix for bug https://github.com/macvim-dev/macvim/issues/806#issuecomment-446551760 24 | macm Edit.Find.Use\ Selection\ for\ Find key= 25 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/NoInsert.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | let s:module = { 6 | \ "name" : "NoInsert", 7 | \ "chars" : [] 8 | \} 9 | 10 | 11 | function! s:module.is_no_insert(char) 12 | return index(self.chars, a:char) >= 0 13 | endfunction 14 | 15 | 16 | function! s:module.on_char_pre(cmdline) 17 | if self.is_no_insert(a:cmdline.char()) 18 | call a:cmdline.setchar("", 0) 19 | endif 20 | endfunction 21 | 22 | 23 | function! s:make(chars) 24 | let module = deepcopy(s:module) 25 | let module.chars = type(a:chars) == type([]) ? a:chars : [a:chars] 26 | return module 27 | endfunction 28 | 29 | 30 | function! s:make_special_chars() 31 | let module = s:make([]) 32 | function! module.is_no_insert(char) 33 | return char2nr(a:char) == 128 || char2nr(a:char) < 27 34 | endfunction 35 | return module 36 | endfunction 37 | 38 | 39 | let &cpo = s:save_cpo 40 | unlet s:save_cpo 41 | -------------------------------------------------------------------------------- /.vim/bundle/indent-anything/doc/tags: -------------------------------------------------------------------------------- 1 | IndentAnything IndentAnything.txt /*IndentAnything* 2 | b:blockCommentEndRE IndentAnything.txt /*b:blockCommentEndRE* 3 | b:blockCommentMiddleExtra IndentAnything.txt /*b:blockCommentMiddleExtra* 4 | b:blockCommentMiddleRE IndentAnything.txt /*b:blockCommentMiddleRE* 5 | b:blockCommentRE IndentAnything.txt /*b:blockCommentRE* 6 | b:blockCommentStartRE IndentAnything.txt /*b:blockCommentStartRE* 7 | b:commentRE IndentAnything.txt /*b:commentRE* 8 | b:contTraversesLineComments IndentAnything.txt /*b:contTraversesLineComments* 9 | b:defaultIndentExpr IndentAnything.txt /*b:defaultIndentExpr* 10 | b:doubleQuoteStringRE IndentAnything.txt /*b:doubleQuoteStringRE* 11 | b:indentTrios IndentAnything.txt /*b:indentTrios* 12 | b:lineCommentRE IndentAnything.txt /*b:lineCommentRE* 13 | b:lineContList IndentAnything.txt /*b:lineContList* 14 | b:singleQuoteStringRE IndentAnything.txt /*b:singleQuoteStringRE* 15 | b:stringRE IndentAnything.txt /*b:stringRE* 16 | -------------------------------------------------------------------------------- /.vim/bundle/less/after/syntax/html.vim: -------------------------------------------------------------------------------- 1 | if !exists("g:less_html_style_tags") 2 | let g:less_html_style_tags = 1 3 | endif 4 | 5 | if !g:less_html_style_tags 6 | finish 7 | endif 8 | 9 | " Unset (but preserve) so that less will run. 10 | if exists("b:current_syntax") 11 | let s:pre_less_cur_syn = b:current_syntax 12 | unlet b:current_syntax 13 | endif 14 | 15 | " Inspired by code from github.com/kchmck/vim-coffee-script 16 | " and the html syntax file included with vim 7.4. 17 | 18 | syn include @htmlLess syntax/less.vim 19 | 20 | " We have to explicitly add to htmlHead (containedin) as that region specifies 'contains'. 21 | syn region lessStyle start=++ contains=@htmlLess,htmlTag,htmlEndTag,htmlCssStyleComment,@htmlPreproc containedin=htmlHead 22 | 23 | " Reset since 'less' isn't really the current_syntax. 24 | if exists("s:pre_less_cur_syn") 25 | let b:current_syntax = s:pre_less_cur_syn 26 | endif 27 | -------------------------------------------------------------------------------- /hg-prompt/docs/static/media/css/reset.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2009, Yahoo! Inc. All rights reserved. 3 | Code licensed under the BSD License: 4 | http://developer.yahoo.net/yui/license.txt 5 | version: 2.7.0 6 | */ 7 | html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;} -------------------------------------------------------------------------------- /.vim/bundle/match-tag/test.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |
6 |
7 | 8 |
9 |
10 |
11 | 12 |
13 |
14 |
15 | 16 |
17 |
18 | 19 |
20 |
21 | 22 |
23 |
24 |
25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
36 | 37 |
38 | 39 | 40 | 41 |

test offscreen

42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 |
79 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/autoload/clickable/type.vim: -------------------------------------------------------------------------------- 1 | "============================================= 2 | " Plugin: Clickabble.vim 3 | " File: autoload/clickable/class.vim 4 | " Author: Rykka 5 | " Update: 2014-10-01 6 | "============================================= 7 | let s:cpo_save = &cpo 8 | set cpo-=C 9 | 10 | 11 | fun! clickable#type#init() "{{{ 12 | if !exists("s:__TYPE") 13 | let s:__TYPE = {} 14 | let [ 15 | \ s:__TYPE.NUMBER, 16 | \ s:__TYPE.STRING, 17 | \ s:__TYPE.FUNCREF, 18 | \ s:__TYPE.LIST, 19 | \ s:__TYPE.DICT, 20 | \ s:__TYPE.FLOAT] = [ 21 | \ type(3), 22 | \ type(""), 23 | \ type(function('tr')), 24 | \ type([]), 25 | \ type({}), 26 | \ has('float') ? type(str2float('0')) : -1] 27 | endif 28 | 29 | return s:__TYPE 30 | 31 | endfun "}}} 32 | 33 | let &cpo = s:cpo_save 34 | unlet s:cpo_save 35 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/autoload/sj/vim.vim: -------------------------------------------------------------------------------- 1 | function! sj#vim#Split() 2 | if sj#BlankString(getline('.')) 3 | return 0 4 | endif 5 | 6 | let new_line = sj#GetMotion('vg_') 7 | 8 | if sj#BlankString(new_line) 9 | return 0 10 | else 11 | let new_line = "\n\\ ".sj#Trim(new_line) 12 | call sj#ReplaceMotion('vg_', new_line) 13 | s/\s\+$//e 14 | 15 | return 1 16 | endif 17 | endfunction 18 | 19 | function! sj#vim#Join() 20 | let continuation_pattern = '^\s*\\' 21 | let current_lineno = line('.') 22 | let next_lineno = current_lineno + 1 23 | let next_line = getline(next_lineno) 24 | 25 | if next_lineno > line('$') || next_line !~ continuation_pattern 26 | return 0 27 | else 28 | exe next_lineno.'s/'.continuation_pattern.'//' 29 | exe current_lineno.','.next_lineno.'join' 30 | 31 | if g:splitjoin_normalize_whitespace 32 | call sj#CompressWhitespaceOnLine() 33 | endif 34 | 35 | return 1 36 | endif 37 | endfunction 38 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/bundled/ut/mkVba/mk-UT.vim: -------------------------------------------------------------------------------- 1 | "============================================================================= 2 | " $Id: mk-UT.vim 194 2010-05-17 23:26:14Z luc.hermitte $ 3 | " File: mk-UT.vim 4 | " Author: Luc Hermitte 5 | " 6 | " Version: 0.0.3 7 | let s:version = '0.0.3' 8 | " Created: 19th Feb 2009 9 | " Last Update: $Date: 2010-05-17 19:26:14 -0400 (Mon, 17 May 2010) $ 10 | "------------------------------------------------------------------------ 11 | cd :p:h 12 | try 13 | let save_rtp = &rtp 14 | let &rtp = expand(':p:h:h').','.&rtp 15 | exe '22,$MkVimball! UT-'.s:version 16 | set modifiable 17 | set buftype= 18 | finally 19 | let &rtp = save_rtp 20 | endtry 21 | finish 22 | UT.README 23 | autoload/lh/UT.vim 24 | autoload/should.vim 25 | autoload/should/be.vim 26 | doc/UT.txt 27 | ftplugin/vim/vim_UT.vim 28 | mkVba/mk-UT.vim 29 | plugin/UT.vim 30 | tests/lh/UT-fixtures.vim 31 | tests/lh/UT.vim 32 | tests/lh/assert.vim 33 | -------------------------------------------------------------------------------- /.bash_config_work: -------------------------------------------------------------------------------- 1 | export PATH=/usr/local/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/DelvarWorld/android-sdk-platform/tools:/usr/local/share/npm/bin:$HOME/.rvm/bin:./node_modules/.bin:$PATH 2 | export MAVEN_OPTS="-Xmx512m" 3 | export GIT_EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim -f -g ' 4 | 5 | export NODE_PATH=/usr/local/lib/node_modules:/usr/local/lib/jsctags:$NODE_PATH 6 | 7 | # bitbucket setup 8 | export WORKON_HOME="$HOME/Documents/Envs" 9 | export PIP_RESPECT_VIRTUALENV=true \ 10 | PIP_VIRTUALENV_BASE="$WORKON_HOME" \ 11 | VIRTUALENV_USE_DISTRIBUTE=1 12 | [[ -n "$(command -v virtualenvwrapper.sh)" ]] && source virtualenvwrapper.sh 13 | 14 | source ~/perl5/perlbrew/etc/bashrc 15 | 16 | # See http://stackoverflow.com/questions/791765/unable-to-forward-search-bash-history-similarly-as-with-ctrl-r to make ctrl-s work forward 17 | stty -ixon 18 | 19 | source ~/.aws 20 | 21 | # Force utf8 for things like ruby 22 | export LANG=en_US.UTF-8 23 | 24 | # I don't think anything sets this? But just being sure 25 | unset LC_ALL 26 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Pl/Match.vim: -------------------------------------------------------------------------------- 1 | function! Pl#Match#Add(pat, expr) " {{{ 2 | return [a:pat, a:expr] 3 | endfunction " }}} 4 | function! Pl#Match#Any(...) " {{{ 5 | let matches = [] 6 | 7 | for match_name in a:000 8 | if empty(match_name) 9 | " Skip empty match parameters 10 | continue 11 | endif 12 | 13 | if has_key(g:Powerline#Matches#matches, match_name) 14 | call add(matches, g:Powerline#Matches#matches[match_name]) 15 | endif 16 | 17 | unlet! match_name 18 | endfor 19 | 20 | return ['match', 'any', matches] 21 | endfunction " }}} 22 | function! Pl#Match#Validate(theme) " {{{ 23 | let match = a:theme.matches[1] 24 | 25 | if match == 'none' 26 | return 0 27 | elseif match == 'any' 28 | let matches = a:theme.matches[2] 29 | 30 | if ! len(matches) 31 | " Empty match array matches everything 32 | return 1 33 | endif 34 | 35 | for [eval, re] in matches 36 | if match(eval(eval), '\v'. re) != -1 37 | return 1 38 | endif 39 | endfor 40 | 41 | return 0 42 | endif 43 | endfunction " }}} 44 | -------------------------------------------------------------------------------- /.vim/bundle/qlist/doc/tags: -------------------------------------------------------------------------------- 1 | :Dlist qlist.txt /*:Dlist* 2 | :Ilist qlist.txt /*:Ilist* 3 | QlistDefinefromhere qlist.txt /*QlistDefinefromhere* 4 | QlistDefinefromherevisual qlist.txt /*QlistDefinefromherevisual* 5 | QlistDefinefromtop qlist.txt /*QlistDefinefromtop* 6 | QlistDefinefromtopvisual qlist.txt /*QlistDefinefromtopvisual* 7 | QlistIncludefromhere qlist.txt /*QlistIncludefromhere* 8 | QlistIncludefromherevisual qlist.txt /*QlistIncludefromherevisual* 9 | QlistIncludefromtop qlist.txt /*QlistIncludefromtop* 10 | QlistIncludefromtopvisual qlist.txt /*QlistIncludefromtopvisual* 11 | qlist qlist.txt /*qlist* 12 | qlist-acknowledgements qlist.txt /*qlist-acknowledgements* 13 | qlist-configuration qlist.txt /*qlist-configuration* 14 | qlist-done qlist.txt /*qlist-done* 15 | qlist-installation qlist.txt /*qlist-installation* 16 | qlist-intro qlist.txt /*qlist-intro* 17 | qlist-todo qlist.txt /*qlist-todo* 18 | qlist-tricks qlist.txt /*qlist-tricks* 19 | qlist-usage qlist.txt /*qlist-usage* 20 | qlist.txt qlist.txt /*qlist.txt* 21 | vim-qlist qlist.txt /*vim-qlist* 22 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/autoload/sj/html.vim: -------------------------------------------------------------------------------- 1 | function! sj#html#SplitTags() 2 | let line = getline('.') 3 | let tag_regex = '\(<.\{-}>\)\(.*\)\(<\/.\{-}>\)' 4 | 5 | if line =~ tag_regex 6 | let body = sj#GetMotion('Vat') 7 | call sj#ReplaceMotion('Vat', substitute(body, tag_regex, '\1\n\2\n\3', '')) 8 | return 1 9 | else 10 | return 0 11 | endif 12 | endfunction 13 | 14 | " Needs to be called with the cursor on a starting or ending tag to work. 15 | function! sj#html#JoinTags() 16 | if searchpair('<', '', '>', 'cb', '', line('.')) <= 0 17 | \ && searchpair('<', '', '>', 'c', '', line('.')) <= 0 18 | " then we're pretty sure there's no tag under the cursor 19 | return 0 20 | endif 21 | 22 | let body = sj#GetMotion('vit') 23 | 24 | if line("'<") == line("'>") 25 | " then it's just one line, ignore 26 | return 0 27 | endif 28 | 29 | let body = sj#Trim(body) 30 | let body = join(sj#TrimList(split(body, "\n")), ' ') 31 | 32 | call sj#ReplaceMotion('vit', body) 33 | 34 | return 1 35 | endfunction 36 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-comment/doc/tags: -------------------------------------------------------------------------------- 1 | :TextobjCommentDefaultKeyMappings textobj-comment.txt /*:TextobjCommentDefaultKeyMappings* 2 | (textobj-comment-a) textobj-comment.txt /*(textobj-comment-a)* 3 | (textobj-comment-i) textobj-comment.txt /*(textobj-comment-i)* 4 | g:textobj_comment_no_default_key_mappings textobj-comment.txt /*g:textobj_comment_no_default_key_mappings* 5 | textobj-comment textobj-comment.txt /*textobj-comment* 6 | textobj-comment-bugs textobj-comment.txt /*textobj-comment-bugs* 7 | textobj-comment-changelog textobj-comment.txt /*textobj-comment-changelog* 8 | textobj-comment-contents textobj-comment.txt /*textobj-comment-contents* 9 | textobj-comment-customizing textobj-comment.txt /*textobj-comment-customizing* 10 | textobj-comment-interface textobj-comment.txt /*textobj-comment-interface* 11 | textobj-comment-introduction textobj-comment.txt /*textobj-comment-introduction* 12 | textobj-comment-key-mappings textobj-comment.txt /*textobj-comment-key-mappings* 13 | textobj-comment.txt textobj-comment.txt /*textobj-comment.txt* 14 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/autoload/sj/eruby.vim: -------------------------------------------------------------------------------- 1 | function! sj#eruby#SplitIfClause() 2 | let line = getline('.') 3 | let pattern = '\v\<\%(.*\S.*) (if|unless) (.*)\s*\%\>' 4 | 5 | if line =~ pattern 6 | let body = substitute(line, pattern, '<% \2 \3%>\n<%\1 %>\n<% end %>', '') 7 | call sj#ReplaceMotion('V', body) 8 | 9 | return 1 10 | end 11 | 12 | return 0 13 | endfunction 14 | 15 | function! sj#eruby#JoinIfClause() 16 | let line = getline('.') 17 | let pattern = '\v^\s*\<\%\s*(if|unless)' 18 | 19 | if line =~ pattern 20 | normal! jj 21 | 22 | if getline('.') =~ 'end' 23 | let body = sj#GetMotion('Vkk') 24 | 25 | let [if_line, body, end_line] = split(body, '\n') 26 | 27 | let if_line = sj#ExtractRx(if_line, '<%\s*\(.\{-}\)\s*%>', '\1') 28 | let body = sj#ExtractRx(body, '\(<%=\?\s*.\{-}\)\s*%>', '\1') 29 | 30 | let replacement = body.' '.if_line.' %>' 31 | 32 | call sj#ReplaceMotion('gv', replacement) 33 | 34 | return 1 35 | endif 36 | endif 37 | 38 | return 0 39 | endfunction 40 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/Scroll.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:module = { 7 | \ "name" : "Scroll" 8 | \} 9 | function! s:module.on_char_pre(cmdline) 10 | if a:cmdline.is_input("(scroll-y)") 11 | execute "normal! \" 12 | call a:cmdline.setchar('') 13 | elseif a:cmdline.is_input("(scroll-u)") 14 | execute "normal! \" 15 | call a:cmdline.setchar('') 16 | elseif a:cmdline.is_input("(scroll-f)") 17 | execute "normal! \" 18 | call a:cmdline.setchar('') 19 | elseif a:cmdline.is_input("(scroll-e)") 20 | execute "normal! \" 21 | call a:cmdline.setchar('') 22 | elseif a:cmdline.is_input("(scroll-d)") 23 | execute "normal! \" 24 | call a:cmdline.setchar('') 25 | elseif a:cmdline.is_input("(scroll-b)") 26 | execute "normal! \" 27 | call a:cmdline.setchar('') 28 | endif 29 | endfunction 30 | 31 | 32 | function! s:make() 33 | return deepcopy(s:module) 34 | endfunction 35 | 36 | let &cpo = s:save_cpo 37 | unlet s:save_cpo 38 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Rocker/HolderBase.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:locker = {} 7 | function! s:locker.lock() 8 | let self.__old = self.get() 9 | return self 10 | endfunction 11 | 12 | 13 | function! s:locker.unlock() 14 | if !has_key(self, "__old") 15 | return -1 16 | endif 17 | call self.set(self.__old) 18 | unlet self.__old 19 | endfunction 20 | 21 | 22 | function! s:locker.relock() 23 | call self.unlock() 24 | call self.lock() 25 | endfunction 26 | 27 | 28 | function! s:has_concept(obj) 29 | return type(a:obj) == type({}) 30 | \ && type(get(a:obj, "get", "")) == type(function("tr")) 31 | \ && type(get(a:obj, "set", "")) == type(function("tr")) 32 | endfunction 33 | 34 | 35 | function! s:make(derived) 36 | if !s:has_concept(a:derived) 37 | throw "vital-unlocker Unlocker.Rocker.HolderBase.make() : Don't has locker concept." 38 | endif 39 | let result = extend(deepcopy(s:locker), a:derived) 40 | return result 41 | endfunction 42 | 43 | 44 | 45 | let &cpo = s:save_cpo 46 | unlet s:save_cpo 47 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/autoload/clickable/class/link.vim: -------------------------------------------------------------------------------- 1 | "============================================= 2 | " Plugin: link.vim 3 | " File: link.vim 4 | " Author: Rykka 5 | " Update: 2014-10-22 6 | "============================================= 7 | let s:cpo_save = &cpo 8 | set cpo-=C 9 | 10 | fun! clickable#class#link#init() "{{{ 11 | if !exists("s:Link") 12 | " if 1 13 | let Class = clickable#class#init() 14 | let Syntax = clickable#class#syntax#init() 15 | let Link = Class('Link', Syntax) 16 | let Link.name = 'link' 17 | let Link.browser = clickable#get_opt('browser') 18 | function! Link.trigger(...) dict "{{{ 19 | let url = self._hl.obj.str 20 | let browser = self.browser 21 | let url = url =~? '\v^%(https=|file|ftp|fap|gopher|mailto|news):' ? url : 'http://'. url 22 | call clickable#util#browse(url, browser) 23 | endfunction "}}} 24 | let s:Link = Link 25 | endif 26 | return s:Link 27 | endfun "}}} 28 | 29 | let &cpo = s:cpo_save 30 | unlet s:cpo_save 31 | -------------------------------------------------------------------------------- /.vim/bundle/textobj-entire/doc/tags: -------------------------------------------------------------------------------- 1 | :TextobjEntireDefaultKeyMappings textobj-entire.txt /*:TextobjEntireDefaultKeyMappings* 2 | (textobj-entire-a) textobj-entire.txt /*(textobj-entire-a)* 3 | (textobj-entire-i) textobj-entire.txt /*(textobj-entire-i)* 4 | g:textobj_entire_no_default_key_mappings textobj-entire.txt /*g:textobj_entire_no_default_key_mappings* 5 | textobj-entire textobj-entire.txt /*textobj-entire* 6 | textobj-entire-bugs textobj-entire.txt /*textobj-entire-bugs* 7 | textobj-entire-changelog textobj-entire.txt /*textobj-entire-changelog* 8 | textobj-entire-changelog-0.0.2 textobj-entire.txt /*textobj-entire-changelog-0.0.2* 9 | textobj-entire-contents textobj-entire.txt /*textobj-entire-contents* 10 | textobj-entire-customizing textobj-entire.txt /*textobj-entire-customizing* 11 | textobj-entire-interface textobj-entire.txt /*textobj-entire-interface* 12 | textobj-entire-introduction textobj-entire.txt /*textobj-entire-introduction* 13 | textobj-entire-mappings textobj-entire.txt /*textobj-entire-mappings* 14 | textobj-entire.txt textobj-entire.txt /*textobj-entire.txt* 15 | -------------------------------------------------------------------------------- /.vim/bundle/clickable/after/plugin/clickable.vim: -------------------------------------------------------------------------------- 1 | 2 | " Loaded once 3 | " echom 'clickable init' 4 | call clickable#init() 5 | " if ( !exists('b:clickable_loaded') || b:clickable_loaded != 1 ) 6 | " if bufname('%') !~ clickable#get_opt('ignored_buf') 7 | " call clickable#init() 8 | " endif 9 | " let b:clickable_loaded = 1 10 | " endif 11 | 12 | " SYNTAX LOADING TEST 13 | " 14 | " fun! s:test() "{{{ 15 | " syn match _clickable_augo `gogogo` containedin=.* 16 | " hi link _clickable_augo MoreMsg 17 | " endfun "}}} 18 | " 19 | " fun! s:test_au(type) "{{{ 20 | " aug CLICKABLE_TEST 21 | " exe 'au '.a:type.' * call s:test()' 22 | " aug END 23 | " endfun "}}} 24 | " 25 | " NO 26 | " call s:test() 27 | " call s:test_au('FileType') 28 | " call s:test_au('Syntax') 29 | " call s:test_au('BufRead') 30 | " call s:test_au('BufNew') 31 | " call s:test_au('BufWinEnter') 32 | " call s:test_au('FileRead') 33 | 34 | " WORKS 35 | " call s:test_au('WinEnter') 36 | 37 | " WORKS BUT NEVER USE 38 | " call s:test_au('CursorMoved') 39 | 40 | " Can be used. 41 | " call s:test_au('BufEnter') 42 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Unlocker/Holder/Buffer/Text.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | let s:obj = {} 5 | 6 | 7 | 8 | function! s:_vital_loaded(V) 9 | let s:Buffer = a:V.import("Coaster.Buffer") 10 | endfunction 11 | 12 | 13 | function! s:_vital_depends() 14 | return [ 15 | \ "Coaster.Buffer", 16 | \ ] 17 | endfunction 18 | 19 | 20 | 21 | function! s:obj.get() 22 | return getbufline(self.__expr, self.__lnum, self.__end) 23 | endfunction 24 | 25 | 26 | function! s:obj.set(value) 27 | if bufnr(self.__expr) == bufnr("%") 28 | call setline(self.__lnum, a:value) 29 | else 30 | call s:Buffer.setbufline(self.__expr, self.__lnum, a:value) 31 | endif 32 | return self 33 | endfunction 34 | 35 | 36 | function! s:is_makeable(rhs) 37 | return bufexists(a:rhs) 38 | endfunction 39 | 40 | 41 | function! s:make(expr, ...) 42 | let result = deepcopy(s:obj) 43 | let result.__expr = a:expr 44 | let result.__lnum = get(a:, 1, 1) 45 | let result.__end = get(a:, 2, "$") 46 | return result 47 | endfunction 48 | 49 | 50 | let &cpo = s:save_cpo 51 | unlet s:save_cpo 52 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 36 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/extradite/README.markdown: -------------------------------------------------------------------------------- 1 | extradite.vim 2 | ============= 3 | A git commit browser / git log wrapper that extends fugitive.vim. 4 | 5 | `:Extradite` toggles the Extradite buffer, i.e. the commit browser. By 6 | default, it opens in the current window. Adding |!| makes it open in a vertical 7 | split instead. The width of the split is set with `g:extradite_width`. 8 | 9 | Note: `:Extradite` only runs if the current file is under git version control! 10 | 11 | Once we are in the Extradite buffer, the following keymaps are available: 12 | 13 | `` edits the revision on the current line in a fugitive-buffer. 14 | 15 | `oh`, `ov`, and `ot` edit the revision under the cursor in a new horizontal 16 | split / vertical split / tab respectively. 17 | 18 | `dh`, `dv`, and `dt` diff the current file against the revision under the 19 | cursor in a new horizontal split / vertical split / tab respectively. 20 | 21 | `t` toggles the visibility of the file diff buffer. 22 | 23 | `q` closes the Extradite buffer. 24 | 25 | This plugin can also be obtained from [vim.org][1]. 26 | 27 | [1]:http://www.vim.org/scripts/script.php?script_id=3509 28 | -------------------------------------------------------------------------------- /.vim/bundle/indent-anything/indent/IndentAnything_html.vim: -------------------------------------------------------------------------------- 1 | 2 | " Source the standard indentation file, since we only want to adjust the 3 | " default indentation. 4 | sou $VIMRUNTIME/indent/html.vim 5 | 6 | " Set the default indentation to be that of the standard indent file. 7 | let b:defaultIndentExpr = &indentexpr 8 | 9 | " Use IndentAnything 10 | setlocal indentexpr=IndentAnything() 11 | 12 | " Echo info about indentations 13 | let b:indent_anything_echo = 1 14 | 15 | " 16 | " Adjust the default indentation for comments. Set the comments for html to 17 | " look like this: 18 | " 19 | " 22 | " 23 | setl comments=sr: 24 | let b:blockCommentStartRE = '' 27 | let b:blockCommentMiddleExtra = 3 28 | 29 | " Specify the syntax names for html comments and strings 30 | let b:blockCommentRE = 'htmlComment' 31 | let b:commentRE = b:blockCommentRE 32 | 33 | let b:stringRE = 'htmlString' 34 | let b:singleQuoteStringRE = b:stringRE 35 | let b:doubleQuoteStringRE = b:stringRE 36 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/delimitMate/test/expand_space.vim: -------------------------------------------------------------------------------- 1 | let g:delimitMate_expand_space = 1 2 | "DelimitMateReload 3 | let lines = readfile(expand(':t:r').'.txt') 4 | call vimtest#StartTap() 5 | let testsnumber = len(filter(copy(lines), 'v:val =~ ''^=\{80}$''')) 6 | call vimtap#Plan(testsnumber) 7 | let tcount = 1 8 | let expect = 0 9 | let evaluate = 0 10 | for item in lines 11 | if item =~ '^=\{80}$' 12 | let expect = 1 13 | let expected = [] 14 | continue 15 | endif 16 | 17 | if item =~ '^#\|^\s*$' && expect == 0 18 | " A comment or empty line. 19 | continue 20 | endif 21 | if ! expect 22 | " A command. 23 | exec item 24 | call vimtap#Diag(item) 25 | continue 26 | endif 27 | if item =~ '^-\{80}$' 28 | let expect = 0 29 | endif 30 | if expect 31 | call add(expected, item) 32 | continue 33 | endif 34 | let lines = getline(1, line('$')) 35 | let passed = lines == expected 36 | echom string(lines) 37 | echom string(expected) 38 | call vimtap#Ok(passed, string(expected) . 39 | \ (passed ? ' =' : ' !') . '= ' . string(lines)) 40 | let tcount += 1 41 | endfor 42 | call vimtest#Quit() 43 | -------------------------------------------------------------------------------- /.vim/bundle/syntastic/syntax_checkers/arduino/avrgcc.vim: -------------------------------------------------------------------------------- 1 | "============================================================================ 2 | "File: avrgcc.vim 3 | "Description: Syntax checking plugin for syntastic.vim 4 | "Maintainer: Karel 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_arduino_avrgcc_checker') 14 | finish 15 | endif 16 | let g:loaded_syntastic_arduino_avrgcc_checker = 1 17 | 18 | runtime! syntax_checkers/c/*.vim 19 | 20 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 21 | \ 'filetype': 'arduino', 22 | \ 'name': 'avrgcc', 23 | \ 'exec': 'avr-gcc', 24 | \ 'redirect': 'c/avrgcc'}) 25 | 26 | " vim: set et sts=4 sw=4: 27 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 27 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 37 | -------------------------------------------------------------------------------- /.vim/bundle/vim-project/syntax/project.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | let s:sep = project#config#get_sep() 6 | 7 | execute 'syntax match ProjectTitle /\%9c\S\+/' 8 | syntax match ProjectSpecial /\V\|/ 9 | syntax match ProjectBracket /\[\|\]/ 10 | syntax match ProjectNumber /\v\[[eq[:digit:]]+\]/hs=s+1,he=e-1 contains=ProjectBracket 11 | syntax match ProjectFile /.*/ contains=ProjectBracket,ProjectNumber,ProjectTitle,ProjectPath,ProjectSpecial,ProjectUnit 12 | syntax match ProjectUnit /.:/ 13 | 14 | execute 'syntax match ProjectSlash /\'. s:sep .'/' 15 | execute 'syntax match ProjectPath /\'. s:sep . '.*\' . s:sep .'/ contains=ProjectSlash' 16 | 17 | highlight projectPath ctermfg=11 ctermbg=8 guifg=#586e75 18 | highlight link ProjectFile String 19 | highlight link ProjectBracket Normal 20 | highlight link ProjectNumber Directory 21 | highlight link ProjectPath projectPath 22 | highlight link ProjectUnit projectPath 23 | highlight link ProjectTitle Statement 24 | highlight link ProjectSpecial String 25 | 26 | 27 | let b:current_syntax = 'project' 28 | 29 | " vim: et sw=2 sts=2 30 | -------------------------------------------------------------------------------- /.vim/bundle/winresizer/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2011 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 all 13 | 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 THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-textobj-user/test/script-local.input: -------------------------------------------------------------------------------- 1 | call vspec#hint({'sid': 'textobj#user#_sid()'}) 2 | 3 | let s:counter = [0] 4 | function! s:increment() 5 | let s:counter[0] += 1 6 | return 0 7 | endfunction 8 | 9 | call textobj#user#plugin('dummy', { 10 | \ '-': { 11 | \ '*sfile*': expand(':p'), 12 | \ '*select-function*': 's:increment', 13 | \ 'select': ['ad', 'id'], 14 | \ }, 15 | \ }) 16 | 17 | function s:describe__textobj_user_plugin__sfile() "{{{1 18 | let counter = s:counter 19 | 20 | It should be able to call script-local function. 21 | 22 | Should counter[0] == 0 23 | 24 | execute 'normal' "vid\" 25 | Should counter[0] == 1 26 | 27 | execute 'normal' "vad\" 28 | Should counter[0] == 2 29 | endfunction 30 | 31 | 32 | 33 | 34 | function s:describe__s_normalize_path() "{{{1 35 | It should normalize a backslashed path into a forwardslashed path. 36 | 37 | Should Call('s:normalize_path', '/c/Users/who\vimfiles\plugin\textobj\foo.vim') 38 | \ ==# '/c/Users/who/vimfiles/plugin/textobj/foo.vim' 39 | endfunction 40 | 41 | 42 | 43 | 44 | " __END__ "{{{1 45 | " vim: filetype=vim foldmethod=marker 46 | -------------------------------------------------------------------------------- /hg-prompt/tests/test_branch.py: -------------------------------------------------------------------------------- 1 | '''Test output of {branch}.''' 2 | 3 | from nose import * 4 | from util import * 5 | 6 | 7 | @with_setup(setup_sandbox, teardown_sandbox) 8 | def test_default_branch(): 9 | output = prompt(fs='{branch}') 10 | assert output == 'default' 11 | 12 | output = prompt(fs='{on {branch}}') 13 | assert output == 'on default' 14 | 15 | 16 | @with_setup(setup_sandbox, teardown_sandbox) 17 | def test_non_default_branch(): 18 | hg_branch('test') 19 | 20 | output = prompt(fs='{branch}') 21 | assert output == 'test' 22 | 23 | output = prompt(fs='{on the {branch} branch}') 24 | assert output == 'on the test branch' 25 | 26 | 27 | @with_setup(setup_sandbox, teardown_sandbox) 28 | def test_quiet_filter(): 29 | output = prompt(fs='{branch|quiet}') 30 | assert output == '' 31 | 32 | output = prompt(fs='{on {branch|quiet}}') 33 | assert output == '' 34 | 35 | hg_branch('test') 36 | 37 | output = prompt(fs='{branch|quiet}') 38 | assert output == 'test' 39 | 40 | output = prompt(fs='{on the {branch|quiet} branch}') 41 | assert output == 'on the test branch' 42 | -------------------------------------------------------------------------------- /.vim/bundle/clam.vim/LICENSE.markdown: -------------------------------------------------------------------------------- 1 | Copyright (C) 2012 Steve Losh and contributors 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 of 7 | the Software, and to permit persons to whom the Software is furnished to do so, 8 | 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, FITNESS 15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.** 19 | 20 | -------------------------------------------------------------------------------- /.vim/bundle/over/README.md: -------------------------------------------------------------------------------- 1 | #over.vim 3.0 2 | 3 | ##Screencapture 4 | ###Preview in the command line window 5 | 6 | ![test](https://f.cloud.github.com/assets/214488/1461854/922bd38c-44d1-11e3-9ca4-eb3902be19f7.gif) 7 | 8 | 9 | ###Preview in the over command line 10 | 11 | ![test](https://f.cloud.github.com/assets/214488/1490845/da05d670-479d-11e3-93d6-e8b9214df405.gif) 12 | 13 | 14 | ###Buffer word complete in the over command line 15 | 16 | ![test](https://f.cloud.github.com/assets/214488/1584401/89e13068-520b-11e3-8acb-de8a58538dbb.gif) 17 | 18 | 19 | ##License 20 | 21 | [NYSL](http://www.kmonos.net/nysl/) 22 | 23 | [NYSL English](http://www.kmonos.net/nysl/index.en.html) 24 | 25 | ##Change log 26 | 27 | * 3.0 (2015/04/01) 28 | * Add digraph 29 | * Add `` 30 | * Import cmap/cnoremap setting 31 | * `` by regexp 32 | * Multi lhs by keymapping 33 | * Support `` keymapping 34 | * Refactoring 35 | 36 | * 2.0 37 | * Refactoring 38 | * Change cursor highlight 39 | * Add highlighting `:/` and `:%g/` 40 | * No input specital keys(e.g. ``, ``) 41 | 42 | ##Special Thanks 43 | 44 | * [@haya14busa](https://github.com/haya14busa) 45 | 46 | 47 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/glsl/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Sergey Tikhomirov 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 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 26 | -------------------------------------------------------------------------------- /.vim/bundle/vim-project/autoload/project.vim: -------------------------------------------------------------------------------- 1 | command! -nargs=+ Project 2 | \ call project#config#project() 3 | 4 | command! -nargs=+ File 5 | \ call project#config#title() 6 | 7 | command! -nargs=+ Callback 8 | \ call project#config#callback() 9 | 10 | command! -complete=file -nargs=+ ProjectPath 11 | \ call project#config#project_path() 12 | 13 | command! -nargs=0 -bar Welcome 14 | \ enew | call project#config#welcome() 15 | 16 | if has("gui_running") 17 | function! TabTitle() 18 | let title = expand("%:p:t") 19 | let t:title = exists("b:title") ? b:title : title 20 | endfunction 21 | 22 | 23 | if get(g:, 'project_disable_tab_title') != 1 24 | au VimEnter * set guitablabel=%-2.2N%{gettabvar(v:lnum,'title')} 25 | set title 26 | endif 27 | endif 28 | 29 | if get(g:, 'project_enable_welcome', 1) 30 | au VimEnter * 31 | \ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vim\%[\.exe]$') | 32 | \ call project#config#welcome() | 33 | \ endif 34 | endif 35 | 36 | function! project#rc(...) abort 37 | let g:project_dir = len(a:000) > 0 ? expand(a:1, 1) : expand('$HOME', 1) 38 | endfunction 39 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/IgnoreRegexpBackwardWord.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | " Improved backward word detection which ignore regular expression 6 | let s:module = { 7 | \ "name" : "IgnoreRegexpBackwardWord" 8 | \} 9 | 10 | function! s:backward_word(str, ...) 11 | let pat = get(a:, 1, '\k\+\s*\|.') 12 | let flags = s:non_escaped_backslash . 13 | \ '\%(' . 'z[se]' . 14 | \ '\|' . '[iIkKfFpPsSdDxXoOwWhHaAlLuUetrbncCZmMvV]' . 15 | \ '\|' . '%[dxouUCVlcv]' . 16 | \ '\|' . "%'[a-zA-Z]" . 17 | \ '\|' . '%#=\d' . 18 | \ '\|' . 'z\=\d' . 19 | \ '\)' 20 | return matchstr(get(split(a:str, flags . '\s*\zs'), -1, ""), 21 | \ '\%(' . flags . '\s*\|' . pat . '\)$') 22 | endfunction 23 | 24 | 25 | let s:non_escaped_backslash = '\m\%(\%(^\|[^\\]\)\%(\\\\\)*\)\@<=\\' 26 | 27 | function! s:module.on_enter(cmdline) 28 | function! a:cmdline.backward_word(...) 29 | return call("s:backward_word", [self.backward()] + a:000) 30 | endfunction 31 | endfunction 32 | 33 | function! s:make() 34 | return deepcopy(s:module) 35 | endfunction 36 | 37 | 38 | let &cpo = s:save_cpo 39 | unlet s:save_cpo 40 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 27 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 38 | -------------------------------------------------------------------------------- /.vim/bundle/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 | " See here for details of phpcs 14 | " - phpcs (see http://pear.php.net/package/PHP_CodeSniffer) 15 | " 16 | 17 | if exists("g:loaded_syntastic_css_phpcs_checker") 18 | finish 19 | endif 20 | let g:loaded_syntastic_css_phpcs_checker = 1 21 | 22 | runtime! syntax_checkers/php/*.vim 23 | 24 | call g:SyntasticRegistry.CreateAndRegisterChecker({ 25 | \ 'filetype': 'css', 26 | \ 'name': 'phpcs', 27 | \ 'redirect': 'php/phpcs'}) 28 | 29 | " vim: set et sts=4 sw=4: 30 | -------------------------------------------------------------------------------- /.zshrc: -------------------------------------------------------------------------------- 1 | # Lines configured by zsh-newuser-install 2 | HISTFILE=~/.histfile 3 | HISTSIZE=1000 4 | SAVEHIST=1000 5 | bindkey -e 6 | # End of lines configured by zsh-newuser-install 7 | # The following lines were added by compinstall 8 | zstyle :compinstall filename '/Users/andrewray/.zshrc' 9 | 10 | autoload -Uz compinit 11 | compinit 12 | # End of lines added by compinstall 13 | 14 | export NVM_DIR="$HOME/.nvm" 15 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 16 | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 17 | 18 | # This loads the Included Health shell augmentations into your interactive shell 19 | . "$HOME/.ih/augment.sh" 20 | 21 | 22 | 23 | # >>> conda initialize >>> 24 | # !! Contents within this block are managed by 'conda init' !! 25 | __conda_setup="$('/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" 26 | if [ $? -eq 0 ]; then 27 | eval "$__conda_setup" 28 | else 29 | if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then 30 | . "/opt/anaconda3/etc/profile.d/conda.sh" 31 | else 32 | export PATH="/opt/anaconda3/bin:$PATH" 33 | fi 34 | fi 35 | unset __conda_setup 36 | # <<< conda initialize <<< 37 | 38 | -------------------------------------------------------------------------------- /.vim/bundle/powerline/autoload/Pl/Mod.vim: -------------------------------------------------------------------------------- 1 | let s:segment_mods = [] 2 | 3 | function! Pl#Mod#AddSegmentMod(action, properties) " {{{ 4 | call add(s:segment_mods, [a:action, a:properties]) 5 | endfunction " }}} 6 | function! Pl#Mod#ApplySegmentMods(theme) " {{{ 7 | let theme = deepcopy(a:theme) 8 | 9 | for mod in s:segment_mods 10 | let [action, properties] = mod 11 | 12 | " We have to loop through the segments instead of using index() because some 13 | " segments are lists! 14 | let target_seg_idx = -1 15 | 16 | for i in range(0, len(theme) - 1) 17 | unlet! segment 18 | let segment = theme[i] 19 | 20 | if type(segment) == type(properties.target_segment) && segment == properties.target_segment 21 | let target_seg_idx = i 22 | break 23 | endif 24 | endfor 25 | 26 | if action == 'insert_segment' 27 | " Insert segment 28 | if target_seg_idx != -1 29 | call insert(theme, properties.new_segment, (properties.where == 'before' ? target_seg_idx : target_seg_idx + 1)) 30 | endif 31 | elseif action == 'remove_segment' 32 | " Remove segment 33 | if target_seg_idx != -1 34 | call remove(theme, target_seg_idx) 35 | endif 36 | endif 37 | endfor 38 | 39 | return theme 40 | endfunction " }}} 41 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/ExceptionMessage.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:vname = expand(":h:h:h:h:t") 7 | 8 | 9 | let s:module = { 10 | \ "name" : "ExceptionMessage", 11 | \} 12 | 13 | 14 | function! s:module.on_exception(cmdline) 15 | let self.exception = v:exception 16 | let self.throwpoint = v:throwpoint 17 | endfunction 18 | 19 | 20 | function! s:module.on_draw_pre(cmdline) 21 | if has_key(self, "exception") 22 | call self.message(a:cmdline) 23 | unlet self.exception 24 | endif 25 | endfunction 26 | 27 | function! s:module.message(...) 28 | echohl ErrorMsg 29 | execute self.command string(self.prefix . self.throwpoint . " " . self.exception) 30 | echohl None 31 | endfunction 32 | 33 | 34 | function! s:module.on_leave(cmdline) 35 | if has_key(self, "exception") 36 | call self.message(a:cmdline) 37 | unlet self.exception 38 | endif 39 | endfunction 40 | 41 | 42 | function! s:make(...) 43 | let result = deepcopy(s:module) 44 | let result.prefix = get(a:, 1, "vital-over(".s:vname."):") 45 | let result.command = get(a:, 2, "echom") 46 | return result 47 | endfunction 48 | 49 | 50 | let &cpo = s:save_cpo 51 | unlet s:save_cpo 52 | -------------------------------------------------------------------------------- /.vim/bundle/anzu/autoload/unite/sources/anzu.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | function! unite#sources#anzu#define() 6 | return s:source 7 | endfunction 8 | 9 | 10 | let s:source = { 11 | \ "name" : "anzu", 12 | \ 'syntax' : 'uniteSource__anzu', 13 | \ "hooks" : {}, 14 | \ "default_kind" : "jump_list", 15 | \ "sorters" : "sorter_nothing" 16 | \} 17 | 18 | 19 | function! s:source.hooks.on_syntax(args, context) 20 | let pattern = get(a:args, 0, @/) 21 | execute 22 | \ 'syntax match uniteSource__anzuSearch' 23 | \ . ' /' . pattern . '/' 24 | \ . ' contained containedin=uniteSource__anzu' 25 | highlight default link uniteSource__anzuSearch Search 26 | endfunction 27 | 28 | 29 | function! s:source.gather_candidates(args, context) 30 | let pattern = get(a:args, 0, @/) 31 | let bufnr = unite#get_current_unite().prev_bufnr 32 | let list = {} 33 | for item in anzu#searchpos(pattern, bufnr) 34 | let list[item[0]] = getbufline(bufnr, item[0])[0] 35 | endfor 36 | return map(items(list), '{ 37 | \ "word" : v:val[1], 38 | \ "action__line": v:val[0], 39 | \ "action__pattern": pattern, 40 | \ "action__buffer_nr": bufnr, 41 | \ }') 42 | endfunction 43 | 44 | 45 | let &cpo = s:save_cpo 46 | unlet s:save_cpo 47 | -------------------------------------------------------------------------------- /.vim/bundle/splitjoin.vim/spec/plugin/sh_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "sh" do 4 | let(:filename) { 'test.sh' } 5 | 6 | describe "splitjoining by semicolon" do 7 | specify "simple case" do 8 | set_file_contents <<-EOF 9 | echo "one"; echo "two" 10 | EOF 11 | 12 | split 13 | 14 | assert_file_contents <<-EOF 15 | echo "one" 16 | echo "two" 17 | EOF 18 | 19 | vim.search('one') 20 | join 21 | 22 | assert_file_contents <<-EOF 23 | echo "one"; echo "two" 24 | EOF 25 | end 26 | 27 | specify "skipping semicolons in strings" do 28 | set_file_contents <<-EOF 29 | echo "one;two"; echo "three" 30 | EOF 31 | 32 | split 33 | 34 | assert_file_contents <<-EOF 35 | echo "one;two" 36 | echo "three" 37 | EOF 38 | end 39 | 40 | specify "skipping semicolons in groups with braces" do 41 | set_file_contents <<-EOF 42 | echo "one"; (echo "two"; echo "three") &; echo "four" 43 | EOF 44 | 45 | split 46 | 47 | assert_file_contents <<-EOF 48 | echo "one" 49 | (echo "two"; echo "three") & 50 | echo "four" 51 | EOF 52 | end 53 | end 54 | end 55 | 56 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline/Modules/Delete.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | let s:module = { 7 | \ "name" : "Delete", 8 | \} 9 | function! s:module.on_char_pre(cmdline) 10 | if a:cmdline.is_input("\") 11 | \ || a:cmdline.is_input("\") 12 | if a:cmdline.line.length() == 0 13 | return a:cmdline.exit(1) 14 | else 15 | call a:cmdline.line.remove_prev() 16 | call a:cmdline.setchar('') 17 | endif 18 | elseif a:cmdline.is_input("\") 19 | call a:cmdline.line.remove_pos() 20 | call a:cmdline.setchar('') 21 | elseif a:cmdline.is_input("\") 22 | let word = a:cmdline.backward_word() 23 | let backward = a:cmdline.backward()[ : -strlen(word)-1 ] 24 | call a:cmdline.setline(backward . a:cmdline.line.pos_char() . a:cmdline.forward()) 25 | call a:cmdline.setline(strchars(backward)) 26 | call a:cmdline.setchar('') 27 | elseif a:cmdline.is_input("\") 28 | call a:cmdline.setline(a:cmdline.line.pos_char() . a:cmdline.forward()) 29 | call a:cmdline.setline(0) 30 | call a:cmdline.setchar('') 31 | endif 32 | endfunction 33 | 34 | 35 | function! s:make() 36 | return deepcopy(s:module) 37 | endfunction 38 | 39 | 40 | let &cpo = s:save_cpo 41 | unlet s:save_cpo 42 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/vital/_over/Over/Commandline.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | 6 | function! s:_vital_loaded(V) 7 | let s:V = a:V 8 | let s:Maker = s:V.import("Over.Commandline.Maker") 9 | let s:Modules = s:V.import("Over.Commandline.Modules") 10 | endfunction 11 | 12 | 13 | function! s:_vital_depends() 14 | return [ 15 | \ "Over.Commandline.Maker", 16 | \ "Over.Commandline.Modules", 17 | \ "Over.Commandline.Modules.All", 18 | \ ] 19 | endfunction 20 | 21 | 22 | function! s:make_module(...) 23 | return call(s:Modules.make, a:000, s:Modules) 24 | endfunction 25 | 26 | 27 | function! s:get_module(...) 28 | return call(s:Modules.get, a:000, s:Modules) 29 | endfunction 30 | 31 | 32 | function! s:make_default(...) 33 | return call(s:Maker.default, a:000, s:Maker) 34 | endfunction 35 | 36 | 37 | function! s:make_standard(...) 38 | return call(s:Maker.standard, a:000, s:Maker) 39 | endfunction 40 | 41 | 42 | function! s:make_standard_search(...) 43 | return call(s:Maker.standard_search, a:000, s:Maker) 44 | endfunction 45 | 46 | 47 | function! s:make_standard_search_back(...) 48 | return call(s:Maker.standard_search_back, a:000, s:Maker) 49 | endfunction 50 | 51 | let &cpo = s:save_cpo 52 | unlet s:save_cpo 53 | -------------------------------------------------------------------------------- /.vim/bundle/qlist/README.md: -------------------------------------------------------------------------------- 1 | # vim-qlist 2 | 3 | Vim-qlist is an updated, more powerful, version of the function discussed in [this /r/vim thread](http://www.reddit.com/r/vim/comments/1rzvsm/do_any_of_you_redirect_results_of_i_to_the/). 4 | 5 | The purpose of this script is to make the results of "include-search" and "definition-search" easier to navigate and more persistant by using the quickfix list instead of the default list-like interface. 6 | 7 | ![screenshot](http://romainl.github.io/vim-qlist/images/qlist.png) 8 | 9 | ## Installation 10 | 11 | Use your favorite plugin manager or dump the files in this repository in their 12 | standard location: 13 | 14 | on Unix-like systems... 15 | 16 | ~/.vim/doc/qlist.txt 17 | ~/.vim/plugin/qlist.vim 18 | 19 | on Windows... 20 | 21 | %userprofile%\vimfiles\doc\qlist.txt 22 | %userprofile%\vimfiles\plugin\qlist.vim 23 | 24 | Don't forget to execute the following command to make the documentation 25 | globally available: 26 | 27 | on Unix-like systems... 28 | 29 | :helptags ~/.vim/doc 30 | 31 | on Windows... 32 | 33 | :helptags %userprofile%\vimfiles\doc 34 | 35 | ## TODO 36 | 37 | * Add options? 38 | 39 | ## DONE 40 | 41 | * Add a gifcast to the `README`. (sort of) 42 | * Add proper documentation. 43 | -------------------------------------------------------------------------------- /.vim/bundle/vim-jsx/after/syntax/javascript.vim: -------------------------------------------------------------------------------- 1 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 | " Vim syntax file 3 | " 4 | " Language: JSX (JavaScript) 5 | " Maintainer: Max Wang 6 | " Depends: pangloss/vim-javascript 7 | " 8 | " CREDITS: Inspired by Facebook. 9 | " 10 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 11 | 12 | " Prologue; load in XML syntax. 13 | if exists('b:current_syntax') 14 | let s:current_syntax=b:current_syntax 15 | unlet b:current_syntax 16 | endif 17 | syn include @XMLSyntax syntax/xml.vim 18 | if exists('s:current_syntax') 19 | let b:current_syntax=s:current_syntax 20 | endif 21 | 22 | " Highlight JSX regions as XML; recursively match. 23 | syn region jsxRegion contains=@XMLSyntax,jsxRegion,jsBlock,jsStringD,jsStringS 24 | \ start=+<\z([a-zA-Z0-9:\-]\+\)+ 25 | \ skip=++ 26 | \ end=++ 27 | \ end=+/>+ 28 | \ keepend 29 | \ extend 30 | 31 | " JSX attributes should color as JS. Note the trivial end pattern; we let 32 | " jsBlock take care of ending the region. 33 | syn region xmlString contained start=+{+ end=++ contains=jsBlock 34 | 35 | " Add jsxRegion to the lowest-level JS syntax cluster. 36 | syn cluster jsExpression add=jsxRegion 37 | -------------------------------------------------------------------------------- /.bash_profile: -------------------------------------------------------------------------------- 1 | # NOTHING CURRENTLY SOURCES THIS FILE and iTerm2 shells don't either 2 | if [ -e "${HOME}/.bashrc" ] ; then 3 | source "${HOME}/.bashrc" 4 | fi 5 | 6 | # http://grnds.askbot.com/question/345/how-do-i-set-up-my-ipsec-with-the-vpn-psk-that-is-emailed-to-me-how-do-i-connect-to-uat/?answer=346#post-id-346 7 | export IPSEC_SECRETS_FILE=/etc/ipsec.secrets 8 | export KEY_SUFFIX=grandrounds.com 9 | 10 | #source /usr/local/share/chruby/chruby.sh 11 | #source /usr/local/share/chruby/auto.sh 12 | #chruby ruby-2.1.5 13 | 14 | # These were installed by the bin/setup script of the jarvis repo, however 15 | # they seem to be not needed, and cause errors like: 16 | # 17 | # $ rake db:setup jarvis:dev 18 | # chruby: unknown Ruby: ruby-2.1.5 19 | # 20 | # if using rvm. So commenting out for now. 21 | #source /usr/local/share/chruby/chruby.sh 22 | #source /usr/local/share/chruby/auto.sh 23 | 24 | #test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" 25 | 26 | if [ -e /Users/andrewray/.nix-profile/etc/profile.d/nix.sh ]; then . /Users/andrewray/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer 27 | 28 | 29 | #### FIG ENV VARIABLES #### 30 | [[ -s ~/.fig/fig.sh ]] && source ~/.fig/fig.sh 31 | #### END FIG ENV VARIABLES #### 32 | 33 | 34 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /code/snippets/javascript.json: -------------------------------------------------------------------------------- 1 | { 2 | // Place your snippets for JavaScript here. Each snippet is defined under a snippet name and has a prefix, body and 3 | // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: 4 | // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 5 | // same ids are connected. 6 | // Example: 7 | "For Loop": { 8 | "prefix": "test", 9 | "body": [ 10 | "for (var ${1:index} = 0; ${1:index} < ${2:array}.length; ${1:index}++) {", 11 | "\tvar ${3:element} = ${2:array}[${1:index}];", 12 | "\t$0", 13 | "}" 14 | ], 15 | "description": "For Loop" 16 | }, 17 | "React Constructor": { 18 | "prefix": "rc", 19 | "body": [ 20 | "constructor(props, context) {", 21 | " super(props, context);", 22 | " $0", 23 | "}", 24 | ], 25 | "description": "Console Log" 26 | }, 27 | "Function body": { 28 | "prefix": "()", 29 | "body": [ 30 | "() => {$0}" 31 | ], 32 | "description": "Function body" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.vim/bundle/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 et sts=4 sw=4: 40 | -------------------------------------------------------------------------------- /.vim/bundle/gundo/tests/vim_test/plugin/gundo_test_utils.vim: -------------------------------------------------------------------------------- 1 | let s:undolevels_save = &undolevels 2 | 3 | function! g:Goto(buffername)"{{{ 4 | exec bufwinnr(bufnr(a:buffername)) . 'wincmd w' 5 | endfunction"}}} 6 | 7 | function! g:GotoLineContaining(text)"{{{ 8 | exe "silent! normal gg/\\M" . a:text . "\n" 9 | endfunction"}}} 10 | 11 | function! g:CurrentLineContains(text)"{{{ 12 | if stridx(getline('.'), a:text) != -1 13 | return 1 14 | else 15 | return 0 16 | endif 17 | endfunction"}}} 18 | 19 | function! g:Contains(text)"{{{ 20 | call g:GotoLineContaining(a:text) 21 | return g:CurrentLineContains(a:text) 22 | endfunction"}}} 23 | 24 | function! g:TypeLine(text)"{{{ 25 | exe "normal i" . a:text . "\u\n\e" 26 | endfunction"}}} 27 | 28 | function! g:TypeLineDone(text)"{{{ 29 | exe "normal i" . a:text . "\n\e" 30 | 31 | " Break the undo chain 32 | let &undolevels = s:undolevels_save 33 | endfunction"}}} 34 | 35 | function! g:PrintTheFuckingBuffer()"{{{ 36 | echo join(getline(1, 100000), "\n") 37 | echo "SOMETIMES I HATE YOU VIM" 38 | endfunction"}}} 39 | 40 | function! g:MoveUp()"{{{ 41 | call cursor(line('.') - 1, 0) 42 | endfunction"}}} 43 | 44 | function! g:MoveDown()"{{{ 45 | call cursor(line('.') + 1, 0) 46 | endfunction"}}} 47 | -------------------------------------------------------------------------------- /.vim/bundle/over/autoload/over/command_line/command_history.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | let s:save_cpo = &cpo 3 | set cpo&vim 4 | 5 | function! over#command_line#command_history#load() 6 | " load 7 | endfunction 8 | 9 | 10 | function! s:command_histories() 11 | return map(range(&history), 'histget(":", v:val * -1)') 12 | endfunction 13 | 14 | 15 | let s:cmdhist = [] 16 | let s:count = 0 17 | 18 | function! s:main() 19 | if !over#command_line#is_input("\") && !over#command_line#is_input("\") 20 | let s:cmdhist = [] 21 | let s:count = 0 22 | return 23 | else 24 | if s:count == 0 && empty(s:cmdhist) 25 | let cmdline = '^' . over#command_line#getline() 26 | let s:cmdhist = filter(s:command_histories(), 'v:val =~ cmdline') 27 | endif 28 | endif 29 | call over#command_line#setchar("") 30 | if over#command_line#is_input("\") 31 | let s:count = max([s:count - 1, 0]) 32 | endif 33 | if over#command_line#is_input("\") 34 | let s:count = min([s:count + 1, len(s:cmdhist)]) 35 | endif 36 | call over#command_line#setline(get(s:cmdhist, s:count, over#command_line#getline())) 37 | endfunction 38 | 39 | augroup over-cmdline-command_history 40 | autocmd! 41 | autocmd User OverCmdLineCharPre call s:main() 42 | augroup END 43 | 44 | let &cpo = s:save_cpo 45 | unlet s:save_cpo 46 | -------------------------------------------------------------------------------- /.vim/bundle/textobj-lastpat/doc/tags: -------------------------------------------------------------------------------- 1 | :TextobjLastpatDefaultKeyMappings textobj-lastpat.txt /*:TextobjLastpatDefaultKeyMappings* 2 | (textobj-lastpat-N) textobj-lastpat.txt /*(textobj-lastpat-N)* 3 | (textobj-lastpat-n) textobj-lastpat.txt /*(textobj-lastpat-n)* 4 | g:textobj_lastpat_no_default_key_mappings textobj-lastpat.txt /*g:textobj_lastpat_no_default_key_mappings* 5 | textobj-lastpat textobj-lastpat.txt /*textobj-lastpat* 6 | textobj-lastpat-bugs textobj-lastpat.txt /*textobj-lastpat-bugs* 7 | textobj-lastpat-changelog textobj-lastpat.txt /*textobj-lastpat-changelog* 8 | textobj-lastpat-changelog-0.0.0 textobj-lastpat.txt /*textobj-lastpat-changelog-0.0.0* 9 | textobj-lastpat-changelog-0.0.1 textobj-lastpat.txt /*textobj-lastpat-changelog-0.0.1* 10 | textobj-lastpat-changelog-0.0.2 textobj-lastpat.txt /*textobj-lastpat-changelog-0.0.2* 11 | textobj-lastpat-contents textobj-lastpat.txt /*textobj-lastpat-contents* 12 | textobj-lastpat-customizing textobj-lastpat.txt /*textobj-lastpat-customizing* 13 | textobj-lastpat-interface textobj-lastpat.txt /*textobj-lastpat-interface* 14 | textobj-lastpat-introduction textobj-lastpat.txt /*textobj-lastpat-introduction* 15 | textobj-lastpat-mappings textobj-lastpat.txt /*textobj-lastpat-mappings* 16 | textobj-lastpat.txt textobj-lastpat.txt /*textobj-lastpat.txt* 17 | --------------------------------------------------------------------------------