this post was submitted on 08 Aug 2023
57 points (100.0% liked)
Linux
48711 readers
1102 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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:
Then later on I wanna insert a code segment, and, gotta:
(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
You can do #+TITLE: titletext instead for titles at least
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.
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:
(Though lemmy-ui doesn't seem to support syntax highlighting.)
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)
For the tables you can do 'M-x org-table-create' which then asks you for dimensions and makes it for you.
I think org-capture might help you with the other stuff, you can set up templates and access them by pressing 'C-c c' and get it all inserted in whatever org file and under whatever heading you want.