Skip to content

adalessa/scratch.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scratch.nvim

Plugin to work with lua scratch easily

Install

Lazy

{
  "adalessa/scratch.nvim",
  dependencies = {
    "nvim-telescope/telescope.nvim",
  },
  opts = {},
  keys = {
    {"<leader>rs", function()
      require('scratch').open()
    end},
  },
}

Default Options

{
  path = vim.fn.stdpath('data') .. '/scratch',
  new_scratch_map = '<c-y>',
  local_map = "<LocalLeader>x",
}

In the scratch buffers use the local map to triger the save an exec

About

Plugin to work with scratch files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages