' shortcuts, including flip-bool

This commit is contained in:
Schrottkatze 2025-03-10 14:22:10 +01:00
parent 4b9a8323e9
commit 870e5ec059
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
5 changed files with 50 additions and 13 deletions

View file

@ -1,8 +1,4 @@
{
config,
helix-inline-diags,
...
}: {
{config, ...}: {
home-manager.users.jade = {
pkgs,
pkgs-stable,
@ -23,7 +19,6 @@
programs.helix = {
enable = true;
defaultEditor = true;
package = helix-inline-diags.outputs.packages."x86_64-linux".default;
settings = {
theme = "gruvbox_dark_hard";
editor = {
@ -31,11 +26,10 @@
bufferline = "multiple";
color-modes = true;
cursorline = true;
# auto-save = {
# focus-lost = true;
# after-delay.enable = true;
# after-delay.timeout = 10000;
# };
auto-save = {
after-delay.enable = true;
after-delay.timeout = 10000;
};
auto-format = true;
end-of-line-diagnostics = "hint";
# slightly optimized based on my layout
@ -99,6 +93,14 @@
# smart tab++
tab = "move_parent_node_end";
S-tab = "move_parent_node_start";
"'" = {
D = "@<C-w>sgd";
F = "@<C-w>sgy";
d = "@<C-w>vgd";
f = "@<C-w>vgy";
h = ":toggle-option lsp.display-inlay-hints";
t = "@|flip-bool<ret>";
};
};
insert = {
up = "no_op";