Minor shortcuta and behaviour tweaks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user