Plugins, themes, and keybinds for
Marta
File Manager for macOS
Create 🔗Symbolic Links, ⤻Aliases, or ⤑Hard Links in the same pane or at the opposite/inactive pane with automatically generated names with:
- user-configurable affixes (Symlink🔗.txt, Alias⤻.app, Hardlink⤑.md), single-char by default to delete easier when you move the links elsewhere
- user-configurable affix location (⎀pre.ext, stem⎀.ext, post.ext⎀)
To customize the plugin behavior, paste the following configuration lines to you behavior { actions {
section and change them; the built-in config editor1 contains helpful tips on what each option does and what values it accepts
Click to expand config
"es¦file.link.affixSym" "🔗"
"es¦file.link.affixAlias" "⤻"
"es¦file.link.affixHard" "⤑"
"es¦file.link.spot" "stem"
"es¦file.link.maxLinkNo" 1
"es¦file.link.maxIterNo" 0
"es¦file.link.binAlias" "/usr/local/bin/alisma"
"es¦file.link.binHard" "/usr/local/opt/coreutils/libexec/gnubin/ln"
Close all duplicate tabs (except for the currently active one):
- semi-automatically: by remapping ⌘W (
"Cmd+W" "es¦tab.✗tab_n_dupe"
) to- ✗close the current tab
- select 1 tab to the ←left (fixing this issue)
- ✗close all dupe tabs
- manually: by running the
Tab: ✗Close Duplicates
action2
'Tab deduplication' plugin file
TBD
Plugins: copy files from the Plugins folder to the same folder in your config folder3
Theme: copy files from the Themes folder to the same folder in your config folder3, then
- either run the
Switch Theme
action and selectesWhite
- or set
theme "esWhite"
in thebehavior {}
section of yourconf.marco
file
Keybinds: copy the keyBindings
section from the conf.marco file to the same file in your config folder3
- Due to a lack of Marta alias/hardlink creation APIs (upvote the corresponding issues alias, hardlink) you should install alisma to create aliases (hardlinks are using the system
ln
) - Configuration tips don't display unicode values properly, see this bug
- After a hardlink is created the file list is not refreshed like it's when a symlink/alias is created, refresh manually to see the new file
- Action names have the default icons even if the user specified custom ones, can't load user config on plugin load (see this issue). Workaround: manually replace the icons in the
marta.action(
lines of your copy of the 'Link' plugin file
- Closing a tab with a mouse doesn't trigger anything; it also doesn't activate the left tab (see this issue)
@yanex for creating this highly customizable native macOS file manager; @page-down for his help with the Tab deduplication plugin