2253
Very clever... (lemmy.ml)
submitted 8 months ago by [email protected] to c/[email protected]

I'm trying out Obsidian for taking notes, and this made me laugh.

top 50 comments
sorted by: hot top controversial new old
[-] [email protected] 408 points 8 months ago

Funny, but unironically a pretty good idea.

[-] [email protected] 122 points 8 months ago

One of my first computer jobs was working in a student computer lab at my undergraduate university. This was back in the mid 90s-ish.

We had three types of computers - windows machines running 3.1 or whatever was current then, Macs who would all do a Wild Eep together when they rebooted en masse, and Sun X Windows dumb terminals that were basically just (obviously) unix machines for all intents and purposes. This was back when there were basically like 5 websites total, and people still hadn’t heard of Mosaic.

So everyone wanted the windows and Mac boxes, and only took the xterms when there was nothing else open. I was the primary support person for them since none of the other people wanted to learn Unix and I was the only CS major.

The X boxes suffered from two main learning hurdles. One was that backspaces were incorrectly mapped into some escape key sequence, and the other is that it would drop you from (I think) pine into emacs as a mail editor as soon as you hit it. 90% of my time was telling people how to exit emacs. It was that, putting more paper into the printers, and teaching myself more programming than I was learning in classes.

[-] [email protected] 44 points 8 months ago* (last edited 8 months ago)

My god that brought back memories. The first commands when sitting at a new terminal was always, always:

stty sane

stty erase '^H'

It was well into the 2000s before Unix had useable defaults.

load more comments (2 replies)
load more comments (1 replies)
[-] [email protected] 161 points 8 months ago
[-] [email protected] 131 points 8 months ago* (last edited 8 months ago)

It's hard to hate nano, but IMHO there also isn't anything to like in particular either. It's basically a TUI notepad. It's there, it lets people edit files... and that's pretty much all there is to it.

[-] [email protected] 150 points 8 months ago

You can use nano without having to read anything about nano. That might be the only thing that is better about it than vim, but it's a damn important thing.

[-] [email protected] 68 points 8 months ago

I have zero patience when trying to make small adjustments to files, which is what my command line text editor should be for. Nano just has everything at the bottom in case you forget (I do, frequently) so the workflow is ridiculously streamlined for me

load more comments (6 replies)
[-] [email protected] 34 points 8 months ago

it's basically a TUI notepad. It's there, it does one job and that's all there is to it

That's what the people who like it like about it.

[-] [email protected] 32 points 8 months ago

That’s it’s job

What else is there for it to do?

load more comments (3 replies)
load more comments (2 replies)
[-] [email protected] 51 points 8 months ago* (last edited 8 months ago)

I like nano because it has worked any time I needed it. I don't dislike nano because I'm not good enough at Linux to have ever run into its limitations

[-] [email protected] 34 points 8 months ago

I never get the need to use vim and nano exists.

[-] [email protected] 23 points 8 months ago* (last edited 8 months ago)

Vim really is an IDE, not a text editor. It's usable as an editor but overkill.

Nano serves a difference purpose. It's like telling someone on a bike that a mustang is better.

[-] [email protected] 26 points 8 months ago

Vim is absolutely not an IDE. It has no integrations with any language. It's just a powerful text editor. You can add language plugins and configure it to be an IDE.

load more comments (37 replies)
load more comments (13 replies)
load more comments (17 replies)
[-] [email protected] 26 points 8 months ago

nano gang checking in.

However, I’ve been forced over time to remember “:wq” to get unstuck should vim randomly appear.

load more comments (5 replies)
load more comments (7 replies)
[-] Gentoo1337 122 points 8 months ago

Why would I want to exit vim?

[-] DWin 33 points 8 months ago

I tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS

load more comments (11 replies)
load more comments (1 replies)
[-] [email protected] 120 points 8 months ago

when you click enable vim it should just start nano

[-] Grass 40 points 8 months ago

I hate when I use visudo and it opens in nano and I try to use vi controls

[-] [email protected] 87 points 8 months ago

It's very easy to terminate vim. I just use the power button.

[-] [email protected] 35 points 8 months ago

Uh... so u guys don't change the PC each time that's cool I would definitely try that ...

load more comments (3 replies)
[-] [email protected] 82 points 8 months ago

