bufdelete: delete buffer without messing up windows
This commit is contained in:
parent
493148c3b8
commit
aea55dcd6c
6 changed files with 37 additions and 19 deletions
|
@ -6,7 +6,10 @@
|
|||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = [ "n" "i" ];
|
||||
mode = [
|
||||
"n"
|
||||
"i"
|
||||
];
|
||||
key = "<C-p>";
|
||||
action = helpers.mkRaw ''
|
||||
function()
|
||||
|
@ -18,11 +21,14 @@
|
|||
};
|
||||
}
|
||||
{
|
||||
mode = [ "n" "i" ];
|
||||
mode = [
|
||||
"n"
|
||||
"i"
|
||||
];
|
||||
key = "<C-S-p>";
|
||||
action = helpers.mkRaw ''
|
||||
function()
|
||||
require("telescope.builtin").help_tags()
|
||||
require("telescope.builtin").live_grep()
|
||||
end
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue