move to backup
This commit is contained in:
parent
294dc66380
commit
a0e3d792a9
182 changed files with 156 additions and 103 deletions
|
|
@ -1,45 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
plugins.opencode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
provider.enabled = "tmux";
|
||||
};
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
action.__raw = ''function() require("opencode").ask("@this: ", { submit = true }) end'';
|
||||
key = "<leader>at";
|
||||
options.desc = "ask opencode about this";
|
||||
}
|
||||
{
|
||||
action.__raw = ''function() require("opencode").toggle() end'';
|
||||
key = "<leader>aa";
|
||||
options.desc = "toggle opencode";
|
||||
}
|
||||
{
|
||||
action.__raw = ''function() require("opencode").select() end'';
|
||||
key = "<leader>as";
|
||||
options.desc = "select an opencode action";
|
||||
}
|
||||
{
|
||||
mode = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
action.__raw = ''function() return require("opencode").operator("@this ") end'';
|
||||
key = "go";
|
||||
options.desc = "add range to opencode";
|
||||
}
|
||||
{
|
||||
mode = [
|
||||
"n"
|
||||
];
|
||||
action.__raw = ''function() return require("opencode").operator("@this ") .. "_" end'';
|
||||
key = "go";
|
||||
options.desc = "add line to opencode";
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue