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

View file

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