this post was submitted on 08 Aug 2023
73 points (100.0% liked)

Linux

50486 readers
1204 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Always heard about org mode but was intimidated by emacs when I could barely manage vi/vim (sorry guys). Installed a plugin for org-mode for Sublime Text today and... shit, why didn't I try this sooner?

I have thousands of text files with horrible organization, thrown around multiple directories, no common naming scheme, no hierarchy, no unified notation, just ramblings and a barely marginal attempt at organization using === as title markers. I have links and ideas buried deep and I didn't want to use a third party tool "just for managing text".

Well, my eyes are open, and thus I'm euphoric, enlightened by its brilliance. I must rewrite all my stuff in org-mode.

all 22 comments
sorted by: hot top controversial new old
[–] neo@lemmy.comfysnug.space 16 points 2 years ago (1 children)

Welcome to emacs, you're here forever.

[–] conrad82@lemmy.world 4 points 2 years ago

Actually I left 🫣🫣 After using it for a few years. I couldn't get a hang of it on Android, and I ended up switching to caldav for tasks and markdown for notes.

Currently testing out https://silverbullet.md

I did enjoy orgmode for a long time, but I got too old for init.el ..

[–] pspinler@beehaw.org 8 points 2 years ago (5 children)

I use org mode extensively, and yeah, gotta admit it's nice.

My biggest gripe is the amount of typing it still takes to annotate stuff. I often find it hard to keep up e.g. taking live notes in a class settings.

For instance, starting a new document and typing:

  #+BEGIN_TITLE
  Class XYZ Notes
  #+END_TITLE

Then later on I wanna insert a code segment, and, gotta:

  #+BEGIN_SRC javascript
  $var = "ooh, cool code, bro.";
  #+END_SRC

(yeah, C-c C-, s works, but I gotta remember that exists, and then also ewww generates in lowercase -- uppercase that shortcut output!)

And then I find I want a table, so lots of "|"s

There's probably better faster shortcuts for lots of this, but like everything in emacs, it's finding and learning them. Typically I need some downtime to do that, which doesn't happen if I'm e.g. trying to take notes quickly.

Anyway, despite this, I gotta agree org mode is really helpful. Happying org'ing to you!

-- Pat

[–] zauberin@beehaw.org 4 points 2 years ago* (last edited 2 years ago)

You can do #+TITLE: titletext instead for titles at least, also I guess the table stuff is reasons to do emacs because you only need to do the first | and then pressing tab/enter like excel does the rest

[–] MonsieurPi@feddit.it 2 points 2 years ago

You can use yasnippet or tempel with tempel-collections to create blocks from templates without having to write them all by yourself (https://github.com/mattiasdrp/pokemacs/blob/main/init.org#tempel for example)

[–] rar@discuss.online 1 points 2 years ago

Thanks for the encouragement. I suppose I can make a macro or a temporary marker to replace them for proper syntax like you described when I'm in a hurry? I first have to transform some of the notes I'm using to org-mode syntax first so I can get used to this.

[–] Exec@pawb.social 1 points 2 years ago

Reading the docs it feels close to markdown, but most markdown implementations have a much simpler format for code blocks with syntax specified:
```javascript
$var = "ooh, cool code, bro.";
```

Will turn into:

$var = "ooh, cool code, bro.";  

(Though lemmy-ui doesn't seem to support syntax highlighting.)

[–] housepanther@lemmy.goblackcat.com 5 points 2 years ago (2 children)

There used to be an awesome vi tutorial page at the University of Hawaii but it's no longer there. You might find it archived on the internet archive way back though.

[–] BorvorRav@lemmy.ml 7 points 2 years ago (1 children)
[–] housepanther@lemmy.goblackcat.com 1 points 2 years ago (1 children)

Huh! That's pretty cool. I've bookmarked the site to check it out later. Thanks!

[–] BorvorRav@lemmy.ml 5 points 2 years ago

Full disclosure, I think you have to pay to get past like the second level.

[–] oleorun@lemmy.fan 4 points 2 years ago (2 children)
[–] housepanther@lemmy.goblackcat.com 3 points 2 years ago* (last edited 2 years ago)

That's the one! I learned vi with that website. Turned me into a big fan.

[–] housepanther@lemmy.goblackcat.com 1 points 2 years ago (1 children)

Just out of curiosity, do you know of a good resource for learning awk, sed, and grep?

[–] housepanther@lemmy.goblackcat.com 3 points 2 years ago (1 children)
[–] rar@discuss.online 2 points 2 years ago

Many thanks, will check that one.

[–] treadful@lemmy.zip -3 points 2 years ago (1 children)
[–] TheButtonJustSpins@infosec.pub 3 points 2 years ago (1 children)

You're getting downvotes, but I also have no idea what's going on in this post.

[–] syaochan@feddit.it 2 points 2 years ago

You could have just done a little search https://orgmode.org/