Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove vim config. Overkill for stuff I don't even use.

  • Loading branch information...
commit a07f4eba418d7948323ce12ea21319598e276533 1 parent 6c1e238
@dflems authored
Showing with 0 additions and 11,159 deletions.
  1. +0 −32 vim/gvimrc.symlink
  2. +0 −2  vim/vim.symlink/.VimballRecord
  3. +0 −10 vim/vim.symlink/after/syntax/html.vim
  4. +0 −4,731 vim/vim.symlink/autoload/rails.vim
  5. +0 −108 vim/vim.symlink/colors/desert.vim
  6. +0 −211 vim/vim.symlink/colors/molokai.vim
  7. +0 −96 vim/vim.symlink/colors/railscasts.vim
  8. +0 −68 vim/vim.symlink/colors/vibrantink.vim
  9. +0 −70 vim/vim.symlink/doc/ack.txt
  10. +0 −695 vim/vim.symlink/doc/command-t.txt
  11. +0 −1,134 vim/vim.symlink/doc/rails.txt
  12. +0 −280 vim/vim.symlink/doc/tags
  13. +0 −2  vim/vim.symlink/filetype.vim
  14. +0 −7 vim/vim.symlink/ftdetect/coffee.vim
  15. +0 −1  vim/vim.symlink/ftdetect/eco.vim
  16. +0 −2  vim/vim.symlink/ftdetect/markdown.vim
  17. +0 −238 vim/vim.symlink/ftplugin/coffee.vim
  18. +0 −322 vim/vim.symlink/indent/coffee.vim
  19. +0 −80 vim/vim.symlink/plugin/ack.vim
  20. +0 −151 vim/vim.symlink/plugin/command-t.vim
  21. +0 −340 vim/vim.symlink/plugin/rails.vim
  22. +0 −181 vim/vim.symlink/ruby/command-t/Makefile
  23. +0 −289 vim/vim.symlink/ruby/command-t/controller.rb
  24. +0 −24 vim/vim.symlink/ruby/command-t/depend
  25. BIN  vim/vim.symlink/ruby/command-t/ext.bundle
  26. +0 −65 vim/vim.symlink/ruby/command-t/ext.c
  27. +0 −36 vim/vim.symlink/ruby/command-t/ext.h
  28. BIN  vim/vim.symlink/ruby/command-t/ext.o
  29. +0 −32 vim/vim.symlink/ruby/command-t/extconf.rb
  30. +0 −51 vim/vim.symlink/ruby/command-t/finder.rb
  31. +0 −189 vim/vim.symlink/ruby/command-t/match.c
  32. +0 −29 vim/vim.symlink/ruby/command-t/match.h
  33. BIN  vim/vim.symlink/ruby/command-t/match.o
  34. +0 −339 vim/vim.symlink/ruby/command-t/match_window.rb
  35. +0 −164 vim/vim.symlink/ruby/command-t/matcher.c
  36. +0 −30 vim/vim.symlink/ruby/command-t/matcher.h
  37. BIN  vim/vim.symlink/ruby/command-t/matcher.o
  38. +0 −10 vim/vim.symlink/ruby/command-t/mkmf.log
  39. +0 −165 vim/vim.symlink/ruby/command-t/prompt.rb
  40. +0 −49 vim/vim.symlink/ruby/command-t/ruby_compat.h
  41. +0 −93 vim/vim.symlink/ruby/command-t/scanner.rb
  42. +0 −75 vim/vim.symlink/ruby/command-t/settings.rb
  43. +0 −46 vim/vim.symlink/ruby/command-t/stub.rb
  44. +0 −43 vim/vim.symlink/ruby/command-t/vim.rb
  45. +0 −32 vim/vim.symlink/ruby/command-t/vim/screen.rb
  46. +0 −38 vim/vim.symlink/ruby/command-t/vim/window.rb
  47. +0 −43 vim/vim.symlink/snippets/markdown.snippets
  48. +0 −237 vim/vim.symlink/syntax/coffee.vim
  49. +0 −60 vim/vim.symlink/syntax/eco.vim
  50. +0 −105 vim/vim.symlink/syntax/markdown.vim
  51. +0 −69 vim/vim.symlink/syntax/mustache.vim
  52. +0 −85 vim/vimrc.symlink
