aboutsummaryrefslogtreecommitdiff
path: root/lua/startup/themes
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-12-09 08:35:00 +0100
committermax397574 <[email protected]>2021-12-09 08:35:00 +0100
commit9d289800efe181306eeeebe9682b4c9f648ac70d (patch)
tree053247dc00e67c42535fd91596f81060c4e4fdcf /lua/startup/themes
parent7ee7c54a4068b632752d7c55a4a110b4484b6e15 (diff)
feat(oldfiles): added mapping 0-9 for last files
Diffstat (limited to 'lua/startup/themes')
-rw-r--r--lua/startup/themes/startify.lua4
1 files changed, 3 insertions, 1 deletions
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 = "<CR>",