framework: nixvim tweaks

This commit is contained in:
Tristan 2025-08-12 15:00:41 +01:00
parent c993639066
commit 5553012178

View file

@ -28,6 +28,7 @@ in {
scrolloff = 4;
smoothscroll = true;
ignorecase = true;
winborder = "rounded";
undofile = true;
undodir = lua ''vim.fn.expand("$HOME/.local/share/nvim/undo")'';
@ -72,10 +73,10 @@ in {
options.desc = "copy to clipboard";
}
{
key = "<leader>ca";
action = ''
require("actions-preview").code_actions
'';
mode = "n";
options.desc = "LSP Format";
key = "<leader>cf";
action = luaFunc "vim.lsp.buf.format({async = true;})";
}
{
key = "<C-Tab>";