aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/BufferBrowser.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/doc/BufferBrowser.txt b/doc/BufferBrowser.txt
index c5c061b..d257ad0 100644
--- a/doc/BufferBrowser.txt
+++ b/doc/BufferBrowser.txt
@@ -29,17 +29,12 @@ You can configure the filetype_filters by passing a table to the setup function.
require('buffer-browser').setup({
-- '' + 'netrw' is used to filter out netrw.
- filetype_filters = {'', 'netrw', 'gitcommit', 'TelescopePrompt'}
+ filetype_filters = {'gitcommit', 'TelescopePrompt'}
})
-This can be used to filter out buffers you do not want in the history. If your
-current buffer ends with, for example netrw, it will be filtered out and not
-available in the history
-
-LIMITATIONS
-
-To filter out netrw, we need to also filter out '', as the filetype
-occassionally gets set to that by netrw (not sure why...). This means files
-without filetype are filtered out.
+This can be used to filter out buffers you do not want in the history.
+To immediately close netrw after you have opened a file, I recommend setting
+` g:netrw_fastbrowse = 0`, this will remove the netrw buffer and wipe it from
+the browser history.