framework: nixvim hotkeys, add transmission

This commit is contained in:
tristan 2025-05-26 07:31:31 +01:00
parent 31eff1409f
commit 9159862b4c
2 changed files with 16 additions and 4 deletions

View file

@ -14,7 +14,7 @@
# tools
inkscape
libsForQt5.okular
kdePackages.okular
gimp
libreoffice
dbeaver-bin
@ -22,10 +22,10 @@
insomnia
# entertainment
libsForQt5.kasts
kdePackages.kasts
shortwave
freetube
youtube-music
transmission_4-gtk
# other
element-desktop

View file

@ -210,6 +210,16 @@ in {
action = luaFunc "require('dapui').toggle()";
options.desc = "DAP UI Toggle";
}
{
key = "<leader>cd";
action = "<CMD>Trouble diagnostics toggle<CR>";
options.desc = "toggle lsp diagnostics";
}
{
key = "<leader>cs";
action = "<CMD>Trouble symbols toggle<CR>";
options.desc = "toggle lsp symbols";
}
];
autoCmd = [
@ -241,7 +251,7 @@ in {
event = "BufWritePre";
pattern = "*.ts";
callback = luaFunc ''
vim.lsp.buf.format({async = false})
vim.lsp.buf.format()
'';
}
];
@ -300,6 +310,8 @@ in {
"K" = "hover";
"<leader>cr" = "rename";
"<F2>" = "rename";
"gd" = "definition";
"gt" = "type_definition";
};
};
};