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)