Add gL binding

This commit is contained in:
2026-03-02 23:22:21 +01:00
parent fae02bcda8
commit 00b6843571
5 changed files with 20 additions and 14 deletions
+1 -1
View File
@@ -70,7 +70,7 @@
dev.enable = true;
man = {
enable = true;
generateCaches = true;
cache.enable = true;
};
info.enable = true;
nixos.enable = true;
+2 -2
View File
@@ -5,8 +5,8 @@
}: {
environment.systemPackages = with pkgs;
lib.optionals pkgs.stdenv.isx86_64 [
wineWowPackages.stable
wineWowPackages.waylandFull
wineWow64Packages.stable
wineWow64Packages.waylandFull
winetricks
];
programs.gamescope = {
+1
View File
@@ -38,6 +38,7 @@
environment.systemPackages = with pkgs; [
gnome-bluetooth
polkit_gnome
blueberry
];
security.pam.services.hyprlock = {};
-8
View File
@@ -1,12 +1,4 @@
return {
{
"nvim-surround",
event = "DeferredUIEnter",
after = function()
require("nvim-surround").setup({})
end,
},
{
"vim-wordmotion",
keys = {
+16 -3
View File
@@ -11,22 +11,35 @@ return {
keys = {
{
"<leader>l",
function() require("opencode").toggle() end,
function()
require("opencode").toggle()
end,
desc = "Opencode",
mode = { "n", "v" },
},
{
"gl",
function() return require("opencode").operator("@this ") end,
function()
return require("opencode").operator("@this ")
end,
desc = "Add range to opencode",
mode = { "n", "x" },
},
{
"gll",
function() return require("opencode").operator("@this ") .. "_" end,
function()
return require("opencode").operator("@this ") .. "_"
end,
desc = "Add line to opencode",
},
{
"gL",
function()
return require("opencode").prompt("@buffer ")
end,
desc = "Add buffer to opencode"
},
},
},
}