framework: nixvim tweaks
This commit is contained in:
parent
c993639066
commit
5553012178
1 changed files with 5 additions and 4 deletions
|
|
@ -28,6 +28,7 @@ in {
|
||||||
scrolloff = 4;
|
scrolloff = 4;
|
||||||
smoothscroll = true;
|
smoothscroll = true;
|
||||||
ignorecase = true;
|
ignorecase = true;
|
||||||
|
winborder = "rounded";
|
||||||
|
|
||||||
undofile = true;
|
undofile = true;
|
||||||
undodir = lua ''vim.fn.expand("$HOME/.local/share/nvim/undo")'';
|
undodir = lua ''vim.fn.expand("$HOME/.local/share/nvim/undo")'';
|
||||||
|
|
@ -72,10 +73,10 @@ in {
|
||||||
options.desc = "copy to clipboard";
|
options.desc = "copy to clipboard";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>ca";
|
mode = "n";
|
||||||
action = ''
|
options.desc = "LSP Format";
|
||||||
require("actions-preview").code_actions
|
key = "<leader>cf";
|
||||||
'';
|
action = luaFunc "vim.lsp.buf.format({async = true;})";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<C-Tab>";
|
key = "<C-Tab>";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue