mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-14 11:14:36 +02:00
plugins/nvim-tree: remove deprecated option view.mappings
This commit is contained in:
parent
e7f2da50e2
commit
67ef20a223
2 changed files with 51 additions and 66 deletions
|
@ -90,34 +90,6 @@
|
|||
number = false;
|
||||
relativenumber = false;
|
||||
signcolumn = "yes";
|
||||
mappings = {
|
||||
customOnly = false;
|
||||
list = [
|
||||
# remove a default mapping for cd
|
||||
{
|
||||
key = "<2-RightMouse>";
|
||||
action = "";
|
||||
}
|
||||
|
||||
# add multiple normal mode mappings for edit
|
||||
{
|
||||
key = ["<CR>" "o"];
|
||||
action = "edit";
|
||||
mode = "n";
|
||||
}
|
||||
|
||||
# custom action
|
||||
{
|
||||
key = "p";
|
||||
action = "print_the_node_path";
|
||||
action_cb = ''
|
||||
function(node)
|
||||
print(node.absolute_path)
|
||||
end
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
float = {
|
||||
enable = false;
|
||||
quitOnFocusLoss = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue