Played around with yazi and now the config is tight
Lots of new Keymaps
This commit is contained in:
11
yazi/scripts/create_date_folder.lua
Normal file
11
yazi/scripts/create_date_folder.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
local function get_date()
|
||||
return os.date("%Y-%m-%d")
|
||||
end
|
||||
|
||||
return {
|
||||
name = "create_date_folder",
|
||||
entry = function()
|
||||
local date_folder = get_date()
|
||||
os.execute("mkdir -p " .. vim.fn.shellescape(date_folder))
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user