there is no text editor there is only nano
You’re entitled to your wrong opinion
Much prefer Mirco thank you very much.
Vim is a puzzle based text editor
Performing all those whacky movements and operations is nothing short of an arcade gaming experience.
Exactly, it is lovely. Editing text with it is actually enjoyable.
The dopamine rush when you nail a complicated
%s
regex search-and-replace first try is insane
How did these people have “text editor wars” and yet failed to deliver a text editor half as good as microsoft’s edit.com ?
I’m sorry nano, you’re think you’re hot ?
But you put search on CTRL+W !!!
Do you know how stupid that is ?
Just go and try that in your browser …
Just use Micro
I’m gonna laugh my ass off if someone finds out there was some obscure Emacs fork or clone designed to run Clojure or something, and it’s named Again
I know you didn’t ask, but you don’t need a weird fork of emacs to run a Clojure REPL, that just works in regular emacs
this guy gets it. there are dozens of us
I feel like this was a self burn and I appreciate it.
Sudo apt install AGAIN!
Anytime I open Vim I ask the same question.
“how the fuck do I use you?”
then go back to nano
repeat.
Have you tried micro? Nano but better.
Accurate. The keyboard shortcuts just make sense and it’s full of features from this millennia. Like control click for multi cursor, automatic syntax highlighting, and automatic lint indicators.
Have you tried GUI text editors? They’re like the CLI ones, just from this millennium. We’re no longer etching runes into rocks any more either.
I refuse to use any GUI until people stop pronouncing it as gooey.
Well now I’m going to pronounce it gooey even harder!
X forwarding is too much work
Hopefully tongue-in-cheek.
Because sure. Microsoft Word is the best IDE.Hopefully tongue-in-cheek.
No.
Because sure. Microsoft Word is the best IDE.
Learn the difference between a word processor and a text editor.
Guess you’re not up on your memes. Frightfully sorry for responding to what I assumed was a meme answer with a meme answer.
Sometimes it’s not so easy to fire up a GUI, like when you ssh into another machine.
Sometimes it’s not so easy to fire up a GUI, like when you ssh into another machine.
CLI text editors have their specific use cases. For all other cases GUI ones (Kate, VSCode,…) exist.
I can’t try again because I can’t exit out …
It’s a common problem but the correct solution to closing vim is quite easy, press and hold control alt and F5 to drop to a new terminal. From there you can do “killall vim” to properly close vim, then just drop back to your main session
I wish I’d read this years ago! I’ve nearly bankrupted myself buying a new machine each time, thanks!
Good, you still can get it right on the first try then
I’ve no choice coz I haven’t been able to quit for last 7 years.
I do everything with cat, sed and awk.
Fuck your TUIs.
But how do you write your awk script?
chatgpt
cat > filename << END
of course.
NANO GANG RISE
for everything else, there’s sublime.
If you like Sublime, you’re gonna love Micro.
I tend to work on customer systems where I’m not allowed to install anything. I’ve yet to encounter one that doesn’t have
vi
installed, but I’ve seen a few withoutnano
.vi is part of the POSIX standard, so it’ll be available in some form on almost anything UNIX-flavoured
Which is a great reason to at least familiarize yourself with it. It’s the lingua franca of text editors.
:q!
Unless you wanted to learn to use ed (which you don’t)
ed is sadly not installed by default on some modern distros. Even vi is often a symlink to vim in vi-mode.
Once you try Vim you will never use another text editor. Or any other program for that matter because you won’t be able to exit.
What are you running MS-DOS? laughs in multi-tasking.
I just drag my vi terminals to another workspace and launch a new editor.
I just drag my vi terminals to another workspace and launch a new editor.
I see what you did there. Lol.
I also had that experience with emacs, which has a built in help system. I couldn’t find a topic on ‘exit’ or ‘quit’ and refused to just search online.
Took me half an hour.
and refused to just search online
Unless you were f*cked by your ISP as I am right now, that’s having some balls. Or being masochist. But nothing in between
I really didn’t want to let it win.
I’m editor bilingual but im a bit rusty in Emacs, so skill check: its C-x C-c right?
Ctrl + meta + butterfly
Yes. Though I believe it only kills the current frame if there are multiple
No, I think that exits. C-c k kills the buffer, C-x 0 (zero) will kill the frame. But I may have changed my binds and can never remember which is window and which is frame in emacs terms.
However, it’s somewhat moot as just about everywhere you run emacs, it’ll open up in gui mode and you can use the file menu. (Or use F10 to bring up the menus in terminal, but I have no idea where on the manual it would say that)
Emacs
The only Dad advice you nerds need:
mcedit from the Midnight Commander (mc) tool is the superior text editor.
I don’t even run arch, btw.
I remember when the GNOME file manager was this kind of interesting hybrid that used MC for the backend. The one thing I liked about it was that it could be docked in Window Maker. Yep I was using a Dock in GNOME waaaaaaaaaaaaaay before most GNOME users.
Nowadays it’s still possible to replicate my old Window Maker desktop in XFCE.
Ok, let’s try that
FIrst
Ok, that is already more storage space than openwrt needs to run a full linux distro
root@proxmox:~# mc mytestfile.txt
Esscuse me, the fuck is this !?
You’re looking at the full mc package rather than just mcedit. Even then, Midnight Commander is absolutely worth that whopping 7.9MB of space it takes for all the functionality it provides.
Openwrt is not an example to use to compate against a package size, as it’s target built to fit into small firmware storage spaces on all sorts of random hardware. That’s comparing existential philosophy with oranges.
Would you download a car?
I’m a simple man. I see midnight commander, I think ‘dang, I need to use it more, stop calling me out’
The only reason why I use Nano is so I can act like DankPods while saying it.
Na-no
na-no