Skip to content

ethanholz/freeze.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

freeze.nvim

A tool for using freeze right from Neovim!

Requirements

  • freeze must be installed and on your path

Installation

lazy.nvim

{
    "ethanholz/freeze.nvim",
    config = true,
}

Usage

  • :Freeze - Can be called on a visual selection to pass in a selection of lines.
  • :FreezeLine - A convenience function for freezing the current line.

Keymaps

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"})

About

A Neovim plugin for freeze

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages