Skip to content

Releases: LintaoAmons/scratch.nvim

Add ScratchPad command

12 Oct 15:20
11b22b9
Compare
Choose a tag to compare

Also a new intro video

Scratch.mp4

Expose scratch api and make it triggerable from terminal

22 Aug 14:29
Compare
Choose a tag to compare

Jump to scratch file from terminal

nvim -c 'lua require("scratch").scratchByType("md")'

NOTE: you can't lazyload the plugin if you want make the scratch plugin accessible at the init of nvim

v0.9.0 Local keybinding for specific file type (apply if name contains substr)

06 Aug 15:35
Compare
Choose a tag to compare
  "localKeys": [ // local keymapping for specific type of file
    {
      "filenameContains": ["gp"],
      "LocalKeys": [
        {
          "cmd": "<CMD>GpChatRespond<CR>",
          "key": "<C-k>k",
          "modes": ["n", "i", "v"]
        }
      ]
    }
  ]

New .localKeys section to create local only keymapping

My usecase is when I create file named gp.md, gp4.md, eng-trans.md, eng-prov.md,
I will bind GpChatRespond to the current buffer

group in Subdir and an example of integrate with gp.nvim

30 Jul 07:45
Compare
Choose a tag to compare

Allow user to group scratch files in subdir

subdir

v0.7.1

06 May 01:34
Compare
Choose a tag to compare
  • Allow user to choose where they want to put there config file.
  • Add sub directory when create scratch file.
  • refactor the code structure.
  • More intuitive user experience.
  • etc.

Add ScrachOpenFzf command

19 Nov 12:54
Compare
Choose a tag to compare

Fuzzy find content from scratch files and open