Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not use Ctrl-D if there are no matches.

  • Loading branch information...
commit e38b0e0934115bf5e8bea0d84448d751ef0410bf 1 parent 85df0d6
@Raimondi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/buffalo.vim
View
2  plugin/buffalo.vim
@@ -52,7 +52,7 @@ function! s:buffalo(...)
return ''
else
call feedkeys(char, 'n')
- call feedkeys("\<C-D>".s:aux_map)
+ call feedkeys((len(bl.buffers().to_l()) == 0 ? '' : "\<C-D>").s:aux_map)
return ""
endif
endfunction
Please sign in to comment.
Something went wrong with that request. Please try again.