feat: add attempt.nvim
This plugin is for creating new scratch windows.
This commit is contained in:
parent
39ff075293
commit
5d61196854
2 changed files with 17 additions and 0 deletions
|
@ -174,4 +174,20 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"m-demare/attempt.nvim",
|
||||
opts = {
|
||||
ext_options = { "js", "lua" },
|
||||
},
|
||||
keys = function()
|
||||
local attempt = require("attempt")
|
||||
|
||||
return {
|
||||
{ "<Leader>an", attempt.new_select, desc = "New attempt" },
|
||||
{ "<Leader>ar", attempt.run, desc = "Run attempt" },
|
||||
{ "<Leader>ad", attempt.delete_buf, desc = "Delete attempt buffer" },
|
||||
{ "<Leader>al", "<cmd>Telescope attempt<CR>", desc = "Search attempts" },
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue