Jelajahi Sumber

feat: new file cmd for dashboard + icon update (#1849)

Antonio Hickey 3 tahun lalu
induk
melakukan
ffd1d5e165
1 mengubah file dengan 8 tambahan dan 4 penghapusan
  1. 8 4
      lua/lvim/core/dashboard.lua

+ 8 - 4
lua/lvim/core/dashboard.lua

@@ -31,22 +31,26 @@ M.config = function(config)
 
     custom_section = {
       a = {
-        description = { "  Find File          " },
+        description = { "  Find File          " },
         command = "Telescope find_files",
       },
       b = {
+        description = { "  New File           " },
+        command = ":ene!",
+      },
+      c = {
         description = { "  Recent Projects    " },
         command = "Telescope projects",
       },
-      c = {
+      d = {
         description = { "  Recently Used Files" },
         command = "Telescope oldfiles",
       },
-      d = {
+      e = {
         description = { "  Find Word          " },
         command = "Telescope live_grep",
       },
-      e = {
+      f = {
         description = { "  Configuration      " },
         command = ":e " .. config.user_config_file,
       },