Vim is a puzzle based text editor
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 insaneAww yeah. Feels good.
Funny you should say that, because…
Performing all those whacky movements and operations is nothing short of an arcade gaming experience.
there is no text editor there is only nano
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.
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.
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.
CLI text editors have their specific use cases.
Couldn’t agree more. My use cases tend to be:
- text editor
- note taking
- IDE
- config editor
- log viewer
- adhoc data prep
- json viewer
EMACS users sometimes add web browser and email client, among other things but, that’s a bit further than I go. The perf for either of the main two blows nearly any GUI editor out of the water and being able to pipe stdout/stderr to them is just the wonderful cherry on top.
Hopefully tongue-in-cheek.
Because sure. Microsoft Word is the best IDE.I personally prefer running wordpad with WINE, as I can’t afford an office subscription.
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.
I refuse to use any GUI until people stop pronouncing it as gooey.
Well now I’m going to pronounce it gooey even harder!
“Graphical UI” it is
That’s “graphical oowey”, right? /s
I generally just say the letters; the amount of shit I get for saying gee en you…is not actually that much because I usually don’t interact with coding nerds via voice, only text, but if I did they would be livid
Edit: For some reason I try to pronounce Xfce as a word instead of an initialism though, ‘ecks-fiss’. Maybe I’m just broken.
Acceptable.
X forwarding is too much work
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.
I do everything with cat, sed and awk.
Fuck your TUIs.
But how do you write your awk script?
cat > filename << END
of course.chatgpt
NANO GANG RISE
for everything else, there’s sublime.
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.
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.
Really? Not that I’d notice, but I assumed
ed
was so tiny that there wouldn’t be any reason to not include it. (Ubuntu has it and it’s 59KB)Asking for
vi
and gettingvim
is just a pleasant surprise :)
:q!
If you like Sublime, you’re gonna love Micro.
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’ve no choice coz I haven’t been able to quit for last 7 years.
You’re entitled to your wrong opinion
Sudo apt install AGAIN!
reinstalling all packages... removing ace-of-penguins... installing ace-of-penguins... removing apt... installing apt... error: apt does not exist! dispose of computer.
bash: found the mobile user
This incident will be reported!
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.
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’m a simple man. I see midnight commander, I think ‘dang, I need to use it more, stop calling me out’
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?
You bet I would down load a car ,!! I’m going to down a car right now !!
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!
Just type
:!bash
(or whatever heathenous shell you prefer) and you never have to leave the warm embrace of vim ever againGood, you still can get it right on the first try then
I like evil/spacemacs because I can get my vim fix virtually, because emacs from a software engineering perspective is beautiful!
uses ed
What is Again! ? Never heard of that text editor