commit bd873951dbe479183eb37695426ae0655325e0a7
parent 87cef5cd37b1e567e69484b06ad6dc3cabcda4a0
Author: Eamon Caddigan <ec@eamoncaddigan.net>
Date: Fri, 18 Apr 2025 09:17:51 -0700
Fix my two biggest annoyances with lazyvim
I never got into bufferline because I already use tabs and it kinda
sidelines those, and new files should open in normal mode gosh darnit.
Diffstat:
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/lua/plugins/disable-bufferline.lua b/lua/plugins/disable-bufferline.lua
@@ -0,0 +1,6 @@
+return {
+ {
+ "akinsho/bufferline.nvim",
+ enabled = false,
+ },
+}
diff --git a/lua/plugins/extend-snacks.lua b/lua/plugins/extend-snacks.lua
@@ -0,0 +1,12 @@
+return {
+ "snacks.nvim",
+ opts = function(_, opts)
+ -- Make the "New File" option in the dashboard start in normal mode
+ opts.dashboard.preset.keys[2] = {
+ icon = " ",
+ key = "n",
+ desc = "New File (Normal Mode)",
+ action = ":ene",
+ }
+ end,
+}