feat(api): Add new node selection action based on tab :drop command (#2161)

Co-authored-by: gegoune <dev@clog.rocks>
This commit is contained in:
hinell
2023-04-23 02:41:21 +03:00
committed by GitHub
parent 967865cdb7
commit d68b00a63e
3 changed files with 21 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ local function open_preview(node)
end
Api.node.open.edit = wrap_node(open_or_expand_or_dir_up "edit")
Api.node.open.tab_drop = wrap_node(open_or_expand_or_dir_up "tab_drop")
Api.node.open.replace_tree_buffer = wrap_node(open_or_expand_or_dir_up "edit_in_place")
Api.node.open.no_window_picker = wrap_node(open_or_expand_or_dir_up "edit_no_picker")
Api.node.open.vertical = wrap_node(open_or_expand_or_dir_up "vsplit")