Add a mode that allows edit without the picker (#873)

This commit is contained in:
Sander van Harmelen
2022-01-21 12:36:28 +01:00
committed by GitHub
parent 1ac3502290
commit 14bdf134f9
4 changed files with 6 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ local nvim_tree_callback = require'nvim-tree.config'.nvim_tree_callback
local M = {
mappings = {
{ key = {"<CR>", "o", "<2-LeftMouse>"}, action = "edit" },
{ key = {"O"}, action = nvim_tree_callback("edit_no_picker") },
{ key = {"<2-RightMouse>", "<C-]>"}, action = "cd" },
{ key = "<C-v>", action = "vsplit" },
{ key = "<C-x>", action = "split"},