Add formating keybinding.

This commit is contained in:
CronyAkatsuki 2024-03-16 18:17:16 +01:00
parent 01aca56c1d
commit ee2a2eb429

View File

@ -7,11 +7,18 @@
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
keymaps = [{ keymaps = [
action = "<cmd>Oil<cr>"; {
key = "<leader>e"; action = "<cmd>Oil<cr>";
options = { silent = true; }; key = "<leader>e";
}]; options = { silent = true; };
}
{
action = "<cmd>lua require('conform').format({ bufnr = buf })<cr>";
key = "<leader>f";
options = { silent = true; };
}
];
options = { options = {
hlsearch = false; hlsearch = false;