r/PowerShell • u/simwai • Sep 08 '26
Script Sharing PowerShell Text Editor | Alternative to vim and nano
Heyo, I made pwsh 7.6+-based text editor, because the other CLI text editors were so damn difficult to use. The main inspration came from nano. What I wanted to avoid was vim-like UI/UX. My goal was to make it stupidly easy to use, but still without compromising functionality. The most difficult part was the paste functionality.
https://github.com/simwai/babae/
Would be cool if anybody could give it a try and tell me some feedback and/or discovered bugs
0
Upvotes
33
u/drziak_drzy Sep 08 '26
why not microsoft edit?
10
u/dmchmk Sep 08 '26
So, nano is difficult, but making completely new text editor from scratch is somehow easier?
23
u/az987654 Sep 08 '26
Vibe slop.
Pass
2
u/CRTejaswi Sep 08 '26
vim/emacs. the end. write plugins not editors. though, kudos for your project. looks good!
1
u/purplemonkeymad Sep 08 '26
If you want to make it more PS specific than just a text editor, go for stuff that only exists in a powershell environment. When I did the same thing I added support to edit variables (string, arrays and objects as json,) support other providers (live patching functions was nice occasionally,) or pssession specific editing (could also complete paths on the remote session.) Fixing stuff from a Get-Clipboard was the main use case I ended up actually using.
It kinda broke with Windows Terminal and I never had the impulse to fix it.
2
u/Nanocephalic Sep 08 '26
Well that’s neat.
1
u/Szeraax Sep 08 '26
I like Micro
1
u/BlackV Sep 08 '26 edited Sep 08 '26
I just use
edit.com(well technically itsedit.exenow days and windows only)-2
u/simwai Sep 08 '26
That's how it looks like: https://ibb.co/gFMn1KRP