From 9d289800efe181306eeeebe9682b4c9f648ac70d Mon Sep 17 00:00:00 2001 From: max397574 Date: Thu, 9 Dec 2021 08:35:00 +0100 Subject: feat(oldfiles): added mapping 0-9 for last files --- lua/startup/themes/startify.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua/startup/themes') diff --git a/lua/startup/themes/startify.lua b/lua/startup/themes/startify.lua index 915a0f5..311b30a 100644 --- a/lua/startup/themes/startify.lua +++ b/lua/startup/themes/startify.lua @@ -47,6 +47,7 @@ for _, line in ipairs(cow) do end -- NOTE: lua dump(vim.fn.expand("#<1")) to get newest oldfile + local settings = { header = { type = "text", @@ -93,12 +94,13 @@ local settings = { options = { after = function() require("startup").create_mappings(user_bookmark_mappings) + require("startup.utils").oldfiles_mappings() end, mapping_keys = false, cursor_column = 0.25, empty_line_between_mappings = false, disable_statuslines = true, - paddings = { 1, 2, 2, 3 }, + paddings = { 1, 1, 1, 1 }, }, mappings = { execute_command = "", -- cgit v1.2.3