If anyone needs the command: :q!

If you want the computer to ask if you're sure: :q

If you want to save: :wq

[-] [email protected] 64 points 8 months ago

You’re nullifying that safety measure by doing this you know

[-] [email protected] 21 points 8 months ago

Some people just want to see the world burning

load more comments (3 replies)
[-] [email protected] 22 points 8 months ago

If you want to save: :wq

Or :x

[-] [email protected] 21 points 8 months ago

:wq will write even if you didn't change anything; :x won't. (similar to :w vs :up)

load more comments (4 replies)
[-] [email protected] 77 points 8 months ago

I don't mean to be all "BuT iT's cLOseD SoURce" but you should give Logseq or Zettlr a try. They're similar WYSIWYG markdown editors, but also FOSS. Zettlr also has vim keys.

Plus Obsidian is horrible at editing tables.

[-] [email protected] 49 points 8 months ago

Also not a fan about the closed source thing, but I like about Obsidian that it's all just markdown. If I ever need to ditch it, I can keep and use my existing files as they are.

Would this also be possible with Zettlr or Logseq?

load more comments (3 replies)
[-] [email protected] 26 points 8 months ago

Thanks for the suggestions, I'm actually checking a couple new editors out as i'm looking for an alternative to OneNote. Just started messing with this one, but i'm not sure if i'll settle for it yet.

load more comments (1 replies)
[-] [email protected] 20 points 8 months ago

I just commented this elsewhere, but I personally feel that their reasons for being closed source are worse than actually just being closed source.

https://obsidian.rocks/why-isnt-obsidian-open-source/

[-] [email protected] 29 points 8 months ago

There's nothing there that really strikes me as disingenuous or bad. If they wanna be closed source, they can be, for whatever reason(s) they want. Does it mean a number of people (me included) are less likely to use it? Yes. But outside of our bubble here, most people don't care about open vs closed source software.

load more comments (2 replies)
load more comments (6 replies)
load more comments (18 replies)
[-] [email protected] 76 points 8 months ago

I mean, it's true.

I've been using linux pretty exclusively at home for almost 25 years now. Program. Script. Work in the shell a lot, and the other day I had to use vim and it took me a while to remember the basic commands. I'm a nano guy :\

load more comments (10 replies)
[-] [email protected] 53 points 8 months ago

Big brain time, pkill vim

Vim: Caught deadly signal TERM
Vim: Finished.
Terminated

[-] [email protected] 30 points 8 months ago

So from within vim :!pkill vim?

load more comments (2 replies)
load more comments (1 replies)
[-] [email protected] 50 points 8 months ago

A lot of my personal dislike for VIM would be done away with if it just had a helpful common keys cheat sheet (basic cursor navigation, edit mode, exit with and without saving, etc) at the bottom of the editor window like Nano does.

load more comments (10 replies)
[-] [email protected] 33 points 8 months ago* (last edited 8 months ago)

You don't change Vim, Vim changes you. https://youtu.be/9n1dtmzqnCU

*edit: shortened and thanks! Did not know and gross..

[-] [email protected] 32 points 8 months ago

There's a few different ways to write that command in vim, does it accept all of them?

load more comments (22 replies)
[-] [email protected] 24 points 8 months ago

I just can't quit you, vim!

load more comments (1 replies)
[-] [email protected] 24 points 8 months ago
[-] darcy 21 points 8 months ago

if your desktop environment uses alt+f4 to quit 💀

load more comments (2 replies)
load more comments (1 replies)
[-] [email protected] 23 points 8 months ago

That is just hilarious but also...

I just remembered that Bram Moolenaar, the author of vim has recently died...

He was a real good person. Back when he released his first vim for Amiga Computers I exchanged some emails with him and he handled even my less smart suggestions very professional.

I just take the chance to remind everyone to spend some money for his Uganda Charity.

[-] [email protected] 21 points 8 months ago* (last edited 8 months ago)

Tricky question, but I think I have a solution:

:!readlink /proc/$PPID/fd/* | grep "$(dirname %)/.$(basename %).sw" | xargs -I{} rm "{}" ; kill -9 $PPID

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 25 Oct 2023
2253 points (99.1% liked)

Programmer Humor

31251 readers
937 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS