Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions filemanager-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## [Unreleased]

## [3.5.2.1] - 2025-02-15

- Move README to help file and import it into the help system

## [3.5.2] - 2023-09-14

- Allow filemanager to open files in new tab, either using Tab or Enter

## [3.4.0] - 2018-10-22

### Fixed
Expand Down
7 changes: 5 additions & 2 deletions filemanager-plugin/filemanager.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = "3.5.2"
VERSION = "3.5.2.1"

local micro = import("micro")
local config = import("micro/config")
Expand Down Expand Up @@ -528,7 +528,7 @@ local function try_open_at_y(y)
-- If it's a file, then open it
micro.InfoBar():Message("Filemanager opened ", scanlist[y].abspath)
-- Opens the absolute path in new tab or a new split
if config.GetGlobalOption("filemanager.openontab") then
if config.GetGlobalOption("filemanager.openontab") then
-- CurView():VSplitIndex(NewBufferFromFile(scanlist[y].abspath), 1)
local nfile = scanlist[y].abspath
local rpath = shell.RunCommand('realpath \'' .. nfile .. '\' --relative-to=\'' .. os.Getwd() .. '\'')
Expand Down Expand Up @@ -1394,6 +1394,9 @@ function init()
-- TODO: Change it to work with git, based on untracked/changed/added/whatever
config.AddRuntimeFile("filemanager", config.RTSyntax, "syntax.yaml")

-- Add the help file
config.AddRuntimeFile("filemanager", config.RTHelp, "help/filemanager.md")

-- NOTE: This must be below the syntax load command or coloring won't work
-- Just auto-open if the option is enabled
-- This will run when the plugin first loads
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions filemanager-plugin/repo.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
"Require": {
"micro": ">=2.0.0-1"
}
},
{
"Version": "3.5.2.1",
"Url": "https://github.com/micro-editor/updated-plugins/releases/download/v1.0.0/filemanager-3.5.2.1.zip",
"Require": {
"micro": ">=2.0.0-1"
}
}
]
}
Expand Down