feat: replace buffer plugin with leader maps
This commit is contained in:
parent
34ad6cf479
commit
82dd9c85d5
4 changed files with 36 additions and 30 deletions
|
@ -10,5 +10,41 @@
|
|||
silent = true;
|
||||
};
|
||||
}
|
||||
|
||||
{ # buffer prefix
|
||||
mode = "n";
|
||||
key = "<leader>b";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+buffer";
|
||||
};
|
||||
}
|
||||
|
||||
{ # goto next buffer
|
||||
mode = ["n"];
|
||||
key = "<leader>bn";
|
||||
action = ":bnext<cr>";
|
||||
options = {
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
|
||||
{ # goto previous buffer
|
||||
mode = ["n"];
|
||||
key = "<leader>bp";
|
||||
action = ":bprevious<cr>";
|
||||
options = {
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
|
||||
{ # delete buffer
|
||||
mode = ["n"];
|
||||
key = "<leader>bd";
|
||||
action = ":bdelete<cr>";
|
||||
options = {
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue