From e00fc002a6441fa3741d1f705337efbbd8850744 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Mon, 9 Dec 2024 10:44:18 -0300 Subject: Cambios varios. --- lua/plugins/close-buffer.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/plugins/close-buffer.lua (limited to 'lua/plugins/close-buffer.lua') 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, + }, + }, +} -- cgit v1.2.3