diff options
Diffstat (limited to 'doc/modules/ROOT/pages/configuration.adoc')
| -rw-r--r-- | doc/modules/ROOT/pages/configuration.adoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/modules/ROOT/pages/configuration.adoc b/doc/modules/ROOT/pages/configuration.adoc index e9e58a6..44a6bd8 100644 --- a/doc/modules/ROOT/pages/configuration.adoc +++ b/doc/modules/ROOT/pages/configuration.adoc @@ -505,6 +505,23 @@ project-specific. This requires that the user set: Both of these degrade properly when not inside a project. +== Limit the number of project file buffers + +Projectile can be configured to keep a maximum number of file buffers of a project +that are opened at one point. The custom variable `projectile-max-buffer-count` +can be set to an integer that will be the buffer count cap. If this limit is +reached, by opening a new file, Projectile will close the least recent buffer of +the current project. If the variable is `nil`, the will be no cap on the buffer +count. + +[source,elisp] +---- +(setq projectile-max-file-buffer-count 10) +---- + +Note that special project buffers (e.g. compilation, `dired`, etc) are not +affected by this setting. + == Regenerate tags To be able to regenerate a project's tags via `projectile-tags-command`, you |
