Add formating keybinding.
This commit is contained in:
parent
01aca56c1d
commit
ee2a2eb429
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user