Neo-mc – a Midnight Commander fork with scripting and other features
github.com
github.com
That said, i am not sure what this fork adds. I know a lot of mc tricks, i use it a few times a week. But im not a shell, editor, whatever customizer anyways. So not sure if i would miss scripting. I like it if stuff works out of the box, which mc already does!
A few screenshots of those editing features would help. And maybe contribute some of those new features to the main project. Anyways, nice job!
I mostly use the core feature of organizing files such as downloads, moving from one folder to another; sorting by size, date, etc, for a quick overview. What would your tricks be?
I just tried and it also works for sftp as well! Though it doesn't seem to read ~/.ssh/authorized_keys -so you have to enter your password each time.
But typing something like cd sftp://<server>/<directory> is a great way to access my unsupported (no guest additions) virtual machines from WSL
There's one snag with ctrl-o; it only works for Linux consoles and xterms. It doesn't appear to work with a BSD (or whatever) console -at least it always gives me errors.
When I install a server the first command I run is
<package_manager> install screen vim mcDoes anyone know if the contributors of this fork ever talked to the current maintainers of mc? Since the fork of mc about 10 years ago, there has come a lot of new features and bugfixes into mc the filemanager. I would assume they are open for contributions.
Anyone, I really love this Midnight Commander, It is maybe my most important and most used piece of software :)
Yes, and there was a kind of dispute about this. The gist of it can be found in this ticket: https://midnight-commander.org/ticket/4187
EDIT: Interesting read also about the pros and cons of Slang2 as scripting language, some history and the job of maintaining mc in general …
So there is also a plugin system in Lua waiting, it just needs someone to care for it. The S-lang plugin system will not go in mc itself since they prefer to get rid of S-lang alltogether, in favor of ncurses as screen library. This same author had a Python plugin system first, but scrapped it in favor of this S-lang plugin system.
And yes, I can imagine they are looking more for people doing maintenance instead of innovators. They do seem genuine nice guys though.
> gee, look - a 3rd contender for a scripting integration ... and the 2nd from you, heh. i guess you're retracting #4136 then?
> how does this compare in size with moofie's lua stuff? that's what the integration question mostly hinges on, i think.
> according to trac's diff view, the indentation in the patch is somewhat random. how did you even manage to do that ...? :}
>> Am I doing something wrong?
> yes - not doing enough meditation. :D no, seriously, you need patience. a lot of it.
Edit: and is submitting at least some code upstream e.g. https://midnight-commander.org/ticket/4160
What is M602?
However, I refuse to climb the learning cliff of Vi, but nano is... Okay at best?
Is mcedit a good option? I'm still just doing everything from shell and nano.
Only about 30 minutes of effort will be enough to make it much easier to use than nano, in my opinion. Then over time you can learn what makes it powerful, play with mouse control, check out neovim, etc...
People, get your mind out of the 1970s and check out the micro editor.
for instance in normal mode where you issue commands to edit text(opposed to insert mode which is akin to any other editor where it's mostly just typing information into the document) you can issue something like delete a(round) word and it deletes the word `daw`. or delete inner word `diw`. want to change a word? change d to c and it deletes the word and leaves you in insert mode to type. all of the commands are very composable and form a "language" to edit text that's a lot more approachable than you'd think. one fun one is something like `ci'` or `ci"` which will if you are on a line with an open and closing " or ' will search forward in the line for a " or ' and delete what's inside that and leave you in insert mode to make your edits....
some more fun reading: https://gist.github.com/nifl/1178878
I don't recommend wasting your time getting great with it or anything. Just enough to be able to use it to do anything you could do with nano...but it will be 3x faster and easier on a console instead of using nano if you learn enough to do what you can do with nano with it.
Learning the vi language makes me think about interacting with computers in a new way.
I wish TextAdept had become more popular since I always thought it was a strong choice for a modern editor with solid Lua customization support. But it seems like 'micro' is the popular one. Has 16000 stars on GitHub.
sudo apt install micro
or
curl https://getmic.ro | bash
Or just download the binary from github.
I'm not covering half of it. Trust me, it is just generally not an option for system administration in the large.
It's just amazing that says admins are literally suggessting they can't install a program.
http://xahlee.info/kbd/keyboard_hardware_and_key_choices.htm...
"How did vi's mode switching idea came from? Back in 1970s, terminal screen are 80 columns by 24 lines. There's no real-time editing. You edit by typing a command, then call another command to have the screen update to show the result of your command. Vi's “modal editing” is evolved from this. This is also why emacs's manual calls itself “Real Time Display Editor”. Emacs is the first or one of the first “Real Time Display” editor.
Why vi uses j k h l for cursor movement? Unix vi's use of j k h i for cursor movement, and the choice of Escape key for mode switching, came from the keyboard it was developed on, the ADM-3A terminal."
while it's true that it was born of historical necessity and the decisions for it were partly due to keyboard constraints and the other constraints, I disagree vehemently with the assertion that it's not a more efficient way to edit code. writing a screenplay? maybe not but programming? yes... especially in the context of a larger ide.
I disagree vehemently with your vehement disagreement. I just don't believe you are really saving that much time.
Again, saying that as someone who has used vim for 30 years. Among other editors.
ArgoMC, obviously. ;)
and yep it's in rust
Graphically, have you tried Double Commander? It's multi-platform Qt app; while I don't know how well is behaves on Mac OS, it's fantastic in Linux.
[1] https://github.com/elfmz/far2l [2] https://www.farmanager.com/
And I think that Far Manager is the best 2 panel file manager ever.