From 367253dd5cf79996cc7e022280487b1ffefa438d Mon Sep 17 00:00:00 2001 From: Samvel Avanesov Date: Wed, 25 May 2016 15:15:05 +0300 Subject: [PATCH] Replacing :bdel with :bw to completely wipe the buffer off-memory (for compatibility with Command-T) --- plugin/BufOnly.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/BufOnly.vim b/plugin/BufOnly.vim index 9b660e7..08a1ca4 100644 --- a/plugin/BufOnly.vim +++ b/plugin/BufOnly.vim @@ -51,7 +51,7 @@ function! BufOnly(buffer, bang) \ n '(add ! to override)' echohl None else - silent exe 'bdel' . a:bang . ' ' . n + silent exe 'bw' . a:bang . ' ' . n if ! buflisted(n) let delete_count = delete_count+1 endif