Add formating keybinding.
This commit is contained in:
parent
01aca56c1d
commit
ee2a2eb429
@ -7,11 +7,18 @@
|
|||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
keymaps = [{
|
keymaps = [
|
||||||
|
{
|
||||||
action = "<cmd>Oil<cr>";
|
action = "<cmd>Oil<cr>";
|
||||||
key = "<leader>e";
|
key = "<leader>e";
|
||||||
options = { silent = true; };
|
options = { silent = true; };
|
||||||
}];
|
}
|
||||||
|
{
|
||||||
|
action = "<cmd>lua require('conform').format({ bufnr = buf })<cr>";
|
||||||
|
key = "<leader>f";
|
||||||
|
options = { silent = true; };
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
hlsearch = false;
|
hlsearch = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user