Permalink
Browse files

Remove old vim config

  • Loading branch information...
1 parent a846f10 commit ee8c7f959fec5c8b1807eccf46e5e7eec72bf05f @jvoorhis committed Dec 13, 2012
Showing with 0 additions and 11,076 deletions.
  1. +0 −2 .vim/.VimballRecord
  2. +0 −2 .vim/.netrwhist
  3. +0 −4 .vim/after/ftplugin/c.vim
  4. +0 −4 .vim/after/ftplugin/cpp.vim
  5. +0 −1 .vim/after/ftplugin/python.vim
  6. +0 −170 .vim/autoload/SudoEdit.vim
  7. +0 −4,744 .vim/autoload/rails.vim
  8. +0 −211 .vim/colors/molokai.vim
  9. +0 −977 .vim/colors/solarized.vim
  10. +0 −169 .vim/doc/SudoEdit.txt
  11. +0 −38 .vim/doc/ack.txt
  12. +0 −736 .vim/doc/command-t.txt
  13. +0 −1,134 .vim/doc/rails.txt
  14. +0 −215 .vim/doc/tags
  15. +0 −46 .vim/plugin/SudoEdit.vim
  16. +0 −50 .vim/plugin/ack.vim
  17. +0 −151 .vim/plugin/command-t.vim
  18. +0 −340 .vim/plugin/rails.vim
  19. +0 −181 .vim/ruby/command-t/Makefile
  20. +0 −307 .vim/ruby/command-t/controller.rb
  21. +0 −24 .vim/ruby/command-t/depend
  22. BIN .vim/ruby/command-t/ext.bundle
  23. +0 −65 .vim/ruby/command-t/ext.c
  24. +0 −36 .vim/ruby/command-t/ext.h
  25. BIN .vim/ruby/command-t/ext.o
  26. +0 −32 .vim/ruby/command-t/extconf.rb
  27. +0 −51 .vim/ruby/command-t/finder.rb
  28. +0 −189 .vim/ruby/command-t/match.c
  29. +0 −29 .vim/ruby/command-t/match.h
  30. BIN .vim/ruby/command-t/match.o
  31. +0 −375 .vim/ruby/command-t/match_window.rb
  32. +0 −164 .vim/ruby/command-t/matcher.c
  33. +0 −30 .vim/ruby/command-t/matcher.h
  34. BIN .vim/ruby/command-t/matcher.o
  35. +0 −10 .vim/ruby/command-t/mkmf.log
  36. +0 −165 .vim/ruby/command-t/prompt.rb
  37. +0 −49 .vim/ruby/command-t/ruby_compat.h
  38. +0 −93 .vim/ruby/command-t/scanner.rb
  39. +0 −77 .vim/ruby/command-t/settings.rb
  40. +0 −46 .vim/ruby/command-t/stub.rb
  41. +0 −43 .vim/ruby/command-t/vim.rb
  42. +0 −32 .vim/ruby/command-t/vim/screen.rb
  43. +0 −38 .vim/ruby/command-t/vim/window.rb
  44. +0 −46 .vimrc
View
@@ -1,2 +0,0 @@
-SudoEdit.vba: call delete('/Users/jvoorhis/.vim/autoload/SudoEdit.vim')|call delete('/Users/jvoorhis/.vim/doc/SudoEdit.txt')|call delete('/Users/jvoorhis/.vim/plugin/SudoEdit.vim')
-command-t-1.0.1.vba: call delete('/Users/jvoorhis/.vim/ruby/command-t/controller.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/extconf.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/finder.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/match_window.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/prompt.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/scanner.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/settings.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/stub.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/vim/screen.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/vim/window.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/vim.rb')|call delete('/Users/jvoorhis/.vim/ruby/command-t/ext.c')|call delete('/Users/jvoorhis/.vim/ruby/command-t/match.c')|call delete('/Users/jvoorhis/.vim/ruby/command-t/matcher.c')|call delete('/Users/jvoorhis/.vim/ruby/command-t/ext.h')|call delete('/Users/jvoorhis/.vim/ruby/command-t/match.h')|call delete('/Users/jvoorhis/.vim/ruby/command-t/matcher.h')|call delete('/Users/jvoorhis/.vim/ruby/command-t/ruby_compat.h')|call delete('/Users/jvoorhis/.vim/ruby/command-t/depend')|call delete('/Users/jvoorhis/.vim/doc/command-t.txt')|call delete('/Users/jvoorhis/.vim/plugin/command-t.vim')
View
@@ -1,2 +0,0 @@
-let g:netrw_dirhistmax =10
-let g:netrw_dirhist_cnt =0
@@ -1,4 +0,0 @@
-" Indentation
-setlocal expandtab
-setlocal shiftwidth=4
-setlocal softtabstop=4
@@ -1,4 +0,0 @@
-" Indentation
-setlocal expandtab
-setlocal shiftwidth=4
-setlocal softtabstop=4
@@ -1 +0,0 @@
-autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4
View
@@ -1,170 +0,0 @@
-" SudoEdit.vim - Use sudo/su for writing/reading files with Vim
-" ---------------------------------------------------------------
-" Version: 0.8
-" Authors: Christian Brabandt <cb@256bit.org>
-" Last Change: Tue, 20 Apr 2010 00:04:14 +0200
-
-
-" Script: http://www.vim.org/scripts/script.php?script_id=2709
-" License: VIM License
-" GetLatestVimScripts: 2709 7 :AutoInstall: SudoEdit.vim
-
-" Which Tool for super-user access to use"{{{
-" Will be tried in order, first tool that is found will be used
-" (e.g. you could use ssh)
-" You can specify one in your .vimrc using the
-" global variable g:sudoAuth
-let s:sudoAuth=" sudo su "
-if exists("g:sudoAuth")
- let s:sudoAuth = g:sudoAuth . s:sudoAuth
-endif
-"}}}
-
-" Specify the parameter to use for the auth tool e.g. su uses "-c", but
-" for su, it will be autodetected, sudo does not need one, for ssh use
-" "root@localhost"
-"
-" You can also use this parameter if you do not want to become root
-" but any other user
-"
-" You can specify this parameter in your .vimrc using the
-" global variable g:sudoAuthArg
-if !exists("g:sudoAuthArg")
- let s:sudoAuthArg=""
-else
- let s:sudoAuthArg=g:sudoAuthArg
-endif
-"}}}
-
-" Functions:"{{{
-
-fu! SudoEdit#LocalSettings(setflag)
- if a:setflag
- " Set shellrediraction temporarily
- " This is used to get su working right!
- let s:o_srr=&srr
- let &srr='>'
- else
- " Reset old settings
- " shellredirection
- let &srr=s:o_srr
- endif
-endfu
-
-fu! SudoEdit#CheckAuthTool(Authlist)"{{{
- for tool in a:Authlist
- if executable(tool)
- return [tool]
- endif
- endfor
- echoerr "No tool found for authentication. Is sudo/su installed and in your $PATH?"
- echoerr "Try setting g:sudoAuth and g:sudoAuthArg"
- return []
-endfu"}}}
-
-let s:AuthTool=SudoEdit#CheckAuthTool(split(s:sudoAuth, '\s'))"{{{
-if empty(s:AuthTool)
- finish
-endif"}}}
-
-if s:AuthTool[0] == "su" && empty(s:sudoAuthArg)
- let s:sudoAuthArg="-c"
-endif
-call add(s:AuthTool, s:sudoAuthArg . " ")
-
-fu! SudoEdit#echoWarn(mess)
- echohl WarningMsg
- echomsg a:mess
- echohl Normal
-endfu
-
-fu! SudoEdit#SudoRead(file)
- %d
-" let cmd=':0r !' . join(s:AuthTool, ' ') . ' cat ' . a:file . ' 2>/dev/null '
- if !exists("g:sudoDebug")
- let cmd='cat ' . shellescape(a:file,1) . ' 2>/dev/null'
- else
- let cmd='cat ' . shellescape(a:file,1)
- endif
- "let cmd='cat ' . shellescape(a:file,1)
- if s:AuthTool[0] =~ '^su$'
- let cmd='"' . cmd . '" --'
- endif
- let cmd=':0r! ' . join(s:AuthTool, ' ') . cmd
- if exists("g:sudoDebug") && g:sudoDebug
- call SudoEdit#echoWarn(cmd)
- endif
- silent! exe cmd
- $d
- exe ":f " . a:file
- filetype detect
- set nomod
-endfu
-
-fu! SudoEdit#SudoWrite(file) range
- if s:AuthTool[0] =~ '^su$'
- " Workaround since su cannot be run with :w !
- let tmpfile = tempname()
- exe a:firstline . ',' . a:lastline . 'w ' . tmpfile
- let cmd=':!' . join(s:AuthTool, ' ') . '"mv ' . tmpfile . ' ' . a:file . '" --'
- else
- let cmd='tee >/dev/null ' . a:file
- let cmd=a:firstline . ',' . a:lastline . 'w !' . join(s:AuthTool, ' ') . cmd
- endif
- if exists("g:sudoDebug") && g:sudoDebug
- call SudoEdit#echoWarn(cmd)
- endif
- silent exe cmd
- if v:shell_error
- if exists("g:sudoDebug") && g:sudoDebug
- call SudoEdit#echoWarn(v:shell_error)
- endif
- throw "writeError"
- endif
- exe ":f " . a:file
- set nomod
-endfu
-
-fu! SudoEdit#Stats(file)
- ":w echoes a string like this by default:
- ""SudoEdit.vim" 108L, 2595C geschrieben
- return '"' . a:file . '" ' . line('$') . 'L, ' . getfsize(expand(a:file)) . 'C written'
-endfu
-
-
-
-fu! SudoEdit#SudoDo(readflag, file) range
- call SudoEdit#LocalSettings(1)
-" let file = substitute(a:file, '^sudo:', '', '')
- let file = !empty(a:file) ? substitute(a:file, '^sudo:', '', '') : expand("%")
- if empty(file)
- throw "emptyfile"
- endif
- if a:readflag
- call SudoEdit#SudoRead(file)
- else
- try
- exe a:firstline . ',' . a:lastline . 'call SudoEdit#SudoWrite(' . shellescape(file,1) . ')'
- echo SudoEdit#Stats(file)
- catch /emptyfile/
- echoerr "Cannot write file. Please enter filename for writing!"
- catch /writeError/
- let a=v:errmsg
- echoerr "There was an error writing the file!"
- echoerr a
- finally
- call SudoEdit#LocalSettings(0)
- redraw!
- endtry
- sleep
- endif
- if v:shell_error
- echoerr "Error " . ( a:readflag ? "reading " : "writing to " ) . file . "! Password wrong?"
- endif
- call SudoEdit#LocalSettings(0)
- redraw!
-endfu
-"}}}"}}}
-
-" Modeline {{{1
-" vim: set fdm=marker fdl=0 : }}}
Oops, something went wrong.

0 comments on commit ee8c7f9

Please sign in to comment.