View
32 vim/gvimrc.symlink
@@ -1,32 +0,0 @@
-colorscheme desert
-set anti
-set lines=999 columns=84
-set guioptions=egmrt
-
-" Command + t to :CommandT
-if has("gui_macvim")
- macmenu &File.New\ Tab key=<nop>
- map <D-t> :CommandT<CR>
-endif
-
-" Open Command+T in a new tab
-let g:CommandTAcceptSelectionTabMap='<CR>'
-
-" C-TAB and C-SHIFT-TAB cycle tabs forward and backward
-nmap <c-tab> :tabnext<cr>
-imap <c-tab> <c-o>:tabnext<cr>
-vmap <c-tab> <c-o>:tabnext<cr>
-nmap <c-s-tab> :tabprevious<cr>
-imap <c-s-tab> <c-o>:tabprevious<cr>
-vmap <c-s-tab> <c-o>:tabprevious<cr>
-
-" C-# switches to tab
-nmap <d-1> 1gt
-nmap <d-2> 2gt
-nmap <d-3> 3gt
-nmap <d-4> 4gt
-nmap <d-5> 5gt
-nmap <d-6> 6gt
-nmap <d-7> 7gt
-nmap <d-8> 8gt
-nmap <d-9> 9gt
View
2  vim/vim.symlink/.VimballRecord
@@ -1,2 +0,0 @@
-markdown-1.1.0.vba: call delete('/Users/zach/.vim/ftdetect/markdown.vim')|call delete('/Users/zach/.vim/snippets/markdown.snippets')|call delete('/Users/zach/.vim/syntax/markdown.vim')
-command-t-0.8.vba: call delete('/Users/zach/.vim/ruby/command-t/controller.rb')|call delete('/Users/zach/.vim/ruby/command-t/extconf.rb')|call delete('/Users/zach/.vim/ruby/command-t/finder.rb')|call delete('/Users/zach/.vim/ruby/command-t/match_window.rb')|call delete('/Users/zach/.vim/ruby/command-t/prompt.rb')|call delete('/Users/zach/.vim/ruby/command-t/scanner.rb')|call delete('/Users/zach/.vim/ruby/command-t/settings.rb')|call delete('/Users/zach/.vim/ruby/command-t/stub.rb')|call delete('/Users/zach/.vim/ruby/command-t/vim/screen.rb')|call delete('/Users/zach/.vim/ruby/command-t/vim/window.rb')|call delete('/Users/zach/.vim/ruby/command-t/vim.rb')|call delete('/Users/zach/.vim/ruby/command-t/ext.c')|call delete('/Users/zach/.vim/ruby/command-t/match.c')|call delete('/Users/zach/.vim/ruby/command-t/matcher.c')|call delete('/Users/zach/.vim/ruby/command-t/ext.h')|call delete('/Users/zach/.vim/ruby/command-t/match.h')|call delete('/Users/zach/.vim/ruby/command-t/matcher.h')|call delete('/Users/zach/.vim/ruby/command-t/ruby_compat.h')|call delete('/Users/zach/.vim/ruby/command-t/depend')|call delete('/Users/zach/.vim/doc/command-t.txt')|call delete('/Users/zach/.vim/plugin/command-t.vim')
View
10 vim/vim.symlink/after/syntax/html.vim
@@ -1,10 +0,0 @@
-" Language: CoffeeScript
-" Maintainer: Mick Koch <kchmck@gmail.com>
-" URL: http://github.com/kchmck/vim-coffee-script
-" License: WTFPL
-
-" Syntax highlighting for text/coffeescript script tags
-syn include @htmlCoffeeScript syntax/coffee.vim
-syn region coffeeScript start=+<script [^>]*type *=[^>]*text/coffeescript[^>]*>+
-\ end=+</script>+me=s-1 keepend
-\ contains=@htmlCoffeeScript,htmlScriptTag,@htmlPreproc
View
4,731 vim/vim.symlink/autoload/rails.vim
0 additions, 4,731 deletions not shown
View
108 vim/vim.symlink/colors/desert.vim
@@ -1,108 +0,0 @@
-" Vim color file
-" Maintainer: Hans Fugal <hans@fugal.net>
-" Last Change: $Date: 2003/07/24 00:57:11 $
-" Last Change: $Date: 2003/07/24 00:57:11 $
-" URL: http://hans.fugal.net/vim/colors/desert.vim
-" Version: $Id: desert.vim,v 1.7 2003/07/24 00:57:11 fugalh Exp $
-
-" cool help screens
-" :he group-name
-" :he highlight-groups
-" :he cterm-colors
-
-set background=dark
-if version > 580
- " no guarantees for version 5.8 and below, but this makes it stop
- " complaining
- hi clear
- if exists("syntax_on")
- syntax reset
- endif
-endif
-let g:colors_name="desert"
-
-hi Normal guifg=White guibg=grey20
-
-" highlight groups
-hi Cursor guibg=indianred guifg=khaki
-"hi CursorIM
-"hi Directory
-"hi DiffAdd
-"hi DiffChange
-"hi DiffDelete
-"hi DiffText
-"hi ErrorMsg
-hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none
-hi Folded guibg=grey30 guifg=gold
-hi FoldColumn guibg=grey30 guifg=tan
-hi IncSearch guifg=slategrey guibg=khaki
-"hi LineNr
-hi ModeMsg guifg=goldenrod
-hi MoreMsg guifg=SeaGreen
-hi NonText guifg=LightBlue guibg=grey30
-hi Question guifg=springgreen
-hi Search guibg=olivedrab guifg=wheat
-hi SpecialKey guifg=yellowgreen
-hi StatusLine guibg=#c2bfa5 guifg=black gui=none
-hi StatusLineNC guibg=#c2bfa5 guifg=grey50 gui=none
-hi Title guifg=indianred
-hi Visual gui=none guifg=khaki guibg=olivedrab
-"hi VisualNOS
-hi WarningMsg guifg=salmon
-"hi WildMenu
-"hi Menu
-"hi Scrollbar
-"hi Tooltip
-
-" syntax highlighting groups
-hi Comment guifg=SkyBlue
-hi Constant guifg=#ffa0a0
-hi Identifier guifg=palegreen
-hi Statement guifg=khaki
-hi PreProc guifg=indianred
-hi Type guifg=darkkhaki
-hi Special guifg=navajowhite
-"hi Underlined
-hi Ignore guifg=grey40
-"hi Error
-hi Todo guifg=orangered guibg=yellow2
-
-" color terminal definitions
-hi SpecialKey ctermfg=darkgreen
-hi NonText cterm=bold ctermfg=darkblue
-hi Directory ctermfg=darkcyan
-hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
-hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green
-hi Search cterm=NONE ctermfg=grey ctermbg=blue
-hi MoreMsg ctermfg=darkgreen
-hi ModeMsg cterm=NONE ctermfg=brown
-hi LineNr ctermfg=3
-hi Question ctermfg=green
-hi StatusLine cterm=bold,reverse
-hi StatusLineNC cterm=reverse
-hi VertSplit cterm=reverse
-hi Title ctermfg=5
-hi Visual cterm=reverse
-hi VisualNOS cterm=bold,underline
-hi WarningMsg ctermfg=1
-hi WildMenu ctermfg=0 ctermbg=3
-hi Folded ctermfg=darkgrey ctermbg=NONE
-hi FoldColumn ctermfg=darkgrey ctermbg=NONE
-hi DiffAdd ctermbg=4
-hi DiffChange ctermbg=5
-hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
-hi DiffText cterm=bold ctermbg=1
-hi Comment ctermfg=darkcyan
-hi Constant ctermfg=brown
-hi Special ctermfg=5
-hi Identifier ctermfg=6
-hi Statement ctermfg=3
-hi PreProc ctermfg=5
-hi Type ctermfg=2
-hi Underlined cterm=underline ctermfg=5
-hi Ignore cterm=bold ctermfg=7
-hi Ignore ctermfg=darkgrey
-hi Error cterm=bold ctermfg=7 ctermbg=1
-
-
-"vim: sw=4
View
211 vim/vim.symlink/colors/molokai.vim
@@ -1,211 +0,0 @@
-" Vim color file
-"
-" Author: Tomas Restrepo <tomas@winterdom.com>
-"
-" Note: Based on the monokai theme for textmate
-" by Wimer Hazenberg and its darker variant
-" by Hamish Stuart Macpherson
-"
-
-hi clear
-
-set background=dark
-if version > 580
- " no guarantees for version 5.8 and below, but this makes it stop
- " complaining
- hi clear
- if exists("syntax_on")
- syntax reset
- endif
-endif
-let g:colors_name="molokai"
-
-if exists("g:molokai_original")
- let s:molokai_original = g:molokai_original
-else
- let s:molokai_original = 0
-endif
-
-
-hi Boolean guifg=#AE81FF
-hi Character guifg=#E6DB74
-hi Number guifg=#AE81FF
-hi String guifg=#E6DB74
-hi Conditional guifg=#F92672 gui=bold
-hi Constant guifg=#AE81FF gui=bold
-hi Cursor guifg=#000000 guibg=#F8F8F0
-hi Debug guifg=#BCA3A3 gui=bold
-hi Define guifg=#66D9EF
-hi Delimiter guifg=#8F8F8F
-hi DiffAdd guibg=#13354A
-hi DiffChange guifg=#89807D guibg=#4C4745
-hi DiffDelete guifg=#960050 guibg=#1E0010
-hi DiffText guibg=#4C4745 gui=italic,bold
-
-hi Directory guifg=#A6E22E gui=bold
-hi Error guifg=#960050 guibg=#1E0010
-hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
-hi Exception guifg=#A6E22E gui=bold
-hi Float guifg=#AE81FF
-hi FoldColumn guifg=#465457 guibg=#000000
-hi Folded guifg=#465457 guibg=#000000
-hi Function guifg=#A6E22E
-hi Identifier guifg=#FD971F
-hi Ignore guifg=#808080 guibg=bg
-hi IncSearch guifg=#C4BE89 guibg=#000000
-
-hi Keyword guifg=#F92672 gui=bold
-hi Label guifg=#E6DB74 gui=none
-hi Macro guifg=#C4BE89 gui=italic
-hi SpecialKey guifg=#66D9EF gui=italic
-
-hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
-hi ModeMsg guifg=#E6DB74
-hi MoreMsg guifg=#E6DB74
-hi Operator guifg=#F92672
-
-" complete menu
-hi Pmenu guifg=#66D9EF guibg=#000000
-hi PmenuSel guibg=#808080
-hi PmenuSbar guibg=#080808
-hi PmenuThumb guifg=#66D9EF
-
-hi PreCondit guifg=#A6E22E gui=bold
-hi PreProc guifg=#A6E22E
-hi Question guifg=#66D9EF
-hi Repeat guifg=#F92672 gui=bold
-hi Search guifg=#FFFFFF guibg=#455354
-" marks column
-hi SignColumn guifg=#A6E22E guibg=#232526
-hi SpecialChar guifg=#F92672 gui=bold
-hi SpecialComment guifg=#465457 gui=bold
-hi Special guifg=#66D9EF guibg=bg gui=italic
-hi SpecialKey guifg=#888A85 gui=italic
-if has("spell")
- hi SpellBad guisp=#FF0000 gui=undercurl
- hi SpellCap guisp=#7070F0 gui=undercurl
- hi SpellLocal guisp=#70F0F0 gui=undercurl
- hi SpellRare guisp=#FFFFFF gui=undercurl
-endif
-hi Statement guifg=#F92672 gui=bold
-hi StatusLine guifg=#455354 guibg=fg
-hi StatusLineNC guifg=#808080 guibg=#080808
-hi StorageClass guifg=#FD971F gui=italic
-hi Structure guifg=#66D9EF
-hi Tag guifg=#F92672 gui=italic
-hi Title guifg=#ef5939
-hi Todo guifg=#FFFFFF guibg=bg gui=bold
-
-hi Typedef guifg=#66D9EF
-hi Type guifg=#66D9EF gui=none
-hi Underlined guifg=#808080 gui=underline
-
-hi VertSplit guifg=#808080 guibg=#080808 gui=bold
-hi VisualNOS guibg=#403D3D
-hi Visual guibg=#403D3D
-hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
-hi WildMenu guifg=#66D9EF guibg=#000000
-
-if s:molokai_original == 1
- hi Normal guifg=#F8F8F2 guibg=#272822
- hi Comment guifg=#75715E
- hi CursorLine guibg=#3E3D32
- hi CursorColumn guibg=#3E3D32
- hi LineNr guifg=#BCBCBC guibg=#3B3A32
- hi NonText guifg=#BCBCBC guibg=#3B3A32
-else
- hi Normal guifg=#F8F8F2 guibg=#1B1D1E
- hi Comment guifg=#465457
- hi CursorLine guibg=#293739
- hi CursorColumn guibg=#293739
- hi LineNr guifg=#BCBCBC guibg=#232526
- hi NonText guifg=#BCBCBC guibg=#232526
-end
-
-"
-" Support for 256-color terminal
-"
-if &t_Co > 255
- hi Boolean ctermfg=135
- hi Character ctermfg=144
- hi Number ctermfg=135
- hi String ctermfg=144
- hi Conditional ctermfg=161 cterm=bold
- hi Constant ctermfg=135 cterm=bold
- hi Cursor ctermfg=16 ctermbg=253
- hi Debug ctermfg=225 cterm=bold
- hi Define ctermfg=81
- hi Delimiter ctermfg=241
-
- hi DiffAdd ctermbg=24
- hi DiffChange ctermfg=181 ctermbg=239
- hi DiffDelete ctermfg=162 ctermbg=53
- hi DiffText ctermbg=102 cterm=bold
-
- hi Directory ctermfg=118 cterm=bold
- hi Error ctermfg=219 ctermbg=89
- hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
- hi Exception ctermfg=118 cterm=bold
- hi Float ctermfg=135
- hi FoldColumn ctermfg=67 ctermbg=16
- hi Folded ctermfg=67 ctermbg=16
- hi Function ctermfg=118
- hi Identifier ctermfg=208
- hi Ignore ctermfg=244 ctermbg=232
- hi IncSearch ctermfg=193 ctermbg=16
-
- hi Keyword ctermfg=161 cterm=bold
- hi Label ctermfg=229 cterm=none
- hi Macro ctermfg=193
- hi SpecialKey ctermfg=81
-
- hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
- hi ModeMsg ctermfg=229
- hi MoreMsg ctermfg=229
- hi Operator ctermfg=161
-
- " complete menu
- hi Pmenu ctermfg=81 ctermbg=16
- hi PmenuSel ctermbg=244
- hi PmenuSbar ctermbg=232
- hi PmenuThumb ctermfg=81
-
- hi PreCondit ctermfg=118 cterm=bold
- hi PreProc ctermfg=118
- hi Question ctermfg=81
- hi Repeat ctermfg=161 cterm=bold
- hi Search ctermfg=253 ctermbg=66
-
- " marks column
- hi SignColumn ctermfg=118 ctermbg=235
- hi SpecialChar ctermfg=161 cterm=bold
- hi SpecialComment ctermfg=245 cterm=bold
- hi Special ctermfg=81 ctermbg=232
- hi SpecialKey ctermfg=245
-
- hi Statement ctermfg=161 cterm=bold
- hi StatusLine ctermfg=238 ctermbg=253
- hi StatusLineNC ctermfg=244 ctermbg=232
- hi StorageClass ctermfg=208
- hi Structure ctermfg=81
- hi Tag ctermfg=161
- hi Title ctermfg=166
- hi Todo ctermfg=231 ctermbg=232 cterm=bold
-
- hi Typedef ctermfg=81
- hi Type ctermfg=81 cterm=none
- hi Underlined ctermfg=244 cterm=underline
-
- hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
- hi VisualNOS ctermbg=238
- hi Visual ctermbg=235
- hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
- hi WildMenu ctermfg=81 ctermbg=16
-
- hi Normal ctermfg=252 ctermbg=233
- hi Comment ctermfg=59
- hi CursorLine ctermbg=234 cterm=none
- hi CursorColumn ctermbg=234
- hi LineNr ctermfg=250 ctermbg=234
- hi NonText ctermfg=250 ctermbg=234
-end
View
96 vim/vim.symlink/colors/railscasts.vim
@@ -1,96 +0,0 @@
-" Vim color scheme
-"
-" Name: railscasts.vim
-" Maintainer: Nick Moffitt <nick@zork.net>
-" Last Change: 01 Mar 2008
-" License: WTFPL <http://sam.zoy.org/wtfpl/>
-" Version: 2.1
-"
-" This theme is based on Josh O'Rourke's Vim clone of the railscast
-" textmate theme. The key thing I have done here is supply 256-color
-" terminal equivalents for as many of the colors as possible, and fixed
-" up some of the funny behaviors for editing e-mails and such.
-"
-" To use for gvim:
-" 1: install this file as ~/.vim/colors/railscasts.vim
-" 2: put "colorscheme railscasts" in your .gvimrc
-"
-" If you are using Ubuntu, you can get the benefit of this in your
-" terminals using ordinary vim by taking the following steps:
-"
-" 1: sudo apt-get install ncurses-term
-" 2: put the following in your .vimrc
-" if $COLORTERM == 'gnome-terminal'
-" set term=gnome-256color
-" colorscheme railscasts
-" else
-" colorscheme default
-" endif
-" 3: if you wish to use this with screen, add the following to your .screenrc:
-" attrcolor b ".I"
-" termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
-" defbce "on"
-" term screen-256color-bce
-
-set background=dark
-hi clear
-if exists("syntax_on")
- syntax reset
-endif
-
-let g:colors_name = "railscasts"
-
-hi link htmlTag xmlTag
-hi link htmlTagName xmlTagName
-hi link htmlEndTag xmlEndTag
-
-highlight Normal guifg=#E6E1DC guibg=#111111
-highlight Cursor guifg=#000000 ctermfg=0 guibg=#FFFFFF ctermbg=15
-highlight CursorLine guibg=#000000 ctermbg=233 cterm=NONE
-
-highlight Comment guifg=#BC9458 ctermfg=180 gui=italic
-highlight Constant guifg=#6D9CBE ctermfg=73
-highlight Define guifg=#CC7833 ctermfg=173
-highlight Error guifg=#FFC66D ctermfg=221 guibg=#990000 ctermbg=88
-highlight Function guifg=#FFC66D ctermfg=221 gui=NONE cterm=NONE
-highlight Identifier guifg=#6D9CBE ctermfg=73 gui=NONE cterm=NONE
-highlight Include guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
-highlight PreCondit guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
-highlight Keyword guifg=#CC7833 ctermfg=173 cterm=NONE
-highlight LineNr guifg=#2B2B2B ctermfg=159 guibg=#C0C0FF
-highlight Number guifg=#A5C261 ctermfg=107
-highlight PreProc guifg=#E6E1DC ctermfg=103
-highlight Search guifg=NONE ctermfg=NONE guibg=#2b2b2b ctermbg=235 gui=italic cterm=underline
-highlight Statement guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
-highlight String guifg=#A5C261 ctermfg=107
-highlight Title guifg=#FFFFFF ctermfg=15
-highlight Type guifg=#DA4939 ctermfg=167 gui=NONE cterm=NONE
-highlight Visual guibg=#5A647E ctermbg=60
-
-highlight DiffAdd guifg=#E6E1DC ctermfg=7 guibg=#519F50 ctermbg=71
-highlight DiffDelete guifg=#E6E1DC ctermfg=7 guibg=#660000 ctermbg=52
-highlight Special guifg=#DA4939 ctermfg=167
-
-highlight pythonBuiltin guifg=#6D9CBE ctermfg=73 gui=NONE cterm=NONE
-highlight rubyBlockParameter guifg=#FFFFFF ctermfg=15
-highlight rubyClass guifg=#FFFFFF ctermfg=15
-highlight rubyConstant guifg=#DA4939 ctermfg=167
-highlight rubyInstanceVariable guifg=#D0D0FF ctermfg=189
-highlight rubyInterpolation guifg=#519F50 ctermfg=107
-highlight rubyLocalVariableOrMethod guifg=#D0D0FF ctermfg=189
-highlight rubyPredefinedConstant guifg=#DA4939 ctermfg=167
-highlight rubyPseudoVariable guifg=#FFC66D ctermfg=221
-highlight rubyStringDelimiter guifg=#A5C261 ctermfg=143
-
-highlight xmlTag guifg=#E8BF6A ctermfg=179
-highlight xmlTagName guifg=#E8BF6A ctermfg=179
-highlight xmlEndTag guifg=#E8BF6A ctermfg=179
-
-highlight mailSubject guifg=#A5C261 ctermfg=107
-highlight mailHeaderKey guifg=#FFC66D ctermfg=221
-highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline
-
-highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline
-highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline
-highlight SpellCap guifg=#D0D0FF ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline
-highlight MatchParen guifg=#FFFFFF ctermfg=15 guibg=#005f5f ctermbg=23
View
68 vim/vim.symlink/colors/vibrantink.vim
@@ -1,68 +0,0 @@
-" Vim color scheme
-"
-" Name: vibrantink.vim
-" Maintainer: Jo Vermeulen <jo.vermeulen@gmail.com>
-" Last Change: 5 Mar 2009
-" License: public domain
-" Version: 1.3
-"
-" This scheme should work in the GUI and in xterm's 256 color mode. It
-" won't work in 8/16 color terminals.
-"
-" I based it on John Lam's initial Vibrant Ink port to Vim [1]. Thanks
-" to a great tutorial [2], I was able to convert it to xterm 256 color
-" mode. And of course, credits go to Justin Palmer for creating the
-" original Vibrant Ink TextMate color scheme [3].
-"
-" [1] http://www.iunknown.com/articles/2006/09/04/vim-can-save-your-hands-too
-" [2] http://frexx.de/xterm-256-notes/
-" [3] http://encytemedia.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle
-
-set background=dark
-hi clear
-if exists("syntax_on")
- syntax reset
-endif
-
-let g:colors_name = "vibrantink"
-
-if has("gui_running")
- highlight Normal guifg=White guibg=Black
- highlight Cursor guifg=Black guibg=Yellow
- highlight Keyword guifg=#FF6600
- highlight Define guifg=#FF6600
- highlight Comment guifg=#9933CC
- highlight Type guifg=White gui=NONE
- highlight rubySymbol guifg=#339999 gui=NONE
- highlight Identifier guifg=White gui=NONE
- highlight rubyStringDelimiter guifg=#66FF00
- highlight rubyInterpolation guifg=White
- highlight rubyPseudoVariable guifg=#339999
- highlight Constant guifg=#FFEE98
- highlight Function guifg=#FFCC00 gui=NONE
- highlight Include guifg=#FFCC00 gui=NONE
- highlight Statement guifg=#FF6600 gui=NONE
- highlight String guifg=#66FF00
- highlight Search guibg=White
- highlight CursorLine guibg=#323300
-else
- set t_Co=256
- highlight Normal ctermfg=White ctermbg=Black
- highlight Cursor ctermfg=Black ctermbg=Yellow
- highlight Keyword ctermfg=202
- highlight Define ctermfg=202
- highlight Comment ctermfg=98
- highlight Type ctermfg=White
- highlight rubySymbol ctermfg=66
- highlight Identifier ctermfg=White
- highlight rubyStringDelimiter ctermfg=82
- highlight rubyInterpolation ctermfg=White
- highlight rubyPseudoVariable ctermfg=66
- highlight Constant ctermfg=228
- highlight Function ctermfg=220
- highlight Include ctermfg=220
- highlight Statement ctermfg=202
- highlight String ctermfg=82
- highlight Search ctermbg=White
- highlight CursorLine cterm=NONE ctermbg=235
-endif
View
70 vim/vim.symlink/doc/ack.txt
@@ -1,70 +0,0 @@
-*ack.txt* Plugin that integrates ack with Vim
-
-==============================================================================
-Author: Antoine Imbert <antoine.imbert+ackvim@gmail.com> *ack-author*
-License: Same terms as Vim itself (see |license|)
-
-==============================================================================
-INTRODUCTION *ack*
-
-This plugin is a front for the Perl module App::Ack. Ack can be used as a
-replacement for grep. This plugin will allow you to run ack from vim, and
-shows the results in a split window.
-
-:Ack[!] [options] {pattern} [{directory}] *:Ack*
-
- Search recursively in {directory} (which defaults to the current
- directory) for the {pattern}. Behaves just like the |:grep| command, but
- will open the |Quickfix| window for you. If [!] is not given the first
- error is jumped to.
-
-:AckAdd [options] {pattern} [{directory}] *:AckAdd*
-
- Just like |:Ack|, but instead of making a new list, the matches are
- appended to the current |quickfix| list.
-
-:AckFromSearch [{directory}] *:AckFromSearch*
-
- Just like |:Ack| but the pattern is from previous search.
-
-:LAck [options] {pattern} [{directory}] *:LAck*
-
- Just like |:Ack| but instead of the |quickfix| list, matches are placed in
- the current |location-list|.
-
-:LAckAdd [options] {pattern} [{directory}] *:LAckAdd*
-
- Just like |:AckAdd| but instead of the |quickfix| list, matches are added
- to the current |location-list|
-
-:AckFile [options] {pattern} [{directory}] *:AckFile*
-
- Search recursively in {directory} (which defaults to the current
- directory) for filenames matching the {pattern}. Behaves just like the
- |:grep| command, but will open the |Quickfix| window for you.
-
-Files containing the search term will be listed in the split window, along
-with the line number of the occurrence, once for each occurrence. <Enter> on
-a line in this window will open the file, and place the cursor on the matching
-line.
-
-See http://betterthangrep.com/ for more information.
-
-==============================================================================
-MAPPINGS *ack-mappings*
-
-The following keyboard shortcuts are available in the quickfix window:
-
-o open file (same as enter).
-
-go preview file (open but maintain focus on ack.vim results).
-
-t open in a new tab.
-
-T open in new tab silently.
-
-v open in vertical split.
-
-gv open in vertical split silently.
-
-q close the quickfix window.
View
695 vim/vim.symlink/doc/command-t.txt
@@ -1,695 +0,0 @@
-*command-t.txt* Command-T plug-in for Vim *command-t*
-
-CONTENTS *command-t-contents*
-
- 1. Introduction |command-t-intro|
- 2. Requirements |command-t-requirements|
- 3. Installation |command-t-installation|
- 3. Managing using Pathogen |command-t-pathogen|
- 4. Trouble-shooting |command-t-trouble-shooting|
- 5. Usage |command-t-usage|
- 6. Commands |command-t-commands|
- 7. Mappings |command-t-mappings|
- 8. Options |command-t-options|
- 9. Authors |command-t-authors|
-10. Website |command-t-website|
-11. Donations |command-t-donations|
-12. License |command-t-license|
-13. History |command-t-history|
-
-
-INTRODUCTION *command-t-intro*
-
-The Command-T plug-in provides an extremely fast, intuitive mechanism for
-opening files with a minimal number of keystrokes. It's named "Command-T"
-because it is inspired by the "Go to File" window bound to Command-T in
-TextMate.
-
-Files are selected by typing characters that appear in their paths, and are
-ordered by an algorithm which knows that characters that appear in certain
-locations (for example, immediately after a path separator) should be given
-more weight.
-
-To search efficiently, especially in large projects, you should adopt a
-"path-centric" rather than a "filename-centric" mentality. That is you should
-think more about where the desired file is found rather than what it is
-called. This means narrowing your search down by including some characters
-from the upper path components rather than just entering characters from the
-filename itself.
-
-Screencasts demonstrating the plug-in can be viewed at:
-
- https://wincent.com/products/command-t
-
-
-REQUIREMENTS *command-t-requirements*
-
-The plug-in requires Vim compiled with Ruby support, a compatible Ruby
-installation at the operating system level, and a C compiler to build
-the Ruby extension.
-
-1. Vim compiled with Ruby support
-
-You can check for Ruby support by launching Vim with the --version switch:
-
- vim --version
-
-If "+ruby" appears in the version information then your version of Vim has
-Ruby support.
-
-Another way to check is to simply try using the :ruby command from within Vim
-itself:
-
- :ruby 1
-
-If your Vim lacks support you'll see an error message like this:
-
- E319: Sorry, the command is not available in this version
-
-The version of Vim distributed with Mac OS X does not include Ruby support,
-while MacVim does; it is available from:
-
- http://github.com/b4winckler/macvim/downloads
-
-For Windows users, the executable from www.vim.org does include Ruby support.
-
-2. Ruby
-
-In addition to having Ruby support in Vim, your system itself must have a
-compatible Ruby install. "Compatible" means the same version as Vim itself
-links against. If you use a different version then Command-T is unlikely
-to work (see TROUBLE-SHOOTING below).
-
-On Mac OS X Snow Leopard, the system comes with Ruby 1.8.7 and all recent
-versions of MacVim (the 7.2 snapshots and 7.3) are linked against it.
-
-On Linux and similar platforms, the linked version of Ruby will depend on
-your distribution. You can usually find this out by examining the
-compilation and linking flags displayed by the |:version| command in Vim, and
-by looking at the output of:
-
- :ruby puts RUBY_VERSION
-
-On Windows, Vim 7.3 links against Ruby 1.9.1, while previous versions linked
-against Ruby 1.8.7.
-
-A suitable Ruby environment for Windows can be installed using RubyInstaller
-available at:
-
- http://rubyinstaller.org/download.html
-
-If using RubyInstaller be sure to download the installer executable, not the
-7-zip archive. When installing mark the checkbox "Add Ruby executables to your
-PATH" so that Vim can find them.
-
-3. C compiler
-
-Part of Command-T is implemented in C as a Ruby extension for speed, allowing
-it to work responsively even on directory hierarchies containing enormous
-numbers of files. As such, a C compiler is required in order to build the
-extension and complete the installation.
-
-On Mac OS X, this can be obtained by installing the Xcode Tools that come on
-the Mac OS X install disc.
-
-On Windows, the RubyInstaller Development Kit can be used to conveniently
-install the necessary tool chain:
-
- http://wiki.github.com/oneclick/rubyinstaller/development-kit
-
-To use the Development Kit extract the archive contents to your C:\Ruby
-folder.
-
-
-INSTALLATION *command-t-installation*
-
-Command-T is distributed as a "vimball" which means that it can be installed
-by opening it in Vim and then sourcing it:
-
- :e command-t.vba
- :so %
-
-The files will be installed in your |'runtimepath'|. To check where this is
-you can issue:
-
- :echo &rtp
-
-The C extension must then be built, which can be done from the shell. If you
-use a typical |'runtimepath'| then the files were installed inside ~/.vim and
-you can build the extension with:
-
- cd ~/.vim/ruby/command-t
- ruby extconf.rb
- make
-
-Note: If you are an RVM user, you must perform the build using the same
-version of Ruby that Vim itself is linked against. This will often be the
-system Ruby, which can be selected before issuing the "make" command with:
-
- rvm use system
-
-
-MANAGING USING PATHOGEN *command-t-pathogen*
-
-Pathogen is a plugin that allows you to maintain plugin installations in
-separate, isolated subdirectories under the "bundle" directory in your
-|'runtimepath'|. The following examples assume that you already have
-Pathogen installed and configured, and that you are installing into
-~/.vim/bundle. For more information about Pathogen, see:
-
- http://www.vim.org/scripts/script.php?script_id=2332
-
-If you manage your entire ~/.vim folder using Git then you can add the
-Command-T repository as a submodule:
-
- cd ~/.vim
- git submodule add git://git.wincent.com/command-t.git bundle/command-t
- git submodule init
-
-Or if you just wish to do a simple clone instead of using submodules:
-
- cd ~/.vim
- git clone git://git.wincent.com/command-t.git bundle/command-t
-
-Once you have a local copy of the repository you can update it at any time
-with:
-
- cd ~/.vim/bundle/command-t
- git pull
-
-Or you can switch to a specific release with:
-
- cd ~/.vim/bundle/command-t
- git checkout 0.8b
-
-After installing or updating you must build the extension:
-
- cd ~/.vim/bundle/command-t
- rake make
-
-While the Vimball installation automatically generates the help tags, under
-Pathogen it is necessary to do so explicitly from inside Vim:
-
- :call pathogen#helptags()
-
-
-TROUBLE-SHOOTING *command-t-trouble-shooting*
-
-Most installation problems are caused by a mismatch between the version of
-Ruby on the host operating system, and the version of Ruby that Vim itself
-linked against at compile time. For example, if one is 32-bit and the other is
-64-bit, or one is from the Ruby 1.9 series and the other is from the 1.8
-series, then the plug-in is not likely to work.
-
-As such, on Mac OS X, I recommend using the standard Ruby that comes with the
-system (currently 1.8.7) along with the latest version of MacVim (currently
-version 7.3). If you wish to use custom builds of Ruby or of MacVim (not
-recommmended) then you will have to take extra care to ensure that the exact
-same Ruby environment is in effect when building Ruby, Vim and the Command-T
-extension.
-
-On Windows, I recommend using the version 1.9.1 RubyInstaller and the
-corresponding RubyInstaller Development Kit linked to above, along with the
-standard (32-bit) version of Vim 7.3 that can be downloaded from www.vim.org.
-If you are still using Vim 7.2 then you should instead use version 1.8.7 of
-RubyInstaller.
-
-If a problem occurs the first thing you should do is inspect the output of:
-
- ruby extconf.rb
- make
-
-During the installation, and:
-
- vim --version
-
-And compare the compilation and linker flags that were passed to the
-extension and to Vim itself when they were built. If the Ruby-related
-flags or architecture flags are different then it is likely that something
-has changed in your Ruby environment and the extension may not work until
-you eliminate the discrepancy.
-
-
-USAGE *command-t-usage*
-
-Bring up the Command-T match window by typing:
-
- <Leader>t
-
-This mapping is set up automatically for you, provided you do not already have
-a mapping for <Leader>t or |:CommandT|. You can also bring up the match window
-by issuing the command:
-
- :CommandT
-
-A prompt will appear at the bottom of the screen along with a match window
-showing all of the files in the current directory (as returned by the
-|:pwd| command).
-
-For the most efficient file navigation within a project it's recommended that
-you |:cd| into the root directory of your project when starting to work on it.
-If you wish to open a file from outside of the project folder you can pass in
-an optional path argument (relative or absolute) to |:CommandT|:
-
- :CommandT ../path/to/other/files
-
-Type letters in the prompt to narrow down the selection, showing only the
-files whose paths contain those letters in the specified order. Letters do not
-need to appear consecutively in a path in order for it to be classified as a
-match.
-
-Once the desired file has been selected it can be opened by pressing <CR>.
-(By default files are opened in the current window, but there are other
-mappings that you can use to open in a vertical or horizontal split, or in
-a new tab.) Note that if you have |'nohidden'| set and there are unsaved
-changes in the current window when you press <CR> then opening in the current
-window would fail; in this case Command-T will open the file in a new split.
-
-The following mappings are active when the prompt has focus:
-
- <BS> delete the character to the left of the cursor
- <Del> delete the character at the cursor
- <Left> move the cursor one character to the left
- <C-h> move the cursor one character to the left
- <Right> move the cursor one character to the right
- <C-l> move the cursor one character to the right
- <C-a> move the cursor to the start (left)
- <C-e> move the cursor to the end (right)
- <C-u> clear the contents of the prompt
- <Tab> change focus to the match listing
-
-The following mappings are active when the match listing has focus:
-
- <Tab> change focus to the prompt
-
-The following mappings are active when either the prompt or the match listing
-has focus:
-
- <CR> open the selected file
- <C-CR> open the selected file in a new split window
- <C-s> open the selected file in a new split window
- <C-v> open the selected file in a new vertical split window
- <C-t> open the selected file in a new tab
- <C-j> select next file in the match listing
- <C-n> select next file in the match listing
- <Down> select next file in the match listing
- <C-k> select previous file in the match listing
- <C-p> select previous file in the match listing
- <Up> select previous file in the match listing
- <C-c> cancel (dismisses match listing)
-
-The following is also available on terminals which support it:
-
- <Esc> cancel (dismisses match listing)
-
-Note that the default mappings can be overriden by setting options in your
-~/.vimrc file (see the OPTIONS section for a full list of available options).
-
-In addition, when the match listing has focus, typing a character will cause
-the selection to jump to the first path which begins with that character.
-Typing multiple characters consecutively can be used to distinguish between
-paths which begin with the same prefix.
-
-
-COMMANDS *command-t-commands*
-
- *:CommandT*
-|:CommandT| Brings up the Command-T match window, starting in the
- current working directory as returned by the|:pwd|
- command.
-
- *:CommandTFlush*
-|:CommandTFlush|Instructs the plug-in to flush its path cache, causing
- the directory to be rescanned for new or deleted paths
- the next time the match window is shown. In addition, all
- configuration settings are re-evaluated, causing any
- changes made to settings via the |:let| command to be picked
- up.
-
-
-MAPPINGS *command-t-mappings*
-
-By default Command-T comes with only one mapping:
-
- <Leader>t bring up the Command-T match window
-
-However, Command-T won't overwrite a pre-existing mapping so if you prefer
-to define a different mapping use a line like this in your ~/.vimrc:
-
- nmap <silent> <Leader>t :CommandT<CR>
-
-Replacing "<Leader>t" with your mapping of choice.
-
-Note that in the case of MacVim you actually can map to Command-T (written
-as <D-t> in Vim) in your ~/.gvimrc file if you first unmap the existing menu
-binding of Command-T to "New Tab":
-
- if has("gui_macvim")
- macmenu &File.New\ Tab key=<nop>
- map <D-t> :CommandT<CR>
- endif
-
-When the Command-T window is active a number of other additional mappings
-become available for doing things like moving between and selecting matches.
-These are fully described above in the USAGE section, and settings for
-overriding the mappings are listed below under OPTIONS.
-
-
-OPTIONS *command-t-options*
-
-A number of options may be set in your ~/.vimrc to influence the behaviour of
-the plug-in. To set an option, you include a line like this in your ~/.vimrc:
-
- let g:CommandTMaxFiles=20000
-
-To have Command-T pick up new settings immediately (that is, without having
-to restart Vim) you can issue the |:CommandTFlush| command after making
-changes via |:let|.
-
-Following is a list of all available options:
-
- *g:CommandTMaxFiles*
- |g:CommandTMaxFiles| number (default 10000)
-
- The maximum number of files that will be considered when scanning the
- current directory. Upon reaching this number scanning stops.
-
- *g:CommandTMaxDepth*
- |g:CommandTMaxDepth| number (default 15)
-
- The maximum depth (levels of recursion) to be explored when scanning the
- current directory. Any directories at levels beyond this depth will be
- skipped.
-
- *g:CommandTMaxHeight*
- |g:CommandTMaxHeight| number (default: 0)
-
- The maximum height in lines the match window is allowed to expand to.
- If set to 0, the window will occupy as much of the available space as
- needed to show matching entries.
-
- *g:CommandTAlwaysShowDotFiles*
- |g:CommandTAlwaysShowDotFiles| boolean (default: 0)
-
- By default Command-T will show dot-files only if the entered search
- string contains a dot that could cause a dot-file to match. When set to
- a non-zero value, this setting instructs Command-T to always include
- matching dot-files in the match list regardless of whether the search
- string contains a dot. See also |g:CommandTNeverShowDotFiles|.
-
- *g:CommandTNeverShowDotFiles*
- |g:CommandTNeverShowDotFiles| boolean (default: 0)
-
- By default Command-T will show dot-files if the entered search string
- contains a dot that could cause a dot-file to match. When set to a
- non-zero value, this setting instructs Command-T to never show dot-files
- under any circumstances. Note that it is contradictory to set both this
- setting and |g:CommandTAlwaysShowDotFiles| to true, and if you do so Vim
- will suffer from headaches, nervous twitches, and sudden mood swings.
-
- *g:CommandTScanDotDirectories*
- |g:CommandTScanDotDirectories| boolean (default: 0)
-
- Normally Command-T will not recurse into "dot-directories" (directories
- whose names begin with a dot) while performing its initial scan. Set
- this setting to a non-zero value to override this behavior and recurse.
- Note that this setting is completely independent of the
- |g:CommandTAlwaysShowDotFiles| and |g:CommandTNeverShowDotFiles|
- settings; those apply only to the selection and display of matches
- (after scanning has been performed), whereas
- |g:CommandTScanDotDirectories| affects the behaviour at scan-time.
-
- Note also that even with this setting on you can still use Command-T to
- open files inside a "dot-directory" such as ~/.vim, but you have to use
- the |:cd| command to change into that directory first. For example:
-
- :cd ~/.vim
- :CommandT
-
- *g:CommandTMatchWindowAtTop*
- |g:CommandTMatchWindowAtTop| boolean (default: 0)
-
- When this settings is off (the default) the match window will appear at
- the bottom so as to keep it near to the prompt. Turning it on causes the
- match window to appear at the top instead. This may be preferable if you
- want the best match (usually the first one) to appear in a fixed location
- on the screen rather than moving as the number of matches changes during
- typing.
-
-As well as the basic options listed above, there are a number of settings that
-can be used to override the default key mappings used by Command-T. For
-example, to set <C-x> as the mapping for cancelling (dismissing) the Command-T
-window, you would add the following to your ~/.vimrc:
-
- let g:CommandTCancelMap='<C-x>'
-
-Multiple, alternative mappings may be specified using list syntax:
-
- let g:CommandTCancelMap=['<C-x>', '<C-c>']
-
-Following is a list of all map settings and their defaults:
-
- Setting Default mapping(s)
-
- *g:CommandTBackspaceMap*
- |g:CommandTBackspaceMap| <BS>
-
- *g:CommandTDeleteMap*
- |g:CommandTDeleteMap| <Del>
-
- *g:CommandTAcceptSelectionMap*
- |g:CommandTAcceptSelectionMap| <CR>
-
- *g:CommandTAcceptSelectionSplitMap*
- |g:CommandTAcceptSelectionSplitMap| <C-CR>
- <C-s>
-
- *g:CommandTAcceptSelectionTabMap*
- |g:CommandTAcceptSelectionTabMap| <C-t>
-
- *g:CommandTAcceptSelectionVSplitMap*
- |g:CommandTAcceptSelectionVSplitMap| <C-v>
-
- *g:CommandTToggleFocusMap*
- |g:CommandTToggleFocusMap| <Tab>
-
- *g:CommandTCancelMap*
- |g:CommandTCancelMap| <C-c>
- <Esc> (not on all terminals)
-
- *g:CommandTSelectNextMap*
- |g:CommandTSelectNextMap| <C-n>
- <C-j>
- <Down>
-
- *g:CommandTSelectPrevMap*
- |g:CommandTSelectPrevMap| <C-p>
- <C-k>
- <Up>
-
- *g:CommandTClearMap*
- |g:CommandTClearMap| <C-u>
-
- *g:CommandTCursorLeftMap*
- |g:CommandTCursorLeftMap| <Left>
- <C-h>
-
- *g:CommandTCursorRightMap*
- |g:CommandTCursorRightMap| <Right>
- <C-l>
-
- *g:CommandTCursorEndMap*
- |g:CommandTCursorEndMap| <C-e>
-
- *g:CommandTCursorStartMap*
- |g:CommandTCursorStartMap| <C-a>
-
-In addition to the options provided by Command-T itself, some of Vim's own
-settings can be used to control behavior:
-
- *command-t-wildignore*
- |'wildignore'| string (default: '')
-
- Vim's |'wildignore'| setting is used to determine which files should be
- excluded from listings. This is a comma-separated list of glob patterns.
- It defaults to the empty string, but common settings include "*.o,*.obj"
- (to exclude object files) or ".git,.svn" (to exclude SCM metadata
- directories). For example:
-
- :set wildignore+=*.o,*.obj,.git
-
- A pattern such as "vendor/rails/**" would exclude all files and
- subdirectories inside the "vendor/rails" directory (relative to
- directory Command-T starts in).
-
- See the |'wildignore'| documentation for more information.
-
-
-AUTHORS *command-t-authors*
-
-Command-T is written and maintained by Wincent Colaiuta <win@wincent.com>.
-Other contributors that have submitted patches include:
-
- Lucas de Vries
- Mike Lundy
- Scott Bronson
- Zak Johnson
-
-As this was the first Vim plug-in I had ever written I was heavily influenced
-by the design of the LustyExplorer plug-in by Stephen Bach, which I understand
-is one of the largest Ruby-based Vim plug-ins to date.
-
-While the Command-T codebase doesn't contain any code directly copied from
-LustyExplorer, I did use it as a reference for answers to basic questions (like
-"How do you do 'X' in a Ruby-based Vim plug-in?"), and also copied some basic
-architectural decisions (like the division of the code into Prompt, Settings
-and MatchWindow classes).
-
-LustyExplorer is available from:
-
- http://www.vim.org/scripts/script.php?script_id=1890
-
-
-WEBSITE *command-t-website*
-
-The official website for Command-T is:
-
- https://wincent.com/products/command-t
-
-The latest release will always be available from there.
-
-Development in progress can be inspected via the project's Git repository
-browser at:
-
- http://git.wincent.com/command-t.git
-
-A copy of each release is also available from the official Vim scripts site
-at:
-
- http://www.vim.org/scripts/script.php?script_id=3025
-
-Bug reports should be submitted to the issue tracker at:
-
- https://wincent.com/issues
-
-
-DONATIONS *command-t-donations*
-
-Command-T itself is free software released under the terms of the BSD license.
-If you would like to support further development you can make a donation via
-PayPal to win@wincent.com:
-
- https://wincent.com/products/command-t/donations
-
-
-LICENSE *command-t-license*
-
-Copyright 2010 Wincent Colaiuta. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-
-HISTORY *command-t-history*
-
-0.8 (19 August 2010)
-
-- overrides for the default mappings can now be lists of strings, allowing
- multiple mappings to be defined for any given action
-- <Leader>t mapping only set up if no other map for |:CommandT| exists
- (patch from Scott Bronson)
-- prevent folds from appearing in the match listing
-- tweaks to avoid the likelihood of "Not enough room" errors when trying to
- open files
-- watch out for "nil" windows when restoring window dimensions
-- optimizations (avoid some repeated downcasing)
-- move all Ruby files under the "command-t" subdirectory and avoid polluting
- the "Vim" module namespace
-
-0.8b (11 July 2010)
-
-- large overhaul of the scoring algorithm to make the ordering of returned
- results more intuitive; given the scope of the changes and room for
- optimization of the new algorithm, this release is labelled as "beta"
-
-0.7 (10 June 2010)
-
-- handle more |'wildignore'| patterns by delegating to Vim's own |expand()|
- function; with this change it is now viable to exclude patterns such as
- 'vendor/rails/**' in addition to filename-only patterns like '*.o' and
- '.git' (patch from Mike Lundy)
-- always sort results alphabetically for empty search strings; this eliminates
- filesystem-specific variations (patch from Mike Lundy)
-
-0.6 (28 April 2010)
-
-- |:CommandT| now accepts an optional parameter to specify the starting
- directory, temporarily overriding the usual default of Vim's |:pwd|
-- fix truncated paths when operating from root directory
-
-0.5.1 (11 April 2010)
-
-- fix for Ruby 1.9 compatibility regression introduced in 0.5
-- documentation enhancements, specifically targetted at Windows users
-
-0.5 (3 April 2010)
-
-- |:CommandTFlush| now re-evaluates settings, allowing changes made via |let|
- to be picked up without having to restart Vim
-- fix premature abort when scanning very deep directory hierarchies
-- remove broken |<Esc>| key mapping on vt100 and xterm terminals
-- provide settings for overriding default mappings
-- minor performance optimization
-
-0.4 (27 March 2010)
-
-- add |g:CommandTMatchWindowAtTop| setting (patch from Zak Johnson)
-- documentation fixes and enhancements
-- internal refactoring and simplification
-
-0.3 (24 March 2010)
-
-- add |g:CommandTMaxHeight| setting for controlling the maximum height of the
- match window (patch from Lucas de Vries)
-- fix bug where |'list'| setting might be inappropriately set after dismissing
- Command-T
-- compatibility fix for different behaviour of "autoload" under Ruby 1.9.1
-- avoid "highlight group not found" warning when run under a version of Vim
- that does not have syntax highlighting support
-- open in split when opening normally would fail due to |'hidden'| and
- |'modified'| values
-
-0.2 (23 March 2010)
-
-- compatibility fixes for compilation under Ruby 1.9 series
-- compatibility fixes for compilation under Ruby 1.8.5
-- compatibility fixes for Windows and other non-UNIX platforms
-- suppress "mapping already exists" message if <Leader>t mapping is already
- defined when plug-in is loaded
-- exclude paths based on |'wildignore'| setting rather than a hardcoded
- regular expression
-
-0.1 (22 March 2010)
-
-- initial public release
-
-------------------------------------------------------------------------------
-vim:tw=78:ft=help:
View
1,134 vim/vim.symlink/doc/rails.txt
@@ -1,1134 +0,0 @@
-*rails.txt* Plugin for working with Ruby on Rails applications
-
-Author: Tim Pope <vimNOSPAM@tpope.org> |rails-plugin-author|
-
-|rails-introduction| Introduction and Feature Summary
-|rails-installation| Installation and Usage
-|rails-configure-vim| Configuring Vim
-|rails-install-plugin| Installing and Using the Plugin
-|rails-commands| General Commands
-|rails-navigation| Navigation
-|rails-gf| File Under Cursor - gf
-|rails-alternate-related| Alternate and Related Files
-|rails-type-navigation| File Type Commands
-|rails-custom-navigation| Custom Navigation Commands
-|rails-rake| Rake
-|rails-scripts| Script Wrappers
-|rails-refactoring| Refactoring Helpers
-|rails-partials| Partial Extraction
-|rails-migrations| Migration Inversion
-|rails-integration| Integration
-|rails-vim-integration| Integration with the Vim Universe
-|rails-rails-integration| Integration with the Rails Universe
-|rails-abbreviations| Abbreviations
-|rails-syntax| Syntax Highlighting
-|rails-options| Managed Vim Options
-|rails-configuration| Configuration
-|rails-global-settings| Global Settings
-|rails-about| About rails.vim
-|rails-license| License
-
-This plugin is only available if 'compatible' is not set.
-
-{Vi does not have any of this}
-
-INTRODUCTION *rails-introduction* *rails*
-
-TextMate may be the latest craze for developing Ruby on Rails applications,
-but Vim is forever. This plugin offers the following features for Ruby on
-Rails application development.
-
-1. Automatically detects buffers containing files from Rails applications,
- and applies settings to those buffers (and only those buffers). You can
- use an autocommand to apply your own custom settings as well.
- |rails-configuration|
-
-2. Unintrusive. Only files in a Rails application should be affected; regular
- Ruby scripts are left untouched. Even when enabled, the plugin should keep
- out of your way if you're not using its features. (If you find a situation
- where this is not a case, contact the |rails-plugin-author|.)
-
-3. Easy navigation of the Rails directory structure. |gf| considers context
- and knows about partials, fixtures, and much more. There are two commands,
- :A (alternate) and :R (related) for easy jumping between files, including
- favorites like model to migration, template to helper, and controller to
- functional test. For more advanced usage, :Rmodel, :Rview, :Rcontroller,
- and several other commands are provided. |rails-navigation|
-
-4. Enhanced syntax highlighting. From has_and_belongs_to_many to
- distance_of_time_in_words, it's here. For easy completion of these long
- method names, 'completefunc' is set to enable syntax based completion on
- |i_CTRL-X_CTRL-U|. |rails-syntax|
-
-5. Interface to rake. Use :Rake to run the current test, spec, or feature.
- Use :.Rake to do a focused run of just the method, example, or scenario on
- the current line. :Rake can also run arbitrary migrations, load individual
- fixtures, and more. |rails-rake|
-
-6. Interface to script/*. Generally, use ":Rscript about" to call
- "script/about". Most commands have wrappers with additional features:
- ":Rgenerate controller Blog" generates a blog controller and edits
- app/controllers/blog_controller.rb. |rails-scripts|
-
-7. Partial extraction and migration inversion. |:Rextract| {file} replaces
- the desired range (ideally selected in visual line mode) with "render
- :partial => '{file}'", which is automatically created with your content.
- The @{file} instance variable is replaced with the {file} local variable.
- |:Rinvert| takes a self.up migration and writes a self.down.
- |rails-refactoring|
-
-8. Integration with other plugins. |:Rtree| spawns NERDTree.vim or creates a
- new project.vim project. If dbext.vim is installed, it will be
- transparently configured to reflect database.yml. Cream users get some
- additional mappings, and all GUI users get a menu. |rails-integration|
-
-INSTALLATION AND USAGE *rails-installation*
-
-If you are familiar Vim and have the latest version installed, you may skip
-directly to |rails-install-plugin| below.
-
-Configuring Vim ~
- *rails-configure-vim*
-If you are new to Vim, you need to create a vimrc. For Windows, this file
-goes in ~\_vimrc (try :e ~\_vimrc if you don't know where this is). On other
-platforms, use ~/.vimrc. A very minimal example file is shown below.
->
- set nocompatible
- syntax on
- filetype plugin indent on
->
-Installing and Using the Plugin ~
- *rails-install-plugin*
-If you have the zip file, extract it to vimfiles (Windows) or ~/.vim
-(everything else). You should have the following files: >
- autoload/rails.vim
- plugin/rails.vim
- doc/rails.txt
-See |add-local-help| for instructions on enabling the documentation. In a
-nutshell: >
- :helptags ~/.vim/doc
-
-Whenever you edit a file in a Rails application, this plugin will be
-automatically activated. This sets various options and defines a few
-buffer-specific commands.
-
-If you are in a hurry to get started, with a minimal amount of reading, you
-are encouraged to at least skim through the headings and command names in this
-file, to get a better idea of what is offered. If you only read one thing,
-make sure it is the navigation section: |rails-navigation|.
-
-GENERAL COMMANDS *rails-commands*
-
-All commands are buffer local, unless otherwise stated. This means you must
-actually edit a file from a Rails application.
-
- *rails-:Rails*
-:Rails {directory} The only global command. Creates a new Rails
- application in {directory}, and loads the README.
-
-:Rails! Show the version of rails.vim installed. If rails.vim
- is active for the current buffer, also show the type
- of Rails file detected.
-
- *rails-:Rcd*
-:Rcd [{directory}] |:cd| to /path/to/railsapp/{directory}.
-
- *rails-:Rlcd*
-:Rlcd [{directory}] |:lcd| to /path/to/railsapp/{directory}.
-
- *rails-:Rdoc*
-:Rdoc Browse to the Rails API, either in doc/api in the
- current Rails application, gem_server if it is
- running, or http://api.rubyonrails.org/ . Requires
- :OpenURL to be defined (see |rails-:OpenURL|).
-
- *rails-:Rdoc!*
-:Rdoc! Make the appropriate |:helptags| call and invoke
- |:help| rails.
-
- *rails-:Redit*
-:Redit {file} Edit {file}, relative to the application root. Append
- :line or #method to jump within the file, as in
- :Redit app/controllers/users_controller.rb:12 or
- :Redit app/models/user.rb#activate .
-
- *rails-:Rlog*
-:Rlog [{logfile}] Split window and open {logfile} ($RAILS_ENV or
- development by default). The control characters used
- for highlighting are removed. If you have a :Tail
- command (provided by |tailminusf|.vim), that is used;
- otherwise, the file does NOT reload upon change.
- Use |:checktime| to tell Vim to check for changes.
- |G| has been mapped to do just that prior to jumping
- to the end of the file, and q is mapped to close the
- window. If the delay in loading is too long, you
- might like :Rake log:clear.
-
- *rails-:Rpreview*
-:Rpreview [{path}] Creates a URL from http://localhost:3000/ and the
- {path} given. The not too useful default is to then
- edit this URL using Vim itself, allowing |netrw| to
- download it. More useful is to define a :OpenURL
- command, which will be used instead (see
- |rails-:OpenURL|). If {path} is omitted, a sensible
- default is used (considers the current
- controller/template, but does not take routing into
- account). The default is overridden by comments like
- the following that are either before the current
- method call or at the top of the file: >
- # GET /users
- # PUT /users/1
-<
- *rails-:Rpreview!*
-:Rpreview! [{path}] As with :Rpreview, except :OpenURL is never used.
-
- *rails-:Rtags*
-:Rtags Calls ctags -R on the current application root and
- writes the result to tmp/tags. Exuberant ctags must
- be installed. Additional arguments can be passed to
- ctags with |g:rails_ctags_arguments|.
-
- *rails-:Rrefresh*
-:Rrefresh Refreshes certain cached settings. Most noticeably,
- this clears the cached list of classes that are syntax
- highlighted as railsUserClass.
-
- *rails-:Rrefresh!*
-:Rrefresh! As above, and also reloads rails.vim.
-
- *rails-:OpenURL*
-:OpenURL {url} This is not a command provided by the plugin, but
- rather provided by user and utilized by other plugin
- features. This command should be defined to open the
- provided {url} in a web browser. An example command
- on a Mac might be: >
- :command -bar -nargs=1 OpenURL :!open <args>
-< The following appears to work on Windows: >
- :command -bar -nargs=1 OpenURL :!start cmd /cstart /b <args>
-< On Debian compatible distributions, the following is
- the preferred method: >
- :command -bar -nargs=1 OpenURL :!sensible-browser <args>
-< If exists("$SECURITYSESSIONID"), has("gui_win32"), or
- executable("sensible-browser") is true, the
- corresponding command above will be automatically
- defined. Otherwise, you must provide your own (which
- is recommended, regardless).
-
-NAVIGATION *rails-navigation*
-
-Navigation is where the real power of this plugin lies. Efficient use of the
-following features will greatly ease navigating the Rails file structure.
-
-The 'path' has been modified to include all the best places to be.
->
- :find blog_controller
- :find book_test
-<
- *rails-:Rfind*
-:Rfind [{file}] Find {file}. Very similar to :find, but things like
- BlogController are properly handled, and tab complete
- works.
-
-File Under Cursor - gf ~
- *rails-gf*
-The |gf| command, which normally edits the current file under the cursor, has
-been remapped to take context into account. |CTRL-W_f|(open in new window) and
-|CTRL-W_gf| (open in new tab) are also remapped.
-
-Example uses of |gf|, and where they might lead.
-(* indicates cursor position)
->
- Pos*t.first
-< app/models/post.rb ~
->
- has_many :c*omments
-< app/models/comment.rb ~
->
- link_to 'Home', :controller => 'bl*og'
-< app/controllers/blog_controller.rb ~
->
- <%= render 'sh*ared/sidebar' %>
-< app/views/shared/_sidebar.html.erb ~
->
- <%= stylesheet_link_tag 'scaf*fold' %>
-< public/stylesheets/scaffold.css ~
->
- class BlogController < Applica*tionController
-< app/controllers/application_controller.rb ~
->
- class ApplicationController < ActionCont*roller::Base
-< .../action_controller/base.rb ~
->
- fixtures :pos*ts
-< test/fixtures/posts.yml ~
->
- layout :pri*nt
-< app/views/layouts/print.html.erb ~
->
- <%= link_to "New", new_comme*nt_path %>
-< app/controllers/comments_controller.rb (jumps to def new) ~
-
-In the last example, the controller and action for the named route are
-determined by evaluating routes.rb as Ruby and doing some introspection. This
-means code from the application is executed. Keep this in mind when
-navigating unfamiliar applications.
-
-Alternate and Related Files ~
- *rails-alternate-related*
-Two commands, :A and :R, are used quickly jump to an "alternate" and a
-"related" file, defined below.
-
- *rails-:A* *rails-:AE* *rails-:AS* *rails-:AV* *rails-:AT* *rails-:AD*
-:A These commands were picked to mimic Michael Sharpe's
-:AE a.vim. Briefly, they edit the "alternate" file, in
-:AS either the same window (:A and :AE), a new split
-:AV window (:AS), a new vertically split window (:AV), a
-:AT new tab (:AT), or read it into the current buffer
-:AD (:AD). A mapping for :A is [f .
-
- *rails-:R* *rails-:RE* *rails-:RS* *rails-:RV* *rails-:RT* *rails-:RD*
-:R These are similar |rails-:A| and friends above, only
-:RE they jump to the "related" file rather than the
-:RS "alternate." A mapping for :R is ]f .
-:RV
-:RT
-:RD
-
- *rails-alternate* *rails-related*
-The alternate file is most frequently the test file, though there are
-exceptions. The related file varies, and is sometimes dependent on current
-location in the file. For example, when editing a controller, the related
-file is template for the method currently being edited.
-
-The easiest way to learn these commands is to experiment. A few examples of
-alternate and related files for a Test::Unit application follow:
-
-Current file Alternate file Related file ~
-model unit test schema definition
-controller (in method) functional test template (view)
-template (view) functional test controller (jump to method)
-migration previous migration next migration
-config/database.yml config/routes.rb config/environments/*.rb
-
-Suggestions for further contexts to consider for the alternate file, related
-file, and file under the cursor are welcome. They are subtly tweaked from
-release to release.
-
-File Type Navigation Commands ~
- *rails-type-navigation*
-For the less common cases, a more deliberate set of commands are provided.
-Each of the upcoming commands takes an optional argument (with tab completion)
-but defaults to a reasonable guess. Commands that default to the current
-model or controller generally behave like you'd expect in other file types.
-For example, in app/helpers/posts_helper.rb, the current controller is
-"posts", and in test/fixtures/comments.yml, the current model is "comment".
-In model related files, the current controller is the pluralized model name,
-and in controller related files, the current model is the singularized
-controller name.
-
-Each of the following commands has variants for splitting, vertical splitting,
-opening in a new tab, and reading the file into the current buffer. For
-:Rmodel, those variants would be :RSmodel, :RVmodel, :RTmodel, and :RDmodel.
-There is also :REmodel which is a synonym for :Rmodel (future versions might
-allow customization of the behavior of :Rmodel). They also allow for jumping
-to methods or line numbers using the same syntax as |:Redit|, and file
-creation can be forced by adding a ! after the filename (not after the command
-itself!).
-
-:Rcontroller |rails-:Rcontroller|
-:Renvironment |rails-:Renvironment|
-:Rfixtures |rails-:Rfixtures|
-:Rfunctionaltest |rails-:Rfunctionaltest|
-:Rhelper |rails-:Rhelper|
-:Rinitializer |rails-:Rinitializer|
-:Rintegrationtest |rails-:Rintegrationtest|
-:Rjavascript |rails-:Rjavascript|
-:Rlayout |rails-:Rlayout|
-:Rlib |rails-:Rlib|
-:Rlocale |rails-:Rlocale|
-:Rmailer |rails-:Rmailer|
-:Rmetal |rails-:Rmetal|
-:Rmigration |rails-:Rmigration|
-:Rmodel |rails-:Rmodel|
-:Robserver |rails-:Robserver|
-:Rplugin |rails-:Rplugin|
-:Rspec |rails-:Rspec|
-:Rstylesheet |rails-:Rstylesheet|
-:Rtask |rails-:Rtask|
-:Runittest |rails-:Runittest|
-:Rview |rails-:Rview|
-
- *rails-:Rcontroller*
-:Rcontroller [{name}] Edit the specified or current controller.
-
- *rails-:Renvironment*
-:Renvironment [{name}] Edit the config/environments file specified. With no
- argument, defaults to editing config/application.rb
- or config/environment.rb.
-
- *rails-:Rfixtures*
-:Rfixtures [{name}] Edit the fixtures for the given or current model. If
- an argument is given, it must be pluralized, like the
- final filename (this may change in the future). If
- omitted, the current model is pluralized. An optional
- extension can be given, to distinguish between YAML
- and CSV fixtures.
-
- *rails-:Rfunctionaltest*
-:Rfunctionaltest [{name}]
- Edit the functional test or controller spec for the
- specified or current controller.
-
- *rails-:Rhelper*
-:Rhelper [{name}] Edit the helper for the specified name or current
- controller.
-
- *rails-:Rinitializer*
-:Rinitializer [{name}] Edit the config/initializers file specified. With no
- argument, defaults to editing config/routes.rb.
-
- *rails-:Rintegrationtest*
-:Rintegrationtest [{name}]
- Edit the integration test, integration spec, or
- cucumber feature specified. With no argument,
- defaults to editing test/test_helper.rb.
-
- *rails-:Rjavascript*
-:Rjavascript [{name}] Edit the javascript for the specified name or current
- controller.
-
- *rails-:Rlayout*
-:Rlayout [{name}] Edit the specified layout. Defaults to the layout for
- the current controller, or the application layout if
- that cannot be found. A new layout will be created if
- an extension is given.
-
- *rails-:Rlib*
-:Rlib [{name}] Edit the library from the lib directory for the
- specified name. If the current file is part of a
- plugin, the libraries from that plugin can be
- specified as well. With no argument, defaults to
- editing db/seeds.rb.
-
- *rails-:Rlocale*
-:Rlocale [{name}] Edit the config/locale file specified, optionally
- adding a yml or rb extension if none is given. With
- no argument, checks config/environment.rb for the
- default locale.
-
- *rails-:Rmailer*
-:Rmailer [{name}] Edit the mailer specified. This looks in both
- app/mailers for Rails 3 and app/models for older
- versions of Rails but only tab completes the former.
-
- *rails-:Rmetal*
-:Rmetal [{name}] Edit the app/metal file specified. With no argument,
- defaults to editing config/boot.rb.
-
- *rails-:Rmigration*
-:Rmigration [{pattern}] If {pattern} is a number, find the migration for that
- particular set of digits, zero-padding if necessary.
- Otherwise, find the newest migration containing the
- given pattern. Omitting the pattern selects the
- latest migration. Give a numeric argument of 0 to edit
- db/schema.rb.
-
- *rails-:Rmodel*
-:Rmodel [{name}] Edit the specified or current model.
-
- *rails-:Robserver*
-:Robserver [{name}] Find the observer with a name like
- {model}_observer.rb. When in an observer, most
- commands (like :Rmodel) will seek based on the
- observed model ({model}) and not the actual observer
- ({model}_observer). However, for the command
- :Runittest, a file of the form
- {model}_observer_test.rb will be found.
-
- *rails-:Rplugin*
-:Rplugin [{plugin}[/{path}]]
- Edits a file within a plugin. If the path to the file
- is omitted, it defaults to init.rb. If no argument is
- given, it defaults to editing the application Gemfile.
-
- *rails-:Rspec*
-:Rspec [{name}] Edit the given spec. With no argument, defaults to
- editing spec/spec_helper.rb (If you want to jump to
- the spec for the given file, use |:A| instead). This
- command is only defined if there is a spec folder in
- the root of the application.
-
- *rails-:Rstylesheet*
-:Rstylesheet [{name}] Edit the stylesheet for the specified name or current
- controller.
-
- *rails-:Rtask*
-:Rtask [{name}] Edit the .rake file from lib/tasks for the specified
- name. If the current file is part of a plugin, the
- tasks for that plugin can be specified as well. If no
- argument is given, either the current plugin's
- Rakefile or the application Rakefile will be edited.
-
- *rails-:Runittest*
-:Runittest [{name}] Edit the unit test or model spec for the specified
- name or current model.
-
- *rails-:Rview*
-:Rview [[{controller}/]{view}]
- Edit the specified view. The controller will default
- sensibly, and the view name can be omitted when
- editing a method of a controller. If a view name is
- given with an extension, a new file will be created.
- This is a quick way to create a new view.
-
-Custom Navigation Commands ~
- *rails-custom-navigation*
-
-It is also possible to create custom navigation commands. This is best done
-in an initialization routine of some sort (e.g., an autocommand); see
-|rails-configuration| for details.
-
- *rails-:Rnavcommand*
-:Rnavcommand [options] {name} [{path} ...]
- Create a navigation command with the supplied
- name, looking in the supplied paths, using the
- supplied options. The -suffix option specifies what
- suffix to filter on, and strip from the filename, and
- defaults to -suffix=.rb . The -glob option specifies
- a file glob to use to find files, _excluding_ the
- suffix. Useful values include -glob=* and -glob=**/*.
- The -default option specifies a default argument (not
- a full path). If it is specified as -default=model(),
- -default=controller(), or -default=both(), the current
- model, controller, or both (as with :Rintegrationtest)
- is used as a default.
-
- *rails-:Rcommand*
-:Rcommand Obsolete alias for |:Rnavcommand|.
-
-Examples: >
- Rnavcommand api app/apis -glob=**/* -suffix=_api.rb
- Rnavcommand config config -glob=*.* -suffix= -default=routes.rb
- Rnavcommand concern app/concerns -glob=**/*
- Rnavcommand exemplar test/exemplars spec/exemplars -glob=**/*
- \ -default=model() -suffix=_exemplar.rb
-
-Finally, one Vim feature that proves helpful in conjunction with all of the
-above is |CTRL-^|. This keystroke edits the previous file, and is helpful to
-back out of any of the above commands.
-
-RAKE *rails-rake*
-
-Rake integration happens through the :Rake command.
-
- *rails-:Rake*
-:[range]Rake {targets} Calls |:make!| {targets} (with 'makeprg' being rake)
- and opens the quickfix window if there were any
- errors. An argument of "-" reruns the last task. If
- {targets} are omitted, :Rake defaults to something
- sensible as described below. Giving a line number
- argument may affect that default.
-
- *rails-:Rake!*
-:[range]Rake! {targets} Called with a bang, :Rake will forgo opening the
- quickfix window.
-
- *rails-rake-defaults*
-
-Generally, the default task is one that runs the test you'd expect. For
-example, if you're in a view in an RSpec application, the view spec is run,
-but if it's a Test::Unit application, the functional test for the
-corresponding controller is run. The following table lists the most
-interesting mappings:
-
-File Task ~
-unit test test:units TEST=...
-functional test test:functionals TEST=...
-integration test test:integration TEST=...
-spec spec SPEC=...
-feature cucumber FEATURE=...
-model test:units TEST=... spec SPEC=...
-controller test:functionals TEST=... spec SPEC=...
-helper test:functionals TEST=... spec SPEC=...
-view test:functionals TEST=... spec SPEC=...
-fixtures db:fixtures:load FIXTURES=...
-migration db:migrate VERSION=...
-config/routes.rb routes
-db/seeds.rb db:seed
-
-Additionally, when :Rake is given a line number (e.g., :.Rake), the following
-additional tasks can be invoked:
-
-File Task ~
-unit test test:units TEST=... TESTOPTS=-n...
-functional test test:functionals TEST=... TESTOPTS=-n...
-integration test test:integration TEST=... TESTOPTS=-n...
-spec spec SPEC=...:...
-feature cucumber FEATURE=...:...
-controller routes CONTROLLER=...
-fixtures db:fixtures:identify LABEL=...
-migration in self.up db:migrate:up VERSION=...
-migration in self.down db:migrate:down VERSION=...
-migration elsewhere db:migrate:redo VERSION=...
-task ... (try to guess currently edited declaration)
-
-Finally, you can override the default task with a comment like "# rake ..."
-before the method pointed to by [range] or at the top of the file.
-
-SCRIPT WRAPPERS *rails-scripts*
-
-The following commands are wrappers around the scripts in the script directory
-of the Rails application. Most have extra features beyond calling the script.
-A limited amount of completion with <Tab> is supported.
-
- *rails-:Rscript*
-:Rscript {script} {options}
- Call ruby script/{script} {options}. Defaults to
- calling script/console.
-
- *rails-:Rconsole*
-:Rconsole {options} Obsolete. Call |:Rscript| instead.
-
- *rails-:Rrunner*
-:[range]Rrunner {code} Executes {code} with script/runner. Differs from
- :Rscript runner {code} in that the code is passed as
- one argument. Also, |system()| is used instead of
- |:!|. This is to help eliminate annoying "Press
- ENTER" prompts. If a line number is given in the
- range slot, the output is pasted into the buffer after
- that line.
-
- *rails-:Rp*
-:[range]Rp {code} Like :Rrunner, but call the Ruby p method on the
- result. Literally "p begin {code} end".
-
- *rails-:Rpp* *rails-:Ry*
-:[range]Rpp {code} Like :Rp, but with pp (pretty print) or y (YAML
-:[range]Ry {code} output).
-
- *rails-:Rgenerate*
-:Rgenerate {options} Calls script/generate {options}, and then edits the
- first file generated.
-
- *rails-:Rdestroy*
-:Rdestroy {options} Calls script/destroy {options}.
-
- *rails-:Rserver*
-:Rserver {options} Launches script/server {options} in the background.
- On win32, this means |!start|. On other systems, this
- uses the --daemon option.
-
- *rails-:Rserver!*
-:Rserver! {options} Same as |:Rserver|, only first attempts to kill any
- other server using the same port. On non-Windows
- systems, lsof must be installed for this to work.
-
-REFACTORING HELPERS *rails-refactoring*
-
-A few features are dedicated to helping you refactor your code.
-
-Partial Extraction ~
- *rails-partials*
-
-The :Rextract command can be used to extract a partial to a new file.
-
- *rails-:Rextract*
-:[range]Rextract [{controller}/]{name}
- Create a {name} partial from [range] lines (default:
- current line).
-
- *rails-:Rpartial*
-:[range]Rpartial [{controller}/]{name}
- Obsolete alias for :Rextract.
-
-If this is your file, in app/views/blog/show.html.erb: >
-
- 1 <div>
- 2 <h2><%= @post.title %></h2>
- 3 <p><%= @post.body %></p>
- 4 </div>
-
-And you issue this command: >
-
- :2,3Rextract post
-
-Your file will change to this: >
-
- 1 <div>
- 2 <%= render :partial => 'post' %>
- 3 </div>
-
-And app/views/blog/_post.html.erb will now contain: >
-
- 1 <h2><%= post.title %></h2>
- 2 <p><%= post.body %></p>
-
-As a special case, if the file had looked like this: >
-
- 1 <% for object in @posts -%>
- 2 <h2><%= object.title %></h2>
- 3 <p><%= object.body %></p>
- 4 <% end -%>
-<
-The end result would have been this: >
-
- 1 <%= render :partial => 'post', :collection => @posts %>
-<
-The easiest way to choose what to extract is to use |linewise-visual| mode.
-Then, a simple >
- :'<,'>Rextract blog/post
-will suffice. (Note the use of a controller name in this example.)
-
-Migration Inversion ~
- *rails-migrations* *rails-:Rinvert*
-:Rinvert In a migration, rewrite the self.up method into a
- self.down method. If self.up is empty, the process is
- reversed. This chokes on more complicated
- instructions, but works reasonably well for simple
- calls to create_table, add_column, and the like.
-
-INTEGRATION *rails-integration*
-
-Having one foot in Rails and one in Vim, rails.vim has two worlds with which
-to interact.
-
-Integration with the Vim Universe ~
- *rails-vim-integration*
-
-A handful of Vim plugins are enhanced by rails.vim. All plugins mentioned can
-be found at http://www.vim.org/. Cream and GUI menus (for lack of a better
-place) are also covered in this section.
-
- *rails-:Rtree* *rails-:Rproject*
-:Rtree [{arg}] If |NERDTree| is installed, open a tree for the
- application root or the given subdirectory.
- Otherwise, if the |project| plugin is installed,
- invoke :Project (typically without an argument), and
- search for the root of the current Rails application.
- If it is not found, create a new project, with
- appropriate directories (app, etc., but not vendor).
-
- *rails-:Rdbext* *rails-dbext*
-:Rdbext [{environment}] This command is only provided when the |dbext| plugin
- is installed. Loads the {environment} configuration
- (defaults to $RAILS_ENV or development) from
- config/database.yml and uses it to configure dbext.
- The configuration is cached on a per application
- basis. With dbext version 8.00 and newer, this
- command is called automatically when needed. When
- dbext is configured, you can execute SQL directly from
- Vim: >
- :Select * from posts order by id desc
- :Update comments set author_id = 1
-<
- *rails-surround*
-The |surround| plugin available from vim.org enables adding and removing
-"surroundings" like parentheses, quotes, and HTML tags. Even by itself, it is
-quite useful for Rails development, particularly eRuby editing. When coupled
-with this plugin, a few additional replacement surroundings are available in
-eRuby files. See the |surround| documentation for details on how to use them.
-The table below uses ^ to represent the position of the surrounded text.
-
-Key Surrounding ~
-= <%= ^ %>
-- <% ^ -%>
-# <%# ^ %>
-<C-E> <% ^ -%>\n<% end -%>
-
-The last surrounding is particularly useful in insert mode with the following
-map in one's vimrc. Use Alt+o to open a new line below the current one. This
-works nicely even in a terminal (where most alt/meta maps will fail) because
-most terminals send <M-o> as <Esc>o anyways.
->
- imap <M-o> <Esc>o
-<
-One can also use the <C-E> surrounding in a plain Ruby file to append a bare
-"end" on the following line.
-
- *rails-abolish*
-Among the many features of |abolish| on vim.org is the ability to change the
-inflection of the word under the cursor. For example, one can hit crs to
-change from MixedCase to snake_case. This plugin adds two additional
-inflections: crl for alternating between the singular and plural, and crt for
-altering between tableize and classify. The latter is useful in changing
-constructs like BlogPost.all to current_user.blog_posts.all and vice versa.
-
- *rails-cream*
-This plugin provides a few additional key bindings if it is running under
-Cream, the user friendly editor which uses Vim as a back-end. Ctrl+Enter
-finds the file under the cursor (as in |rails-gf|), and Alt+[ and Alt+] find
-the alternate (|rails-alternate|) and related (|rails-related|) files.
-
- *rails-menu*
-If the GUI is running, a menu for several commonly used features is provided.
-Also on this menu is a list of recently accessed projects. This list of
-projects can persist across restarts if a 'viminfo' flag is set to enable
-retaining certain global variables. If this interests you, add something like
-the following to your vimrc: >
- set viminfo^=!
-<
-Integration with the Rails Universe ~
- *rails-rails-integration*
-The general policy of rails.vim is to focus exclusively on the Ruby on Rails
-core. Supporting plugins and other add-ons to Rails has the potential to
-rapidly get out of hand. However, a few pragmatic exceptions have been made.
-
- *rails-template-types*
-Commands like :Rview use a hardwired list of extensions (erb, rjs, etc.)
-when searching for files. In order to facilitate working with non-standard
-template types, several popular extensions are featured in this list,
-including haml, liquid, and mab (markaby). These extensions will disappear
-once a related configuration option is added to rails.vim.
-
- *rails-rspec*
-The presence of a spec directory causes several additional behaviors to
-activate. :A knows about specs and will jump to them (but Test::Unit files
-still get priority). The associated controller or model of a spec is
-detected, so all navigation commands should work as expected inside a spec
-file. :Rake in a spec runs just that spec, and in a model, controller, or
-helper, runs the associated spec.
-
-|:Runittest| and |:Rfunctionaltest| lead double lives, handling model and
-controller specs respectively. For helper and view specs, you can use
-|:Rspec| or define your own navigation commands:
->
- Rnavcommand spechelper spec/helpers -glob=**/*
- \ -suffix=_helper_spec.rb -default=controller()
- Rnavcommand specview spec/views -glob=**/* -suffix=_spec.rb
-<
-ABBREVIATIONS *rails-abbreviations* *rails-snippets*
-
-Abbreviations are "snippets lite". They may later be extracted into a
-separate plugin, or removed entirely.
-
- *rails-:Rabbrev*
-:Rabbrev List all Rails abbreviations.
-
-:Rabbrev {abbr} {expn} [{extra}]
- Define a new Rails abbreviation. {extra} is permitted
- if and only if {expn} ends with "(".
-
- *rails-:Rabbrev!*
-:Rabbrev! {abbr} Remove an abbreviation.
-
-Rails abbreviations differ from regular abbreviations in that they only expand
-after a <C-]> (see |i_CTRL-]|) or a <Tab> (if <Tab> does not work, it is
-likely mapped by another plugin). If the abbreviation ends in certain
-punctuation marks, additional expansions are possible. A few examples will
-hopefully clear this up (all of the following are enabled by default in
-appropriate file types).
-
-Command Sequence typed Resulting text ~
-Rabbrev rp( render :partial\ => rp( render(:partial =>
-Rabbrev rp( render :partial\ => rp<Tab> render :partial =>
-Rabbrev vs( validates_size_of vs( validates_size_of(
-Rabbrev pa[ params pa[:id] params[:id]
-Rabbrev pa[ params pa<C-]> params
-Rabbrev pa[ params pa.inspect params.inspect
-Rabbrev AR:: ActionRecord AR::Base ActiveRecord::Base
-Rabbrev :a :action\ =>\ render :a<Tab> render :action =>
-
-In short, ( expands on (, :: expands on . and :, and [ expands on . and [.
-These trailing punctuation marks are NOT part of the final abbreviation, and
-you cannot have two mappings that differ only by punctuation.
-
-You must escape spaces in your expansion, either as "\ " or as "<Space>". For
-an abbreviation ending with "(", you may define where to insert the
-parenthesis by splitting the expansion into two parts (divided by an unescaped
-space).
-
-Many abbreviations are provided by default: use :Rabbrev to list them. They
-vary depending on the type of file (models have different abbreviations than
-controllers). There is one "smart" abbreviation, :c, which expands to
-":controller => ", ":collection => ", or ":conditions => " depending on
-context.
-
-SYNTAX HIGHLIGHTING *rails-syntax*
-
-Syntax highlighting is by and large a transparent process. For the full
-effect, however, you need a colorscheme which accentuates rails.vim
-extensions. One such colorscheme is vividchalk, available from vim.org.
-
-The following is a summary of the changes made by rails.vim to the standard
-syntax highlighting.
-
- *rails-syntax-keywords*
-Rails specific keywords are highlighted in a filetype specific manner. For
-example, in a model, has_many is highlighted, whereas in a controller,
-before_filter is highlighted. A wide variety of syntax groups are used but
-they all link by default to railsMethod.
-
-If you feel a method has been wrongfully omitted, submit it to the
-|rails-plugin-author|.
-
- *rails-syntax-classes*
-Models, helpers, and controllers are given special highlighting. Depending on
-the version of Vim installed, you may need a rails.vim aware colorscheme in
-order to see this. Said colorscheme needs to provide highlighting for the
-railsUserClass syntax group.
-
-The class names are determined by camelizing filenames from certain
-directories of your application. If app/models/line_item.rb exists, the class
-"LineItem" will be highlighted.
-
-The list of classes is refreshed automatically after certain commands like
-|:Rgenerate|. Use |:Rrefresh| to trigger the process manually.
-
- *rails-syntax-assertions*
-If you define custom assertions in test_helper.rb, these will be highlighted
-in your tests. These are found by scanning test_helper.rb for lines of the
-form " def assert_..." and extracting the method name. The railsUserMethod
-syntax group is used. The list of assertions can be refreshed with
-|:Rrefresh|.
-
- *rails-syntax-strings*
-In the following line of code, the "?" in the conditions clause and the "ASC"
-in the order clause will be highlighted: >
- Post.find(:all, :conditions => ["body like ?","%e%"], :order => "title ASC")
-<
-A string literal using %Q<> or %<> delimiters will have its contents
-highlighted as HTML. This is sometimes useful when writing helpers. >
- link = %<<a href="http://www.vim.org">Vim</a>>
-<
- *rails-syntax-yaml*
-YAML syntax highlighting has been extended to highlight eRuby, which can be
-used in most Rails YAML files (including database.yml and fixtures).
-
-MANAGED VIM OPTIONS *rails-options*
-
-The following options are set local to buffers where the plugin is active.
-
- *rails-'shiftwidth'* *rails-'sw'*
- *rails-'softtabstop'* *rails-'sts'*
- *rails-'expandtab'* *rails-'et'*
-A value of 2 is used for 'shiftwidth' (and 'softtabstop'), and 'expandtab' is
-enabled. This is a strong convention in Rails, so the conventional wisdom
-that this is a user preference has been ignored.
-
- *rails-'path'* *rails-'pa'*
-All the relevant directories from your application are added to your 'path'.
-This makes it easy to access a buried file: >
- :find blog_controller.rb
-<
- *rails-'suffixesadd'* *rails-'sua'*
-This is filetype dependent, but typically includes .rb, .rake, and several
-others. This allows shortening the above example: >
- :find blog_controller
-<
- *rails-'includeexpr'* *rails-'inex'*
-The 'includeexpr' option is set to enable the magic described in |rails-gf|.
-
- *rails-'statusline'* *rails-'stl'*
-Useful information is added to the 'statusline', when |g:rails_statusline| is
-enabled.
-
- *rails-'filetype'* *rails-'ft'*
-The 'filetype' is sometimes adjusted for Rails files. Most notably, *.rxml
-and *.rjs are treated as Ruby files, and files that have been falsely
-identified as Mason sources are changed back to eRuby files (but only when
-they are part of a Rails application).
-
- *rails-'completefunc'* *rails-'cfu'*
-A 'completefunc' is provided (if not already set). It is very simple, as it
-uses syntax highlighting to make its guess. See |i_CTRL-X_CTRL-U|.
-
-CONFIGURATION *rails-configuration*
-
-Very little configuration is actually required; this plugin automatically
-detects your Rails application and adjusts Vim sensibly.
-
- *rails-:autocmd* *rails-autocommands*
-If you would like to set your own custom Vim settings whenever a Rails file is
-loaded, you can use an autocommand like the following in your vimrc: >
- autocmd User Rails silent! Rlcd
- autocmd User Rails map <buffer> <F9> :Rake<CR>
-You can also have autocommands that only apply to certain types of files.
-These are based off the information shown when running the |:Rails!|
-command, with hyphens changed to periods. A few examples: >
- autocmd User Rails.controller* iabbr <buffer> wsn wsdl_service_name
- autocmd User Rails.model.arb* iabbr <buffer> vfo validates_format_of
- autocmd User Rails.view.erb* imap <buffer> <C-Z> <%= %><C-O>3h
-End all such Rails autocommands with asterisks, even if you have an exact
-specification, to allow for more specific subtypes to be added in the future.
-There is also a filename matching syntax: >
- autocmd User Rails/config/environment.rb Rabbrev c config
- autocmd User Rails/**/foo_bar.rb Rabbrev FB:: FooBar
-Use the filetype based syntax whenever possible, reserving the filename based
-syntax for more advanced cases.
-
- *macros/rails.vim*
-If you have several commands to run on initialization for all file types, they
-can be placed in a "macros/rails.vim" file in the 'runtimepath' (for example,
-"~/.vim/macros/rails.vim"). This file is sourced by rails.vim each time a
-Rails file is loaded.
-
- *config/rails.vim*
-If you have settings particular to a specific project, they can be put in a
-config/rails.vim file in the root directory of the application. The file is
-sourced in the |sandbox| for security reasons.
-
- *rails-:Rset*
-:Rset {option}[={value}]
- Query or set a local option. This command may be
- called directly, from an autocommand, or from
- config/rails.vim.
-
-Options may be set in one of four scopes, which may be indicated by an
-optional prefix. These scopes determine how broadly an option will apply.
-Generally, the default scope is sufficient.
-
-Scope Description ~
-a: All files in one Rails application
-b: Buffer (file) specific
-g: Global to all applications
-l: Local to method (same as b: in non-Ruby files)
-
-Options are shown below with their default scope, which should be omitted.
-While you may override the scope with a prefix, this is rarely necessary and
-oftentimes useless. (For example, setting g:task is useless because the
-default rake task will apply before considering this option.)
-
-Option Meaning ~
-b:alternate Custom alternate file for :A, relative to the Rails root
-b:controller Default controller for certain commands (e.g., :Rhelper)
-b:model Default model for certain commands (e.g., :Rfixtures)
-l:related Custom related file for :R, relative to the Rails root
-a:root_url Root URL for commands like :Rpreview
-
-Examples: >
- :Rset root_url=http://localhost:12345
- :Rset related=app/views/blog/edit.html.erb
-<
- *rails-modelines*
-If |g:rails_modelines| is enabled, these options can also be set from
-modelines near the beginning or end of the file. These modelines will always
-set buffer-local options; scope should never be specified. Examples: >
- # Rset task=db:schema:load
- <%# Rset alternate=app/views/layouts/application.html.erb %>
-Modelines can also be local to a method. Example: >
- def test_comment
- # rset alternate=app/models/comment.rb
-These two forms differ only in case.
-
-Modelines are deprecated.
-
-GLOBAL SETTINGS *rails-global-settings*
-
-A few global variables control the behavior of this plugin. In general, they
-can be enabled by setting them to 1 in your vimrc, and disabled by setting
-them to 0. >
- let g:rails_some_option=1
- let g:rails_some_option=0
-Most of these seldom need to be used. So seldom, in fact, that you should
-notify the |rails-plugin-author| if you find any of them useful, as nearly all
-are being considered for removal.
-
- *g:loaded_rails* >
- let g:loaded_rails=1
-Set this include guard to prevent the plugin from being loaded.
-
- *g:rails_abbreviations*
-Enable Rails abbreviations. See |rails-abbreviations|. Enabled by default.
-
- *g:rails_ctags_arguments* >
- let g:rails_ctags_arguments='--exclude="*.js"'
-Additional arguments to pass to ctags from |:Rtags|. Defaults to
-'--exclude=facebox.js --exclude="*.*.js"', which attempts to ignore jQuery
-plugins that can choke up ctags.
-
- *g:rails_default_file* >
- let g:rails_default_file='config/database.yml'
-File to load when a new Rails application is created, or when loading an
-existing project from the menu. Defaults to the README.
-
- *rails-screen* *g:rails_gnu_screen* >
- let g:rails_gnu_screen=1
-Use GNU Screen or Tmux (if it is running) to launch |:Rscript| console and
-|:Rserver| in the background. Enabled by default.
-
- *g:rails_history_size* >
- let g:rails_history_size=5
-Number of projects to remember. Set to 0 to disable. See |rails-menu| for
-information on retaining these projects across a restart.
-
- *g:rails_mappings* >
- let g:rails_mappings=1
-Enables a few mappings (mostly for |rails-navigation|). Enabled by default.
-
- *g:rails_modelines* >
- let g:rails_modelines=1
-Enable modelines like the following: >
- # Rset task=db:schema:load
-Modelines set buffer-local options using the :Rset command.
-Also enables method specific modelines (note the case difference): >
- def show
- # rset preview=blog/show/1
-Modelines are deprecated and disabled by default.
-
- *g:rails_menu* >
- let g:rails_menu=1
-When 2, a Rails menu is created. When 1, this menu is a submenu under the
-Plugin menu. The default is 1 except on MacVim, where reports of weird
-terminal output have led to it being disabled by default.
-
- *g:rails_url* >
- let g:rails_url='http://localhost:3000/'
-Used for the |:Rpreview| command. Default is as shown above. Overridden by
-b:rails_url.
-
- *g:rails_statusline* >
- let g:rails_statusline=1
-Give a clue in the statusline when this plugin is enabled. Enabled by
-default. This used to be a far more verbose indicator which included the
-type of Rails file. If you actually liked this, you can add either
-%{rails#statusline(1)} or %{rails#STATUSLINE(1)} to 'statusline' explicitly
-(and let the author know, because this fallback is likely getting the boot).
-
- *g:rails_syntax* >
- let g:rails_syntax=1
-When enabled, this tweaks the syntax highlighting to be more Rails friendly.
-Enabled by default. See |rails-syntax|.
-
- *rails-tabs* *g:rails_tabstop* >
- let g:rails_tabstop=4
-This option now requires the plugin railstab.vim from vim.org:
- http://www.vim.org/scripts/script.php?script_id=2253
-
-If your goal is simply just override this plugin's settings and use your own
-custom 'shiftwidth', adjust things manually in an autocommand: >
- autocmd User Rails set sw=4 sts=4 noet
-This is highly discouraged: don't fight Rails.
-
-ABOUT *rails-about* *rails-plugin-author*
-
-This plugin was written by Tim Pope. Email him at <vimNOSPAM@tpope.org>. He
-can also be found on Freenode's IRC network, hanging out in #rubyonrails and
-#vim as tpope.
-
-The official homepage is
- http://rails.vim.tpope.net
-The latest stable version can be found at
- http://www.vim.org/scripts/script.php?script_id=1567
-You can keep up to date with |GetLatestVimScripts|.
-
-The very latest development versions can be retrieved from Git:
- http://github.com/tpope/vim-rails
- git clone git://github.com/tpope/vim-rails.git
-
-The Github repository has Pledgie donations enabled. All donations made will
-proxied along to ICCF, which goes to help needy children in |Uganda|.
-Donations will be made in through the plugin author's vim.org account through
-http://www.vim.org/sponsor/ . The voting privileges associated with the
-donation will be used to vote for features that will enable better plugins in
-the future. If you would rather keep those voting privileges for yourself, or
-you want your donation to be tax deductible, donate directly through vim.org
-instead. Donations have historically been matched.
-
-Feedback is highly desired on this plugin. Please send all comments,
-complaints, and compliments to the author. No bug is too small to report.
-
- *rails-license*
-This plugin is distributable under the same terms as Vim itself. See
-|license|. No warranties, expressed or implied.
-
- vim:tw=78:ts=8:ft=help:norl:
View
280 vim/vim.symlink/doc/tags
@@ -1,280 +0,0 @@
-'NERDChristmasTree' NERD_tree.txt /*'NERDChristmasTree'*
-'NERDTreeAutoCenter' NERD_tree.txt /*'NERDTreeAutoCenter'*
-'NERDTreeAutoCenterThreshold' NERD_tree.txt /*'NERDTreeAutoCenterThreshold'*
-'NERDTreeBookmarksFile' NERD_tree.txt /*'NERDTreeBookmarksFile'*
-'NERDTreeCaseSensitiveSort' NERD_tree.txt /*'NERDTreeCaseSensitiveSort'*
-'NERDTreeChDirMode' NERD_tree.txt /*'NERDTreeChDirMode'*
-'NERDTreeHighlightCursorline' NERD_tree.txt /*'NERDTreeHighlightCursorline'*
-'NERDTreeHijackNetrw' NERD_tree.txt /*'NERDTreeHijackNetrw'*
-'NERDTreeIgnore' NERD_tree.txt /*'NERDTreeIgnore'*
-'NERDTreeMouseMode' NERD_tree.txt /*'NERDTreeMouseMode'*
-'NERDTreeQuitOnOpen' NERD_tree.txt /*'NERDTreeQuitOnOpen'*
-'NERDTreeShowBookmarks' NERD_tree.txt /*'NERDTreeShowBookmarks'*
-'NERDTreeShowFiles' NERD_tree.txt /*'NERDTreeShowFiles'*
-'NERDTreeShowHidden' NERD_tree.txt /*'NERDTreeShowHidden'*
-'NERDTreeShowLineNumbers' NERD_tree.txt /*'NERDTreeShowLineNumbers'*
-'NERDTreeSortOrder' NERD_tree.txt /*'NERDTreeSortOrder'*
-'NERDTreeStatusline' NERD_tree.txt /*'NERDTreeStatusline'*
-'NERDTreeWinPos' NERD_tree.txt /*'NERDTreeWinPos'*
-'NERDTreeWinSize' NERD_tree.txt /*'NERDTreeWinSize'*
-'loaded_nerd_tree' NERD_tree.txt /*'loaded_nerd_tree'*
-:CommandT command-t.txt /*:CommandT*
-:CommandTFlush command-t.txt /*:CommandTFlush*
-:NERDTree NERD_tree.txt /*:NERDTree*
-:NERDTreeClose NERD_tree.txt /*:NERDTreeClose*
-:NERDTreeFind NERD_tree.txt /*:NERDTreeFind*
-:NERDTreeFromBookmark NERD_tree.txt /*:NERDTreeFromBookmark*
-:NERDTreeMirror NERD_tree.txt /*:NERDTreeMirror*
-:NERDTreeToggle NERD_tree.txt /*:NERDTreeToggle*
-NERDTree NERD_tree.txt /*NERDTree*
-NERDTree-? NERD_tree.txt /*NERDTree-?*
-NERDTree-A NERD_tree.txt /*NERDTree-A*
-NERDTree-B NERD_tree.txt /*NERDTree-B*
-NERDTree-C NERD_tree.txt /*NERDTree-C*
-NERDTree-C-J NERD_tree.txt /*NERDTree-C-J*
-NERDTree-C-K NERD_tree.txt /*NERDTree-C-K*
-NERDTree-D NERD_tree.txt /*NERDTree-D*
-NERDTree-F NERD_tree.txt /*NERDTree-F*
-NERDTree-I NERD_tree.txt /*NERDTree-I*
-NERDTree-J NERD_tree.txt /*NERDTree-J*
-NERDTree-K NERD_tree.txt /*NERDTree-K*
-NERDTree-O NERD_tree.txt /*NERDTree-O*
-NERDTree-P NERD_tree.txt /*NERDTree-P*
-NERDTree-R NERD_tree.txt /*NERDTree-R*
-NERDTree-T NERD_tree.txt /*NERDTree-T*
-NERDTree-U NERD_tree.txt /*NERDTree-U*
-NERDTree-X NERD_tree.txt /*NERDTree-X*
-NERDTree-cd NERD_tree.txt /*NERDTree-cd*
-NERDTree-contents NERD_tree.txt /*NERDTree-contents*
-NERDTree-e NERD_tree.txt /*NERDTree-e*
-NERDTree-f NERD_tree.txt /*NERDTree-f*
-NERDTree-gi NERD_tree.txt /*NERDTree-gi*
-NERDTree-go NERD_tree.txt /*NERDTree-go*
-NERDTree-gs NERD_tree.txt /*NERDTree-gs*
-NERDTree-i NERD_tree.txt /*NERDTree-i*
-NERDTree-m NERD_tree.txt /*NERDTree-m*
-NERDTree-o NERD_tree.txt /*NERDTree-o*
-NERDTree-p NERD_tree.txt /*NERDTree-p*
-NERDTree-q NERD_tree.txt /*NERDTree-q*
-NERDTree-r NERD_tree.txt /*NERDTree-r*
-NERDTree-s NERD_tree.txt /*NERDTree-s*
-NERDTree-t NERD_tree.txt /*NERDTree-t*
-NERDTree-u NERD_tree.txt /*NERDTree-u*
-NERDTree-x NERD_tree.txt /*NERDTree-x*
-NERDTreeAPI NERD_tree.txt /*NERDTreeAPI*
-NERDTreeAbout NERD_tree.txt /*NERDTreeAbout*
-NERDTreeAddKeyMap() NERD_tree.txt /*NERDTreeAddKeyMap()*
-NERDTreeAddMenuItem() NERD_tree.txt /*NERDTreeAddMenuItem()*
-NERDTreeAddMenuSeparator() NERD_tree.txt /*NERDTreeAddMenuSeparator()*
-NERDTreeAddSubmenu() NERD_tree.txt /*NERDTreeAddSubmenu()*
-NERDTreeBookmarkCommands NERD_tree.txt /*NERDTreeBookmarkCommands*
-NERDTreeBookmarkTable NERD_tree.txt /*NERDTreeBookmarkTable*
-NERDTreeBookmarks NERD_tree.txt /*NERDTreeBookmarks*
-NERDTreeChangelog NERD_tree.txt /*NERDTreeChangelog*
-NERDTreeCredits NERD_tree.txt /*NERDTreeCredits*
-NERDTreeFunctionality NERD_tree.txt /*NERDTreeFunctionality*
-NERDTreeGlobalCommands NERD_tree.txt /*NERDTreeGlobalCommands*
-NERDTreeInvalidBookmarks NERD_tree.txt /*NERDTreeInvalidBookmarks*
-NERDTreeKeymapAPI NERD_tree.txt /*NERDTreeKeymapAPI*
-NERDTreeLicense NERD_tree.txt /*NERDTreeLicense*
-NERDTreeMappings NERD_tree.txt /*NERDTreeMappings*
-NERDTreeMenu NERD_tree.txt /*NERDTreeMenu*
-NERDTreeMenuAPI NERD_tree.txt /*NERDTreeMenuAPI*
-NERDTreeOptionDetails NERD_tree.txt /*NERDTreeOptionDetails*
-NERDTreeOptionSummary NERD_tree.txt /*NERDTreeOptionSummary*
-NERDTreeOptions NERD_tree.txt /*NERDTreeOptions*
-NERDTreeRender() NERD_tree.txt /*NERDTreeRender()*
-NERD_tree.txt NERD_tree.txt /*NERD_tree.txt*
-command-t command-t.txt /*command-t*
-command-t-authors command-t.txt /*command-t-authors*
-command-t-commands command-t.txt /*command-t-commands*
-command-t-contents command-t.txt /*command-t-contents*
-command-t-donations command-t.txt /*command-t-donations*
-command-t-history command-t.txt /*command-t-history*
-command-t-installation command-t.txt /*command-t-installation*
-command-t-intro command-t.txt /*command-t-intro*
-command-t-license command-t.txt /*command-t-license*
-command-t-mappings command-t.txt /*command-t-mappings*
-command-t-options command-t.txt /*command-t-options*
-command-t-pathogen command-t.txt /*command-t-pathogen*
-command-t-requirements command-t.txt /*command-t-requirements*
-command-t-trouble-shooting command-t.txt /*command-t-trouble-shooting*
-command-t-usage command-t.txt /*command-t-usage*
-command-t-website command-t.txt /*command-t-website*
-command-t-wildignore command-t.txt /*command-t-wildignore*
-command-t.txt command-t.txt /*command-t.txt*
-config/rails.vim rails.txt /*config\/rails.vim*
-g:CommandTAcceptSelectionMap command-t.txt /*g:CommandTAcceptSelectionMap*
-g:CommandTAcceptSelectionSplitMap command-t.txt /*g:CommandTAcceptSelectionSplitMap*
-g:CommandTAcceptSelectionTabMap command-t.txt /*g:CommandTAcceptSelectionTabMap*
-g:CommandTAcceptSelectionVSplitMap command-t.txt /*g:CommandTAcceptSelectionVSplitMap*
-g:CommandTAlwaysShowDotFiles command-t.txt /*g:CommandTAlwaysShowDotFiles*
-g:CommandTBackspaceMap command-t.txt /*g:CommandTBackspaceMap*
-g:CommandTCancelMap command-t.txt /*g:CommandTCancelMap*
-g:CommandTClearMap command-t.txt /*g:CommandTClearMap*
-g:CommandTCursorEndMap command-t.txt /*g:CommandTCursorEndMap*
-g:CommandTCursorLeftMap command-t.txt /*g:CommandTCursorLeftMap*
-g:CommandTCursorRightMap command-t.txt /*g:CommandTCursorRightMap*
-g:CommandTCursorStartMap command-t.txt /*g:CommandTCursorStartMap*
-g:CommandTDeleteMap command-t.txt /*g:CommandTDeleteMap*
-g:CommandTMatchWindowAtTop command-t.txt /*g:CommandTMatchWindowAtTop*
-g:CommandTMaxDepth command-t.txt /*g:CommandTMaxDepth*
-g:CommandTMaxFiles command-t.txt /*g:CommandTMaxFiles*
-g:CommandTMaxHeight command-t.txt /*g:CommandTMaxHeight*
-g:CommandTNeverShowDotFiles command-t.txt /*g:CommandTNeverShowDotFiles*
-g:CommandTScanDotDirectories command-t.txt /*g:CommandTScanDotDirectories*
-g:CommandTSelectNextMap command-t.txt /*g:CommandTSelectNextMap*
-g:CommandTSelectPrevMap command-t.txt /*g:CommandTSelectPrevMap*
-g:CommandTToggleFocusMap command-t.txt /*g:CommandTToggleFocusMap*
-g:loaded_rails rails.txt /*g:loaded_rails*
-g:rails_abbreviations rails.txt /*g:rails_abbreviations*
-g:rails_ctags_arguments rails.txt /*g:rails_ctags_arguments*
-g:rails_default_file rails.txt /*g:rails_default_file*
-g:rails_gnu_screen rails.txt /*g:rails_gnu_screen*
-g:rails_history_size rails.txt /*g:rails_history_size*
-g:rails_mappings rails.txt /*g:rails_mappings*
-g:rails_menu rails.txt /*g:rails_menu*
-g:rails_modelines rails.txt /*g:rails_modelines*
-g:rails_statusline rails.txt /*g:rails_statusline*
-g:rails_syntax rails.txt /*g:rails_syntax*
-g:rails_tabstop rails.txt /*g:rails_tabstop*
-g:rails_url rails.txt /*g:rails_url*
-macros/rails.vim rails.txt /*macros\/rails.vim*
-rails rails.txt /*rails*
-rails-'cfu' rails.txt /*rails-'cfu'*
-rails-'completefunc' rails.txt /*rails-'completefunc'*
-rails-'et' rails.txt /*rails-'et'*
-rails-'expandtab' rails.txt /*rails-'expandtab'*
-rails-'filetype' rails.txt /*rails-'filetype'*
-rails-'ft' rails.txt /*rails-'ft'*
-rails-'includeexpr' rails.txt /*rails-'includeexpr'*
-rails-'inex' rails.txt /*rails-'inex'*
-rails-'pa' rails.txt /*rails-'pa'*
-rails-'path' rails.txt /*rails-'path'*
-ra