Compare commits
No commits in common. "f7832e1d5b4d1b10c5d67c010a1d3c3594b4f712" and "d612990dca44c8f1bf2cf259ed7e1fe40144f682" have entirely different histories.
f7832e1d5b
...
d612990dca
3 changed files with 11 additions and 64 deletions
|
@ -20,20 +20,5 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
|
|
||||||
autoCmd = [
|
|
||||||
{
|
|
||||||
callback = ''
|
|
||||||
function(args)
|
|
||||||
require("conform").format({ bufnr = args.buf })
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
event = ["BufWritePre"];
|
|
||||||
pattern = [
|
|
||||||
"*"
|
|
||||||
];
|
|
||||||
desc = "autoformatting on save";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,41 +14,12 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>BufferNext<cr>";
|
action = "<cmd>BufferNext<cr>";
|
||||||
key = "<S-h>";
|
key = "<leader><tab><tab>";
|
||||||
options = {
|
options = {
|
||||||
desc = "Next buffer";
|
desc = "Next buffer";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
mode = "n";
|
|
||||||
action = "<cmd>BufferPrevious<cr>";
|
|
||||||
key = "<S-l>";
|
|
||||||
options = {
|
|
||||||
desc = "Previous buffer";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
{
|
|
||||||
mode = "n";
|
|
||||||
action = "<cmd>BufferMovePrevious";
|
|
||||||
key = "<Shift><Ctrl>H";
|
|
||||||
options = {
|
|
||||||
desc = "Move buffer to left";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
mode = "n";
|
|
||||||
action = "<cmd>BufferMoveNext";
|
|
||||||
key = "<Shift><Ctrl>L";
|
|
||||||
options = {
|
|
||||||
desc = "Move buffer to right";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>BufferClose<cr>";
|
action = "<cmd>BufferClose<cr>";
|
||||||
|
@ -68,13 +39,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>LazyGit<cr>";
|
action = "<cmd>LazyGit<cr>";
|
||||||
key = "<leader>gg";
|
key = "<leader>gg";
|
||||||
options = {
|
options = {
|
||||||
desc = "Open lazygit";
|
desc = "Open lazygit";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins.fzf-lua.keymaps = {
|
plugins.fzf-lua.keymaps = {
|
||||||
|
|
|
@ -32,15 +32,6 @@
|
||||||
|
|
||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.formatters_by_ft = {
|
|
||||||
rust = ["rustfmt"];
|
|
||||||
lua = ["stylua"];
|
|
||||||
javascript = {
|
|
||||||
__unkeyed-1 = "prettierd";
|
|
||||||
__unkeyed-2 = "prettier";
|
|
||||||
stop_after_first = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
markdown-preview = {
|
markdown-preview = {
|
||||||
|
@ -75,7 +66,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
cord = {
|
presence-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -109,8 +100,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
mini.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue