Compare commits
No commits in common. "f7832e1d5b4d1b10c5d67c010a1d3c3594b4f712" and "d612990dca44c8f1bf2cf259ed7e1fe40144f682" have entirely different histories.
f7832e1d5b
...
d612990dca
3 changed files with 11 additions and 64 deletions
|
@ -21,19 +21,4 @@
|
|||
|
||||
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";
|
||||
action = "<cmd>BufferNext<cr>";
|
||||
key = "<S-h>";
|
||||
key = "<leader><tab><tab>";
|
||||
options = {
|
||||
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";
|
||||
action = "<cmd>BufferClose<cr>";
|
||||
|
@ -68,13 +39,13 @@
|
|||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
action = "<cmd>LazyGit<cr>";
|
||||
key = "<leader>gg";
|
||||
options = {
|
||||
desc = "Open lazygit";
|
||||
};
|
||||
}
|
||||
mode = "n";
|
||||
action = "<cmd>LazyGit<cr>";
|
||||
key = "<leader>gg";
|
||||
options = {
|
||||
desc = "Open lazygit";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
plugins.fzf-lua.keymaps = {
|
||||
|
|
|
@ -32,15 +32,6 @@
|
|||
|
||||
conform-nvim = {
|
||||
enable = true;
|
||||
settings.formatters_by_ft = {
|
||||
rust = ["rustfmt"];
|
||||
lua = ["stylua"];
|
||||
javascript = {
|
||||
__unkeyed-1 = "prettierd";
|
||||
__unkeyed-2 = "prettier";
|
||||
stop_after_first = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
markdown-preview = {
|
||||
|
@ -75,7 +66,7 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
cord = {
|
||||
presence-nvim = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
@ -109,8 +100,8 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
lazygit.enable = true;
|
||||
mini.enable = true;
|
||||
lazygit.enable = true;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue