feat!: disable unnecessary keymaps for window

This commit is contained in:
Youwen Wu 2024-09-17 14:27:47 -07:00
parent 8a6de619e6
commit fbc52d72d7
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -35,42 +35,6 @@
desc = "Zen mode";
};
}
{
action = "<C-w>h";
key = "<C-h>";
options = {
silent = true;
noremap = true;
desc = "Move to left window";
};
}
{
action = "<C-w>j";
key = "<C-j>";
options = {
silent = true;
noremap = true;
desc = "Move to lower window";
};
}
{
action = "<C-w>k";
key = "<C-k>";
options = {
silent = true;
noremap = true;
desc = "Move to upper window";
};
}
{
action = "<C-w>l";
key = "<C-l>";
options = {
silent = true;
noremap = true;
desc = "Move to right window";
};
}
{
action = "<cmd>close<CR>";
key = "<Leader>wd";
@ -80,15 +44,6 @@
desc = "Close current window";
};
}
{
action = "<cmd>Bdelete!<CR><cmd>close<CR>";
key = "<Leader>wk";
options = {
silent = true;
noremap = true;
desc = "Close current window, along with the buffer open inside.";
};
}
{
action = "<cmd>Telescope find_files<CR>";
key = "<Leader>ff";