4 ms·
I believe the concept of nnn is that all the source code is contained in one file. If you wish to add extensions onto nnn, you can then write a c file and inclu
by groovybits 7y ago
I believe the concept of nnn is that all the source code is contained in one file. If you wish to add extensions onto nnn, you can then write a c file and include it in nnn.c
- apjana 7y agoExtensions are (mostly) POSIX-compliant shell scripts (though they can be compiled binaries also). I have (kind of) explained in the main thread the reason I never felt the need of re-factoring the code into multiple files.
- groovybits 7y agoAh, it was shell scripts I was thinking of. For the record, the concept makes since to me. I moved from ranger to nnn a while back, and the performance improvement that nnn provides really shows. Thanks for all the hard work!
- apjana 7y agoThanks for the compliment! The plugin-based mechanism fits perfectly with the fundamental design to keep the core file manager lean and fast, by delegating repetitive (but not necessarily file manager-specific) tasks to the plugins.