Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update nerdtree, rails, surround, and taskpaper

  • Loading branch information...
commit bf8a2f86ed24364908925200f0a420fc46dd217e 1 parent 56bfc35
@bleything authored
View
2  bundle/nerdtree/plugin/NERD_tree.vim
@@ -565,7 +565,7 @@ function! s:MenuController._echoPrompt()
endfunction
"FUNCTION: MenuController._current(key) {{{3
-"get the MenuItem that is curently selected
+"get the MenuItem that is currently selected
function! s:MenuController._current()
return self.menuItems[self.selection]
endfunction
View
3  bundle/rails/plugin/rails.vim
@@ -79,6 +79,9 @@ function! s:escvar(r)
endfunction
function! s:Detect(filename)
+ if exists('b:rails_root')
+ return s:BufInit(b:rails_root)
+ endif
let fn = substitute(fnamemodify(a:filename,":p"),'\c^file://','','')
let sep = matchstr(fn,'^[^\\/]\{3,\}\zs[\\/]')
if sep != ""
View
2  bundle/surround/doc/surround.txt
@@ -72,7 +72,7 @@ surroundings are placed on separate lines and indented. In blockwise visual
mode, each line is surrounded.
A "gS" in visual mode, known as *vgS* , behaves similarly. In linewise visual
-mode, the automatic indenting is surpressed. In blockwise visual mode, this
+mode, the automatic indenting is suppressed. In blockwise visual mode, this
enables surrounding past the end of the like with 'virtualedit' set (there
seems to be no way in Vim Script to differentiate between a jagged end of line
selection and a virtual block selected past the end of the line, so two maps
View
4 bundle/surround/plugin/surround.vim
@@ -551,7 +551,9 @@ if !exists("g:surround_no_mappings") || ! g:surround_no_mappings
nmap ySS <Plug>YSsurround
xmap S <Plug>VSurround
xmap gS <Plug>VgSurround
- xnoremap <silent> s :<C-U>echoerr 'surround.vim: Visual mode s has been removed in favor of S'<CR>
+ if maparg('s', 'x') ==# ''
+ xnoremap <silent> s :<C-U>echoerr 'surround.vim: Visual mode s has been removed in favor of S'<CR>
+ endif
if !hasmapto("<Plug>Isurround","i") && "" == mapcheck("<C-S>","i")
imap <C-S> <Plug>Isurround
endif
View
1  bundle/taskpaper/.gitignore
@@ -0,0 +1 @@
+tags
Please sign in to comment.
Something went wrong with that request. Please try again.