From 653c1c1e77b52e97e6dcf1bd226b8b2798464b2d Mon Sep 17 00:00:00 2001 From: zackartz Date: Tue, 14 May 2024 21:49:40 -0400 Subject: [PATCH] 629 current 2024-05-14 21:49:34 24.05.20240512.2057814 6.8.6-zen1 * --- modules/home-manager/vim/config/lua/utils/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/vim/config/lua/utils/functions.lua b/modules/home-manager/vim/config/lua/utils/functions.lua index 505e3b4..471d9de 100644 --- a/modules/home-manager/vim/config/lua/utils/functions.lua +++ b/modules/home-manager/vim/config/lua/utils/functions.lua @@ -20,7 +20,7 @@ end M.freeze = function() local path = "./._freeze.png" - -- require('charm-freeze').start() + vim.cmd("Freeze") -- Run the shell command 'wl-copy ' after 'Freeze' completes vim.fn.system("wl-copy < " .. path) @@ -38,7 +38,7 @@ M.freeze_selection = function() local end_line = vim.fn.getpos("'>")[2] -- line number of the end of selection -- Execute the 'Freeze' command on the selected range - -- vim.cmd('' .. start_line .. ',' .. end_line .. 'Freeze') + vim.cmd("" .. start_line .. "," .. end_line .. "Freeze") -- Run the shell command 'wl-copy ' after 'Freeze' completes vim.fn.system("wl-copy < " .. path)