this post was submitted on 25 Oct 2023
13 points (100.0% liked)

Programmer Humor

31997 readers
749 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

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

top 35 comments
sorted by: hot top controversial new old
[–] nautilus@lemmy.dbzer0.com 2 points 10 months ago (2 children)
[–] nullpotential@lemmy.dbzer0.com 1 points 10 months ago (1 children)
[–] Troz@sh.itjust.works 2 points 2 weeks ago

I made that switch a few months ago just so I could cut, copy and paste without having to lookup how to do it. it's been great.

[–] penquin@lemm.ee 0 points 10 months ago (2 children)

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

[–] uzay@infosec.pub 0 points 10 months ago (1 children)

It just makes a lot of stuff way easier once you know how to use it. Switching out a word for another: two button-presses, duplicating a line: three presses, deleting 500 consecutive lines: five presses

[–] penquin@lemm.ee 0 points 10 months ago (1 children)

But you can do all that with nano and it is straight forward and you don't need to memorize any key combinations. I mean, I get it and no judgement here. I just use nano because it's easy and quick.

[–] r1veRRR@feddit.de 0 points 10 months ago

You can also copy paste by manually copying text by hand, would call that a valid alternative to Ctrl-C/V?

[–] r1veRRR@feddit.de 0 points 10 months ago

I don't understand the need for Ctrl-C/V, when manually copying the text exists. I know it's snarky, but that's the level of difference we're talking about here. Or imagine, to delete a line, someone Right Arrows 50 times, then backspaces 50 times, instead of using the shortcut.

[–] psud@aussie.zone 1 points 10 months ago (2 children)

If anyone needs the command: :q!

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

If you want to save: :wq

[–] intensely_human@lemm.ee 0 points 10 months ago (1 children)

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

[–] Oszilloraptor@feddit.de 0 points 10 months ago

Some people just want to see the world burning

[–] Zacryon@feddit.de 0 points 10 months ago

If you want to save: :wq

Or :x

[–] homura1650@lemmy.world 1 points 10 months ago* (last edited 10 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

[–] Matombo@feddit.de 0 points 10 months ago

Oh wow, that's an easy way to not implement a feature ;)

[–] mdurell@lemmy.world 0 points 10 months ago (1 children)
[–] darcy@sh.itjust.works 0 points 10 months ago (1 children)

if your desktop environment uses alt+f4 to quit 💀

[–] Bene7rddso@feddit.de 0 points 10 months ago

If yours doesn't use it, you know what it uses instead

[–] rtxn@lemmy.world 0 points 10 months ago (3 children)

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.

[–] doeknius_gloek@feddit.de 0 points 10 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?

[–] Evilschnuff@feddit.de 0 points 10 months ago (3 children)

Would love to but I’m not going to pay a subscription for sync (one time would be ok), or have my data on a random aws instance. And last time I checked there is no plugin for your own self defined sync storage like Nextcloud. Once there is, I’m having a go.

[–] hinterlufer@lemmy.world 0 points 10 months ago (1 children)

there's a git plugin which can sync with any git server

[–] Evilschnuff@feddit.de 0 points 10 months ago* (last edited 10 months ago) (1 children)

Thanks for the heads-up. I see that it has an auto-commit feature, that may be interesting, if it also works on iOS.

[–] hinterlufer@lemmy.world 0 points 10 months ago (1 children)

You can set it to automatically commit and push every x minutes and pull every time you start the app.

[–] Evilschnuff@feddit.de 0 points 10 months ago

just saw after you replied :) but unfortunately that is only available on desktop.

[–] Traister101@lemmy.today 0 points 10 months ago (1 children)

It's just markdown. You should know how to use git, use it.

[–] Evilschnuff@feddit.de 0 points 10 months ago
[–] RazorsLedge@lemmy.world 0 points 10 months ago (1 children)

You can use FolderSync to sync your .md dir to nextcloud. It suited me well because I use foldersync for other purposes, too

[–] Evilschnuff@feddit.de 0 points 10 months ago

I may need to add, that I use Obsidian across Win/Linux/iOS/macOS via remotely save. the sync solution needs to be able to work on all platforms. Logseq doesn't have mobile plugins yet and iOS makes filesystem access a pain.

[–] lost@feddit.de 0 points 10 months ago

I would in theory prefer FOSS. But what is the situation with plugins and themes? Can I use obsidian plugins with any of those? If not, I'm probably not gonna switch.

[–] flop_leash_973@lemmy.world 0 points 10 months ago (2 children)

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.

[–] jayemar@lemm.ee 0 points 10 months ago (1 children)

I understand where you're coming from, but as a frequent user of vim I'd much rather have the additional line of text.

[–] beastlykings@sh.itjust.works 0 points 10 months ago (1 children)

It should be default on, with a setting to turn it off for power users

[–] thecodeboss@lemmy.world 1 points 10 months ago

They could even have one of the commands on the cheatsheet be to hide it, so anyone who doesn't want it will immediately see how to turn it off.

[–] corship@feddit.de 0 points 10 months ago
[–] _cnt0@feddit.de 0 points 10 months ago