diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2024-12-09 10:44:18 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2024-12-09 10:44:18 -0300 |
| commit | e00fc002a6441fa3741d1f705337efbbd8850744 (patch) | |
| tree | f6891a9119ee065db574aae73395af973100a008 /lua/plugins/close-buffer.lua | |
| parent | 546d06a2314d0b4b5360346243bcfc0bda3fff30 (diff) | |
| download | nvim-conf-e00fc002a6441fa3741d1f705337efbbd8850744.tar.gz nvim-conf-e00fc002a6441fa3741d1f705337efbbd8850744.zip | |
Cambios varios.
Diffstat (limited to 'lua/plugins/close-buffer.lua')
| -rw-r--r-- | lua/plugins/close-buffer.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/plugins/close-buffer.lua b/lua/plugins/close-buffer.lua new file mode 100644 index 0000000..947f31a --- /dev/null +++ b/lua/plugins/close-buffer.lua @@ -0,0 +1,12 @@ +return { + -- Send buffers into early retirement by automatically closing them after x minutes of inactivity. + { + "chrisgrieser/nvim-early-retirement", + config = true, + event = "VeryLazy", + opts = { + -- if a buffer has been inactive for this many minutes, close it + retirementAgeMins = 30, + }, + }, +} |