Text editor with built-in directory tree

This plus the builtin M-x dired might be suitable. There’s also a whole list of modes dedicated to this or similar purposes:

  • dired-subtree
  • speedbar
  • sidebar
  • treemacs

The answer to the question “is there an editor that does …” is, of course, “Emacs”.

Regarding Midnight Commander;
This looks like what i want, but i cant find what became of the request:
https://midnight-commander.org/ticket/2622

The linked commit seems to indicate that it became a supported feature in 2012.

Yet, i cant find how to do it.

…Unless its because im using Midnight Commander for Windows:

I found this bit in the README:

Internal editor is supported (including syntax highlighting).

Internal viewer is supported (including hex editor).

   Note the underlying the view logic may invoke one or more system
   utilities which are not generally available on Windows systems.

   If upon viewing a file using <F3> and it fails, use <shift-F3> which
   shall use the internal viewer bypassing the file extension based
   logic.

Source: Midnight Commander for Windows - Browse Files at SourceForge.net

Also:

Multiple viewers and editors

You can concurrently run multiple viewers and editors (screens). Use following default hotkeys:

shortcut description
Meta + ` Show list of screens: viewers, editors and file panel
Meta + { Switch to previous screen
Meta + } Switch to next screen

Source: doc/common/multipleViewersEditors – Midnight Commander

1 Like

Thanks so much,

I already tried the Meta + ` That seems to only swap screens. Kind of like Alt +TAB
F3 and Shift + F3 work fine, but again, do not bring up a split view of directory tree and editor.

It appears from the docs, the viewer/editor is controlled by a mechanism determining file types from standard extensions. Maybe you have to set a file type or even activate a plug-in. (Apparently, they are all on per default on Linux, but not on Windows.) Also, the shortcuts are configurable. Maybe check them, as well? There should be config files for this.

So, i installed it on Ubuntu using the new Windows Terminal (something ive never done before)
But the option still doesnt appear to be there.

Turns out Atom with a bunch of modifying is a tolerable solution, for now:

2 Likes

So,
Im mostly using Atom, now - But there are a few things its missing, such as the ability to type in random places (rather than line by line).

If anyone else is looking for that retro feel, the best i have come up with is tweaking all of Windows’ settings.

Copy the following into notepad and save as Whatever.Theme. Double click on said file to apply.

; Copyright © Microsoft Corp.

[Theme]
; High Contrast Black - IDS_THEME_DISPLAYNAME_HCBLACK
DisplayName=test
ThemeId={9F1EB10A-B6E7-4983-8F51-60D3B5F87E96}

; Computer - SHIDI_SERVER
[CLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-109

; UsersFiles - SHIDI_USERFILES
[CLSID{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-123

; Network - SHIDI_MYNETWORK
[CLSID{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-25

; Recycle Bin - SHIDI_RECYCLERFULL SHIDI_RECYCLER
[CLSID{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
Full=%SystemRoot%\System32\imageres.dll,-54
Empty=%SystemRoot%\System32\imageres.dll,-55

[Control Panel\Colors]
ActiveTitle=4 20 4
Background=4 20 4
Hilight=57 250 117
HilightText=4 20 4
TitleText=57 250 117
Window=4 20 4
WindowText=57 250 117
Scrollbar=57 250 117
InactiveTitle=4 20 4
Menu=4 20 4
WindowFrame=57 250 117
MenuText=57 250 117
ActiveBorder=57 250 117
InactiveBorder=57 250 117
AppWorkspace=51 51 51
ButtonFace=4 20 4
ButtonShadow=4 20 4
GrayText=63 63 63
ButtonText=57 250 117
InactiveTitleText=57 250 117
ButtonHilight=2 224 72
ButtonDkShadow=2 230 30
ButtonLight=57 250 117
InfoText=57 250 117
InfoWindow=4 20 4
GradientActiveTitle=30 30 30
GradientInactiveTitle=51 51 51
ButtonAlternateFace=192 192 192
HotTrackingColor=57 250 117
MenuHilight=17 50 24
MenuBar=4 20 4

[Control Panel\Cursors]
Arrow=
Help=
AppStarting=
Wait=
NWPen=
No=
SizeNS=
SizeWE=
Crosshair=
IBeam=
SizeNWSE=
SizeNESW=
SizeAll=
UpArrow=
DefaultValue=Black Green Binary
Hand=
Link=

[Control Panel\Desktop]
Pattern=
MultimonBackgrounds=0
PicturePosition=4
Wallpaper=

[Control Panel\Desktop\WindowMetrics]

[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\AeroLite.msstyles
ColorStyle=NormalColor
Size=NormalSize
HighContrast=3
ColorizationColor=0XC4000000
AutoColorization=0
VisualStyleVersion=10
AppMode=Dark
SystemMode=Dark

[boot]
SCRNSAVE.EXE=

[MasterThemeSelector]
MTSM=RJSPBS

[Sounds]
; IDS_SCHEME_DEFAULT
[email protected],-801

For added glory, download this font Pixel Emulator Font | dafont.com
And follow these instructions: How to change default system font on Windows 10 | Windows Central

Regarding fonts, you may also want to have a look at this previous post on a variety of 8-bit to 16-bit system fonts in modern format/encoding.

1 Like

The Mark Simonson Atari post also has a link to some nice chunky fonts inspired by the Atari 8-bit line of computers. (They may be linked in the previous post, as well.)

1 Like

The ultimate tiny font is here:
https://simplifier.neocities.org/index.html
Very bottom of the page.
Ben.

2 Likes

Impressive:

There’s an editor, Ox, featured on HN, which seems to support file trees:

Fitting the retro theme well, it’s lightweight and meant to be able to run on older computers. While there are restrictions regarding Windows (for the lack of an appropriate terminal), I guess, it may run on modern Windows with the Linux subsystem as well.

Ox is a text editor with IDE-like features. It was written in Rust using ANSI escape sequences. It assists developers with programming by providing several tools to speed up and make programming easier and a refreshing alternative to heavily bloated and resource hungry editors such as VS Code and JetBrains. Ox is so lightweight that it can be used on older computers.

It runs in the terminal and runs on platforms like Linux and macOS but doesn’t work on Windows directly (it works if you use WSL) due to a lack of a good command line. There are many text editors out there and each one of them has their flaws and I hope to have a text editor that overcomes many of the burdens and issues.

Ox is not based on any other editor and has been built from the ground up without any base at all.

HN discussion: Ox is a fast text editor, written in Rust, that runs in your terminal | Hacker News

Thank you!
I’ll check it out!

Well,
I got as far as actually getting it to run (Know nothing about Linux). Then ran out of steam when looking into modifying config. Seems like the same thing as Atom, anyway.


Finally got it the way i want

2 Likes

What editor You finally found (this on the picture)?