A tool for using freeze right from Neovim!
{
"ethanholz/freeze.nvim",
config = true,
}
:Freeze
- Can be called on a visual selection to pass in a selection of lines.:FreezeLine
- A convenience function for freezing the current line.It is recommended that you set keymaps to run these commands, no default keymaps are set for you. An example of how you can set your keymaps can be seen below:
vim.keymap.set("v", "<leader>z", ":Freeze<cr>", {silent = true, desc = "Freeze selection"})
vim.keymap.set("n", "<leader>zl", ":FreezeLine<cr>", {silent = true, desc = "Freeze current line"})