From 1d17a9ffbd8e3d48a2c473a80c17a24b117f4b8c Mon Sep 17 00:00:00 2001 From: cyteen Date: Wed, 11 Mar 2026 02:08:49 +0000 Subject: [PATCH] Additions and syntax fixes. --- 020_neovim-lazyvim_plugins.sh | 92 ++++++++++++++++++++++++++--------- 1 file changed, 68 insertions(+), 24 deletions(-) diff --git a/020_neovim-lazyvim_plugins.sh b/020_neovim-lazyvim_plugins.sh index cfb7b9e..fc9d445 100644 --- a/020_neovim-lazyvim_plugins.sh +++ b/020_neovim-lazyvim_plugins.sh @@ -47,7 +47,7 @@ return { show_help = "", }, }, - -- 👇 if you use $(open_for_directories=true), this is recommended + -- 👇 if you use \$(open_for_directories=true), this is recommended init = function() -- mark netrw as loaded so it's not loaded at all. -- @@ -58,7 +58,52 @@ return { } EOF } -conf_print_yazi | tee ${LAZY_DEST}/yazi.lua +conf_print_yazi | tee "${LAZY_DEST}/yazi.lua" + +conf_print_time-machine() { + cat <t", + "", + desc = "Time Machine", + }, + { + "tt", + "TimeMachineToggle", + desc = "[Time Machine] Toggle Tree", + }, + { + "tx", + "TimeMachinePurgeCurrent", + desc = "[Time Machine] Purge current", + }, + { + "tX", + "TimeMachinePurgeAll", + desc = "[Time Machine] Purge all", + }, + { + "tl", + "TimeMachineLogShow", + desc = "[Time Machine] Show log", + }, + }, +} +EOF +} +conf_print_time-machine | tee "${LAZY_DEST}/time-machine.lua" # Use triple backtick for code blocks rather than tab # set code-block-style: or MD046: om ~/.markdownlint-cli2.yaml @@ -69,7 +114,7 @@ config: style: "fenced" EOF } -conf_print_markdownlint_yaml | tee ${DEST}/.markdownlint-cli2.yaml +conf_print_markdownlint_yaml | tee "${DEST}/.markdownlint-cli2.yaml" conf_print_markdownlint() { cat <