diff --git a/modules/home-manager/vim/config/lua/utils/functions.lua b/modules/home-manager/vim/config/lua/utils/functions.lua index 3aa33fd..c315dde 100644 --- a/modules/home-manager/vim/config/lua/utils/functions.lua +++ b/modules/home-manager/vim/config/lua/utils/functions.lua @@ -20,8 +20,7 @@ end M.freeze = function() local path = "./._freeze.png" - -- Execute the 'Freeze' command on the selected range - vim.cmd("Freeze") + require('charm-freeze').start() -- Run the shell command 'wl-copy ' after 'Freeze' completes vim.fn.system("wl-copy < " .. path)