1
Fork 0
This commit is contained in:
prescientmoon 2024-02-26 12:56:54 +01:00
parent d560d0bf84
commit 248babab24
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
5 changed files with 24 additions and 5 deletions

View file

@ -16,5 +16,6 @@ in
{
home.packages = [ ircgay pkgs.catgirl ];
xdg.configFile."catgirl/tilde".text = mkCatgirlNetwork "tilde";
satellite.persistence.at.state.apps.catgirl.directories = [ "${config.xdg.dataHome}/catgirl" ];
satellite.persistence.at.state.apps.catgirl.directories =
[ "${config.xdg.dataHome}/catgirl" ];
}

View file

@ -0,0 +1,9 @@
{ config, ... }: {
programs.lazygit = {
enable = true;
settings.promptToReturnFromSubprocess = false;
};
satellite.persistence.at.state.apps.lazygit.directories =
[ "${config.xdg.configHome}/lazygit" ];
}

View file

@ -24,7 +24,12 @@ local function runLocal(functionName)
end
end
vim.keymap.set("n", "<leader>lf", ":source %<cr>", opts("Run [l]ua [f]ile "))
vim.keymap.set(
"n",
"<leader>lf",
"<cmd>source %<cr>",
opts("Run [l]ua [f]ile ")
)
vim.keymap.set(
"n",
"<leader>ls",

View file

@ -106,7 +106,12 @@ let
# Use global clipboard using *cp*
(keymap "nv" "<f11>" ''"+'' "Use global clipboard")
# Save using *ji*
(nmap "<f12>" "<cmd>silent write<cr>" "Save current file")
(nmap "<f12>"
(thunk ''
-- If we don't do this, the statusbar will flash for a second...
vim.cmd([[silent! write]])
vim.opt.stl = vim.opt.stl
'') "Save current file")
# }}}
# {{{ Newline without comments
{

View file

@ -10,6 +10,7 @@
./features/cli/pass.nix
./features/cli/nix-index.nix
./features/cli/catgirl.nix
./features/cli/lazygit.nix
./features/wayland/hyprland
./features/neovim
];
@ -52,8 +53,6 @@
# }}}
];
programs.lazygit.enable = true;
home.sessionVariables.QT_SCREEN_SCALE_FACTORS = 1.4; # Bigger text in qt apps
satellite = {