Permalink
Browse files

initial checkin

  • Loading branch information...
0 parents commit 6e95b2908bf8b7b2f02eab57461a987a7147dc26 @gray committed Dec 2, 2009
Showing with 50,367 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +69 −0 .inputrc
  3. +36 −0 .perlcriticrc
  4. +70 −0 .vim/README
  5. +8 −0 .vim/TODO
  6. +29 −0 .vim/after/ftplugin/perl.vim
  7. +35 −0 .vim/after/plugin/snipMate.vim
  8. +318 −0 .vim/after/syntax/css.vim
  9. +380 −0 .vim/autoload/ZoomWin.vim
  10. +173 −0 .vim/autoload/camelcasemotion.vim
  11. +954 −0 .vim/autoload/fuf.vim
  12. +177 −0 .vim/autoload/fuf/bookmark.vim
  13. +147 −0 .vim/autoload/fuf/buffer.vim
  14. +119 −0 .vim/autoload/fuf/callbackfile.vim
  15. +112 −0 .vim/autoload/fuf/callbackitem.vim
  16. +145 −0 .vim/autoload/fuf/changelist.vim
  17. +111 −0 .vim/autoload/fuf/dir.vim
  18. +123 −0 .vim/autoload/fuf/file.vim
  19. +104 −0 .vim/autoload/fuf/givencmd.vim
  20. +101 −0 .vim/autoload/fuf/givendir.vim
  21. +102 −0 .vim/autoload/fuf/givenfile.vim
  22. +153 −0 .vim/autoload/fuf/jumplist.vim
  23. +115 −0 .vim/autoload/fuf/mrucmd.vim
  24. +141 −0 .vim/autoload/fuf/mrufile.vim
  25. +126 −0 .vim/autoload/fuf/quickfix.vim
  26. +119 −0 .vim/autoload/fuf/tag.vim
  27. +126 −0 .vim/autoload/fuf/taggedfile.vim
  28. +72 −0 .vim/autoload/repeat.vim
  29. +155 −0 .vim/autoload/sherlock.vim
  30. +433 −0 .vim/autoload/snipMate.vim
  31. +170 −0 .vim/autoload/utl_lib.vim
  32. +59 −0 .vim/colors/asu1dark.vim
  33. +59 −0 .vim/colors/automation.vim
  34. +174 −0 .vim/colors/candycode.vim
  35. +224 −0 .vim/colors/darkdevel.vim
  36. +52 −0 .vim/colors/darkocean.vim
  37. +130 −0 .vim/colors/darkspectrum.vim
  38. +338 −0 .vim/colors/desert256.vim
  39. +90 −0 .vim/colors/deveiate.vim
  40. +163 −0 .vim/colors/gentooish.vim
  41. +216 −0 .vim/colors/inkpot.vim
  42. +211 −0 .vim/colors/ir_black.vim
  43. +111 −0 .vim/colors/jammy.vim
  44. +421 −0 .vim/colors/jellybeans.vim
  45. +215 −0 .vim/colors/lettuce.vim
  46. +147 −0 .vim/colors/metacosm.vim
  47. +116 −0 .vim/colors/neverness.vim
  48. +115 −0 .vim/colors/oceanblack.vim
  49. +574 −0 .vim/colors/peaksea.vim
  50. +538 −0 .vim/colors/ps_color.vim
  51. +81 −0 .vim/colors/synic.vim
  52. +172 −0 .vim/colors/vividchalk.vim
  53. +302 −0 .vim/colors/wombat256.vim
  54. +57 −0 .vim/compiler/perlprove.vim
  55. +55 −0 .vim/doc/LargeFile.txt
  56. +991 −0 .vim/doc/NERD_commenter.txt
  57. +1,222 −0 .vim/doc/NERD_tree.txt
  58. +121 −0 .vim/doc/ZoomWin.txt
  59. +162 −0 .vim/doc/abolish.txt
  60. +38 −0 .vim/doc/ack.txt
  61. +183 −0 .vim/doc/camelcasemotion.txt
  62. +1,399 −0 .vim/doc/fuf.txt
  63. +657 −0 .vim/doc/ps_color.txt
  64. +286 −0 .vim/doc/snipMate.txt
  65. +218 −0 .vim/doc/surround.txt
  66. +1,501 −0 .vim/doc/taglist.txt
  67. +652 −0 .vim/doc/tags
  68. +2,194 −0 .vim/doc/utl_usr.txt
  69. +819 −0 .vim/doc/vcscommand.txt
  70. +21 −0 .vim/filetype.vim
  71. +10 −0 .vim/ftplugin/html_snip_helper.vim
  72. +71 −0 .vim/ftplugin/perl.vim
  73. +68 −0 .vim/ftplugin/perl6.vim
  74. +180 −0 .vim/indent/perl.vim
  75. +136 −0 .vim/indent/perl6.vim
  76. +85 −0 .vim/indent/scala.vim
  77. +41 −0 .vim/nerdtree_plugin/exec_menuitem.vim
  78. +194 −0 .vim/nerdtree_plugin/fs_menu.vim
  79. +80 −0 .vim/plugin/LargeFile.vim
  80. +3,132 −0 .vim/plugin/NERD_commenter.vim
  81. +4,059 −0 .vim/plugin/NERD_tree.vim
  82. +49 −0 .vim/plugin/ZoomWinPlugin.vim
  83. +613 −0 .vim/plugin/abolish.vim
  84. +50 −0 .vim/plugin/ack.vim
  85. +204 −0 .vim/plugin/camelcasemotion.vim
  86. +164 −0 .vim/plugin/fuf.vim
  87. +1,838 −0 .vim/plugin/minibufexpl.vim
  88. +140 −0 .vim/plugin/plutil.vim
  89. +36 −0 .vim/plugin/sherlock.vim
  90. +247 −0 .vim/plugin/snipMate.vim
  91. +635 −0 .vim/plugin/supertab.vim
  92. +628 −0 .vim/plugin/surround.vim
  93. +4,546 −0 .vim/plugin/taglist.vim
  94. +1,846 −0 .vim/plugin/utl.vim
  95. +423 −0 .vim/plugin/utl_rc.vim
  96. +716 −0 .vim/plugin/utl_scm.vim
  97. +292 −0 .vim/plugin/utl_uri.vim
  98. +254 −0 .vim/plugin/vcsbzr.vim
  99. +1,344 −0 .vim/plugin/vcscommand.vim
  100. +453 −0 .vim/plugin/vcscvs.vim
  101. +260 −0 .vim/plugin/vcsgit.vim
  102. +275 −0 .vim/plugin/vcshg.vim
  103. +262 −0 .vim/plugin/vcssvk.vim
  104. +292 −0 .vim/plugin/vcssvn.vim
  105. +7 −0 .vim/snippets/_.snippets
  106. +66 −0 .vim/snippets/autoit.snippets
  107. +110 −0 .vim/snippets/c.snippets
  108. +30 −0 .vim/snippets/cpp.snippets
  109. +190 −0 .vim/snippets/html.snippets
  110. +78 −0 .vim/snippets/java.snippets
  111. +74 −0 .vim/snippets/javascript.snippets
  112. +54 −0 .vim/snippets/mako.snippets
  113. +184 −0 .vim/snippets/objc.snippets
  114. +91 −0 .vim/snippets/perl.snippets
  115. +216 −0 .vim/snippets/php.snippets
  116. +86 −0 .vim/snippets/python.snippets
  117. +420 −0 .vim/snippets/ruby.snippets
  118. +28 −0 .vim/snippets/sh.snippets
  119. +7 −0 .vim/snippets/snippet.snippets
  120. +92 −0 .vim/snippets/tcl.snippets
  121. +115 −0 .vim/snippets/tex.snippets
  122. +32 −0 .vim/snippets/vim.snippets
  123. +58 −0 .vim/snippets/zsh.snippets
  124. +45 −0 .vim/syntax/CVSAnnotate.vim
  125. +42 −0 .vim/syntax/SVKAnnotate.vim
  126. +40 −0 .vim/syntax/SVNAnnotate.vim
  127. +305 −0 .vim/syntax/csv.vim
  128. +44 −0 .vim/syntax/gitAnnotate.vim
  129. +190 −0 .vim/syntax/go.vim
  130. +80 −0 .vim/syntax/json.vim
  131. +543 −0 .vim/syntax/perl.vim
  132. +2,249 −0 .vim/syntax/perl6.vim
  133. +89 −0 .vim/syntax/pod.vim
  134. +86 −0 .vim/syntax/puppet.vim
  135. +153 −0 .vim/syntax/scala.vim
  136. +19 −0 .vim/syntax/snippet.vim
  137. +48 −0 .vim/syntax/syslog-ng.vim
  138. +213 −0 .vim/syntax/tt2.vim
  139. +12 −0 .vim/syntax/tt2html.vim
  140. +31 −0 .vim/syntax/vcscommit.vim
  141. +163 −0 .vim/syntax/xs.vim
  142. +1 −0 .vim/tmp/.gitignore
  143. +444 −0 .vimrc
@@ -0,0 +1,2 @@
+.DS_Store
+.VimballRecord
@@ -0,0 +1,69 @@
+# To re-read (and implement changes to this file) use:
+# bind -f ~/.inputrc
+
+$include /etc/inputrc
+
+set bell-style none
+
+# Allow the command prompt to wrap to the next line
+set horizontal-scroll-mode Off
+
+# Ignore case when doing completion
+set completion-ignore-case On
+
+# Enable one-tab completion
+set show-all-if-ambiguous On
+
+# Completed dir names have a slash appended
+set mark-directories On
+
+# Completed names which are symlinks to dirs have a slash appended
+set mark-symlinked-directories On
+
+# Don't match hidden files unless '.' is the first character.
+set match-hidden-files Off
+
+set page-completions Off
+set completion-query-items 350
+set expand-tilde On
+
+# Adds trailing symbols like `ls -F`
+set visible-stats On
+
+# Don't strip characters to 7 bits when reading
+set input-meta On
+
+# Allow latin1 characters to be inserted rather than converted to
+# prefix-meta sequences
+set convert-meta Off
+
+# Display characters with the eighth bit set directly rather than as
+# meta-prefixed characters
+set output-meta On
+
+# Incremental searching with Up and Down
+"\e[A": history-search-backward
+"\e[B": history-search-forward
+# Prevent the previous from breaking Left and Right
+"\e[C": forward-char
+"\e[D": backward-char
+
+# Edit the path
+"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f"
+
+# Prepare to type a quoted word -- insert open and close double quotes.
+"\C-x\"": "\"\"\C-b"
+
+# Insert a backslash (testing backslash escapes in sequences and macros)
+"\C-x\\": "\\"
+
+# Quote the current or previous word
+"\C-xq": "\eb\"\ef\""
+
+# Add a binding to refresh the line, which is unbound
+"\C-xr": redraw-current-line
+
+# Edit variable on current line.
+"\C-xe": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y="
+
+set blink-matching-paren On
@@ -0,0 +1,36 @@
+verbose = 8
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
+severity = 5
+
+[CodeLayout::ProhibitTrailingWhitespace]
+severity = 5
+
+# requires Perl::Critic::More
+[CodeLayout::RequireASCII]
+severity = 5
+
+[Documentation::RequirePodAtEnd]
+severity = 5
+
+[TestingAndDebugging::RequireUseWarnings]
+severity = 5
+
+# requires Regexp::Parser
+[RegularExpressions::ProhibitUnusedCapture]
+severity = 5
+
+# requires Regexp::Parser
+[RegularExpressions::ProhibitSingleCharAlternation]
+severity = 5
+
+[Subroutines::ProhibitAmpersandSigils]
+severity = 5
+
+[Objects::ProhibitIndirectSyntax]
+severity = 5
+
+[-TestingAndDebugging::ProhibitNoStrict]
+[-BuiltinFunctions::ProhibitStringyEval]
+[-ValuesAndExpressions::ProhibitLeadingZeros]
@@ -0,0 +1,70 @@
+installed plugins:
+
+abolish:
+ http://www.vim.org/scripts/script.php?script_id=1545
+ack:
+ http://www.vim.org/scripts/script.php?script_id=2572
+camelcasemotion:
+ http://www.vim.org/scripts/script.php?script_id=1905
+delimitMate:
+ http://www.vim.org/scripts/script.php?script_id=2754
+largefile:
+ http://www.vim.org/scripts/script.php?script_id=1506
+nerd commenter:
+ http://www.vim.org/scripts/script.php?script_id=1218
+nerd tree:
+ http://www.vim.org/scripts/script.php?script_id=1658
+plutil:
+ http://www.vim.org/scripts/script.php?script_id=1590
+sherlock:
+ http://www.vim.org/scripts/script.php?script_id=2731
+snipmate:
+ http://www.vim.org/scripts/script.php?script_id=2540
+supertab:
+ http://www.vim.org/scripts/script.php?script_id=1643
+surround:
+ http://www.vim.org/scripts/script.php?script_id=1697
+taglist:
+ http://www.vim.org/scripts/script.php?script_id=273
+universal text linking:
+ http://www.vim.org/scripts/script.php?script_id=293
+vcscommand:
+ http://www.vim.org/scripts/script.php?script_id=90
+zoomwin:
+ http://www.vim.org/scripts/script.php?script_id=508
+
+installed syntaxes:
+
+csv syntax:
+ http://vim.wikia.com/wiki/Working_with_CSV_files
+go:
+ http://go.googlecode.com/hg/misc/vim/go.vim
+json syntax:
+ http://www.vim.org/scripts/script.php?script_id=1945
+perl (updated):
+ http://github.com/petdance/vim-perl
+perl xs syntax (updated):
+ http://www.profvince.com/perl/xs.vim
+puppet syntax:
+ http://reductivelabs.com/downloads/puppet/puppet.vim
+scala syntax:
+ http://lampsvn.epfl.ch/trac/scala/browser/scala-tool-support/trunk/src/vim/
+tt2 syntax:
+ http://www.vim.org/scripts/script.php?script_id=830
+
+installed colors:
+
+css_color:
+ http://www.vim.org/scripts/script.php?script_id=2150
+gentooish:
+ http://www.vim.org/scripts/script.php?script_id=2474
+inkpot:
+ http://www.vim.org/scripts/script.php?script_id=1143
+ir_black:
+ http://blog.infinitered.com/entries/show/8
+jammy:
+ http://www.vim.org/scripts/script.php?script_id=2169
+jellybeans:
+ http://www.vim.org/scripts/script.php?script_id=2555
+vividchalk:
+ http://www.vim.org/scripts/script.php?script_id=1891
@@ -0,0 +1,8 @@
+if buffer is read-only, change colorscheme or provide a better visual
+indicator
+
+mapping for switching from vertical split to horizontal, and vice versa
+
+saner page up/down behaviour (presing page-down when there is less than a full
+page left to scroll downwards, causes page-up not to return to the position
+prior to the page-down)
@@ -0,0 +1,29 @@
+let g:perl_compiler_force_warnings = 0
+compiler perl
+
+" Show line numbers
+setlocal number
+
+" TODO: find a better solution: perldoc, then perldoc -f
+setlocal keywordprg=sh\ -c\ 'perldoc\ -f\ \$1\ \|\|\ perldoc\ \$1'\ --
+
+" TODO: $VIMRUNTIME/ftplugin/perl.vim is setting path to @INC, and this
+" slows down keyword matching (C-P, C-N), so reset it
+" let &l:path='.'
+
+let perl_include_pod = 1
+let perl_extended_vars = 1
+let perl_want_scope_in_variables = 1
+let perl_string_as_statement = 1
+
+" Fold POD and heredocs
+let perl_fold = 1
+let perl_nofold_packages = 1
+let perl_nofold_subs = 1
+
+nnoremap <silent> <localleader>pt :%!perltidy -q<cr>
+vnoremap <silent> <localleader>pt :!perltidy -q<cr>
+
+" Deparse obfuscated code
+nnoremap <silent> <localleader>pD :%!perl -MO=Deparse 2>/dev/null<cr>
+vnoremap <silent> <localleader>pD :!perl -MO=Deparse 2>/dev/null<cr>
@@ -0,0 +1,35 @@
+" These are the mappings for snipMate.vim. Putting it here ensures that it
+" will be mapped after other plugins such as supertab.vim.
+if !exists('loaded_snips') || exists('s:did_snips_mappings')
+ finish
+endif
+let s:did_snips_mappings = 1
+
+ino <silent> <tab> <c-r>=TriggerSnippet()<cr>
+snor <silent> <tab> <esc>i<right><c-r>=TriggerSnippet()<cr>
+ino <silent> <s-tab> <c-r>=BackwardsSnippet()<cr>
+snor <silent> <s-tab> <esc>i<right><c-r>=BackwardsSnippet()<cr>
+ino <silent> <c-r><tab> <c-r>=ShowAvailableSnips()<cr>
+
+" The default mappings for these are annoying & sometimes break snipMate.
+" You can change them back if you want, I've put them here for convenience.
+snor <bs> b<bs>
+snor <right> <esc>a
+snor <left> <esc>bi
+snor ' b<bs>'
+snor ` b<bs>`
+snor % b<bs>%
+snor U b<bs>U
+snor ^ b<bs>^
+snor \ b<bs>\
+snor <c-x> b<bs><c-x>
+
+" By default load snippets in snippets_dir
+if empty(snippets_dir)
+ finish
+endif
+
+call GetSnippets(snippets_dir, '_') " Get global snippets
+
+au FileType * if &ft != 'help' | call GetSnippets(snippets_dir, &ft) | endif
+" vim:noet:sw=4:ts=4:ft=vim
Oops, something went wrong.

0 comments on commit 6e95b29

Please sign in to comment.