Minor shortcuta and behaviour tweaks

This commit is contained in:
Natercio Moniz
2025-01-28 12:14:55 +00:00
parent 29c6bf2107
commit 99609a2471
4 changed files with 10 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ return {
},
opts = {
filesystem = {
hijack_netrw_behavior = 'open_default',
window = {
mappings = {
['\\'] = 'close_window',
@@ -30,6 +31,7 @@ return {
window = {
mappings = {
['<C-v>'] = 'open_vsplit',
['Y'] = function(state)
local node = state.tree:get_node()
local filepath = node:get_id()
@@ -37,8 +39,8 @@ return {
local results = {
vim.fn.fnamemodify(filepath, ':.'),
filename,
filepath,
filename,
}
local i = vim.fn.inputlist {