You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modal File Manager will now delete to the trashcan on macOS with the trash-cli. The command line program needs to be installed first. Started working on the preferences settings with whether to use the trashcan or not. Framework is in place for the theme manager as well.
Copy file name to clipboardExpand all lines: README.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,24 +49,26 @@ I've created multiple open source resources (I have around 80 GitHub repositorie
49
49
## Current Feature Set
50
50
51
51
- Dual pane file manager with vim style model hotkeys for navigation and action launching.
52
-
- Command bar for executing commands (`:` in any mode or `<ctrl>p` in normal mode).
52
+
- Command Prompt for executing commands (`:` in any mode or `<ctrl>p` in normal mode).
53
53
- Fully extendable with extensions using the extensions API
54
54
- Fully extendable to alternate file systems
55
-
- Fully theme-able
55
+
- Fully theme-able. Theme manager in the development.
56
56
- A file details side panel can be shown to overlay the panel not currently focused (`toggleExtraPanel` command). It shows video previews and stats with the ffmpeg programs installed.
57
57
- Themes and extensions are explorable and downloadable from GitHub inside the program.
58
58
- Hot keys are programmable
59
59
- A number before a hot key runs it's associated command that many times (ex: `5j` will move the cursor 5 entries down the list).
60
60
- Watches for changes in the current directory and updates accordingly.
61
61
- Changing directories in the Directory Bar (normal mode `q`) shows a list of matching entries from history and then below the current directory.
62
-
- File editor is configurable by the `~/.myeditorchoice` file (see `Editing Files` below)
62
+
- File editor is configurable by the `~/.myeditorchoice` file (see `Editing Files` below). Otherwise, the system editor for the file type will be used.
63
63
- Integrated with ScriptPad - another project of mine coming soon!
64
64
- Quick Search - a input to type text so that any entry at that level is removed that doesn't have that text in it. Just refresh the pane to get back to normal. I think of it as a quick filter more than a quic search.
65
65
- Toggle System files/folders visibility
66
+
- Optionally deletes to the OS's trashcan (external program has to be installed)
67
+
- Change the environment used to execute external programs using the `Show Preferences` Command Prompt command.
66
68
67
69
## Installation
68
70
69
-
These directions currently work for the macOS. I haven't tested for finished the Linux or Windows installation.
71
+
These directions currently work for the macOS. I haven't tested for finished the Linux or Windows installation. All external programs should be installed before first running the Modal File Manager. Otherwise, you will have to modify the path used to execute external programs to find them.
70
72
71
73
I have a run script made with [Mask](https://github.com/jakedeichert/mask) and [Node.js](https://nodejs.org/en/). You have to put a copy of [NW.js](https://nwjs.io/) in the 'misc' directory as `nwjs.app`. Or, you can change the script. I'm assuming you aren't changing the script in the following.
72
74
@@ -101,7 +103,7 @@ mask launch -d
101
103
102
104
which will launch the sdk version of NW.js with full development tools.
103
105
104
-
I'm working on making actual releases, but I'm having issues with getting it right on the macOS. You should be able to run it on Windows and Linux, but I haven't tested it on those platforms. Actually, since I'm using mostly command line commands to perform actions, running on Windows will most likely not work currently. But, I to plan on fleshing it out soon. I currently only have a Mac and do all my work on it. Donations will help me expand out to the other platforms, or if anyone wants to lend a hand!
106
+
If you just want to download a program to use, check the releases. I'm currently releasing alpha level macOS binaries in the releases.
105
107
106
108
## Upgrading
107
109
@@ -113,9 +115,11 @@ There are a few non-standard command line programs I use with Modal File Manager
113
115
114
116
-[ffmpeg](https://ffmpeg.org/) for getting and using video information in the Extra Panel.
115
117
-[fd](https://github.com/sharkdp/fd) for quick file finding. It's a `find` replacement written in Rust.
116
-
-I also use the standard cp, mv, and rm commands on the command line. These still run faster than rewriting them in the scripting language. The major drawback is there isn't a backup method. Once deleted, always deleted. `Trashcan` support will come later.
118
+
-For using the macOS trashcan, you have to have (`trash`)[https://github.com/andreafrancia/trash-cli]command line program installed using `brew install trash-cli`. If the program isn't installed before installing mfm, then you will need to adjust the environment variable for PATH in the preferences to make sure it is in the path.
117
119
118
-
All of the programs should be downloaded and in your shells path. Modal File Manager doesn't assume location for anything except or it's own configuration files.
120
+
I also use the standard `cp`, `mv`, and `rm` commands on the command line. These still run faster than rewriting them in the scripting language. The major drawback is there isn't a backup method. Once deleted, always deleted.
121
+
122
+
All of the programs should be downloaded and in your shell's path. Modal File Manager doesn't assume location for anything except or it's own configuration files. But, if Modal File Manager can't find the program, you can adjust the path used in the preferences (Command Prompt command is `Show Preferences`).
119
123
120
124
## Configuration Files
121
125
@@ -174,8 +178,6 @@ file in the default file editor.
174
178
- Reloading extensions without relaunching
175
179
- Add more file views for the Extra Panel
176
180
- Multiple windows
177
-
- Create an icon for the program
178
-
- Create a proper macOS application
179
181
- Get Windows working
180
182
- Get Linux tested and working
181
183
- Get audio listening in the Extras Panel.
@@ -275,8 +277,9 @@ These commands can be ran from the command prompt. They all act upon the current
275
277
|`Rerun Last Command`| This will rerun the last command along with it the number of times it was ran. | reRunLastCommand |
276
278
|`Toggle Filter`| Toggles the show all and default filters. | toggleFilter |
277
279
|`Show All Filter`| Sets to show all Entries. | setShowAllFilter |
278
-
| `Show Only Non-System Files/Folders | Sets the default filter of not showing system files/folders. | setDefaultFilter |
280
+
|`Show Only Non-System Files/Folders`| Sets the default filter of not showing system files/folders. | setDefaultFilter |
279
281
|`Open in Opposite Panel`| Opens the directory the cursor is on or the directory the cursor is in in the opposite panel. | openOppositePanel |
282
+
|`Reload Extensions`| Reload all the extensions, keyboard maps, and theme. | reloadExtensions |
0 commit comments