No description
Find a file
2024-12-22 00:02:42 +01:00
lua/telescope/_extensions add keymap to close buffer with q 2024-12-21 23:56:24 +01:00
screenshots update screenshot of editor 2024-12-22 00:00:00 +01:00
README.md Update screenshot and readme 2024-12-22 00:02:42 +01:00

knot.nvim

knot.nvim is a plugin for Neovim that provides a way to view and edit DNS records using knot via knotctl.

Installation

With lazy.nvim:

  {
    "https://code.smolnet.org/micke/knot.nvim.git",
    dependencies = {
      "nvim-telescope/telescope.nvim",
    },
    config = function()
      require("telescope").load_extension('telescope_knot')
    end,
  },

Dependencies

You need to have knotctl installed and configured on your system. If knotctl works for you in your terminal, it should work in this plugin as well.

Usage

This plugin provides a Telescope picker for viewing and editing DNS records. You can summon it with:

:Telescope telescope_knot

or add a mapping:

nnoremap <leader>k :Telescope telescope_knot<cr>

You can edit the record and when saving it with :w you will be asked to confirm. You can quit the buffer with :q or q to discard changes.

Screenshots

The finder and previewer

Viewer

Editing a record

Editor