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;
vimAlias = true;
keymaps = [{
action = "<cmd>Oil<cr>";
key = "<leader>e";
options = { silent = true; };
}];
keymaps = [
{
action = "<cmd>Oil<cr>";
key = "<leader>e";
options = { silent = true; };
}
{
action = "<cmd>lua require('conform').format({ bufnr = buf })<cr>";
key = "<leader>f";
options = { silent = true; };
}
];
options = {
hlsearch = false;