diff options
Diffstat (limited to 'lua.lua')
| -rw-r--r-- | lua.lua | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +require("neo-tree").setup({ + window = { + mappings = { + ["<F5>"] = "refresh", + ["o"] = "open", + } + }, + filesystem = { + window = { + mappings = { + ["O"] = { + command = function(state) + local node = state.tree:get_node() + local cmd = "thunar '" .. node.path .. "'" .. " > /dev/null 2>&1" + print("Opening: " .. node.path) -- Debug statement + os.execute(cmd) + end, + }, + }, + }, + }, +}) |
