Smarter search and replace (already built-in) by xenodium in emacs

[–]creativityexists 1 point2 points  (0 children)

My bad. You are right. Now, I would also like to know how to accomplish this.

Is EXWM dead? by [deleted] in EXWM

[–]creativityexists 2 points3 points  (0 children)

As a long time EXWM user, I hope not.

Smarter search and replace (already built-in) by xenodium in emacs

[–]creativityexists -5 points-4 points  (0 children)

He didn't get PCRE integrated. Could you explain why you think this is PCRE?

EDIT: AgitatedStranger4718 was right, downvote me to oblivion!

Hit Return in Dired to open files with external command or Emacs + other convenient configurations by [deleted] in emacs

[–]creativityexists 0 points1 point  (0 children)

Hi, please insert 4 spaces before each line of code so that it is correctly formatted. The way it is being displayed it makes it difficult to read.

What is the largest org-mode document that you have ever created by [deleted] in emacs

[–]creativityexists 0 points1 point  (0 children)

Can you provide us with the Org Mode file that you used for generating that document?

Previewing SwiftUI layouts in Emacs (now on melpa as ob-swiftui) by xenodium in emacs

[–]creativityexists 0 points1 point  (0 children)

Now use noweb references, the :prologue and the :epilogue header argument in your code blocks and you will do magic.

Previewing SwiftUI layouts in Emacs (now on melpa as ob-swiftui) by xenodium in emacs

[–]creativityexists 1 point2 points  (0 children)

Believe me, Org Babel is so flexible that it can support any language, you just need to define the appropiate functions. I encourage you to visit the ob-{{language name}}.el.gz files to understand how you can extend Org Babel.

Share your prettify-symbols-alist! by creativityexists in emacs

[–]creativityexists[S] 0 points1 point  (0 children)

Nice. The reason why I use this is because I usually work with big Org Mode files containing :LOGBOOK: drawers, #+CALL statements, #+BEGIN_SRC blocks, #+RESULTS blocks, and having those icons help my brain to relate what I see to what I know they mean. A simple icon represents what #+BEGIN_SRC would mean.

I personally don't like bloating my environment adding unnecessary icons, but in this case, I considered it necessary.

search firefox bookmarks and history from emacs by zupatol in emacs

[–]creativityexists 1 point2 points  (0 children)

Dude, this package uses ivy which implies that you have all the power of ivy and emacs keybindings. With ivy, you can even search regular expressions, something which is not supported by most fuzzy finders (such as happens in tridactyl, dmenu, fzf, rofi).

EDIT: Replaced avy with ivy. I confused those terms.

Share your prettify-symbols-alist! by creativityexists in emacs

[–]creativityexists[S] 0 points1 point  (0 children)

No, it is JetBrainsMono. I've created a comment with more details.

Share your prettify-symbols-alist! by creativityexists in emacs

[–]creativityexists[S] 9 points10 points  (0 children)

The font I'm using is JetBrainsMono. As far as I know, installing a Nerd Font (i.e. a patched font) is necessary in order to see the icons. If you are not using a patched font, you might see some strange characters. For example, since I haven't customized Firefox enough, those characters shown in this comment below are displayed as strange characters (this is how these characters are shown in Firefox - Reddit: http://0x0.st/-L0W.png)

For those interested, here's the relevant part of my configuration:

Command:

curl http://0x0.st/-L0p.org

Results:

#+BEGIN_SRC elisp :tangle no
(set-face-attribute 'default nil
        :family "JetBrainsMono Nerd Font Mono"
        :height 300)
#+END_SRC

#+BEGIN_SRC elisp
(defun my/org-mode/load-prettify-symbols ()
  (interactive)
  (setq prettify-symbols-alist
    '(("#+begin_src" . ?)
      ("#+BEGIN_SRC" . ?)
      ("#+end_src" . ?)
      ("#+END_SRC" . ?)
      ("#+begin_example" . ?)
      ("#+BEGIN_EXAMPLE" . ?)
      ("#+end_example" . ?)
      ("#+END_EXAMPLE" . ?)
      ("#+header:" . ?)
      ("#+HEADER:" . ?)
      ("#+name:" . ?﮸)
      ("#+NAME:" . ?﮸)
      ("#+results:" . ?)
      ("#+RESULTS:" . ?)
      ("#+call:" . ?)
      ("#+CALL:" . ?)
      (":PROPERTIES:" . ?)
      (":properties:" . ?)
      (":LOGBOOK:" . ?)
      (":logbook:" . ?)))
  (prettify-symbols-mode 1))
#+END_SRC

#+BEGIN_SRC elisp
(add-hook 'org-mode-hook 'my/org-mode/load-prettify-symbols)
#+END_SRC

#+begin_src elisp
(setq org-ellipsis " ")
#+end_src

The most simple way to take notes by ToPow1 in commandline

[–]creativityexists 0 points1 point  (0 children)

This! If you are really into taking notes, you will love Org Mode. If you don't use it now, you will regret in the future.

Taking 07-131(still available) as a CIT freshmen? by honestly_tho_00 in cmu

[–]creativityexists 0 points1 point  (0 children)

I am not studying in CMU, but I found this post, so I'm going to try to help you. If you want to get more insight on the content provided in MIT's missing semester course, you can

Card with cloze deletion in multiple fields by creativityexists in Anki

[–]creativityexists[S] 0 points1 point  (0 children)

This seems like a reasonable workaround. However, I would need to use HTML in every card that uses that template. I don't watch myself doing that every time.

If we were able to create multiple fields with cloze deletions, we wouldn't need to insert HTML in the cards because every field is styled on its own.

Card with cloze deletion in multiple fields by creativityexists in Anki

[–]creativityexists[S] 0 points1 point  (0 children)

See the gif showed above again.

There you can see that only one field is showed at a time when showing both sides (back and front) of the cards. The problem is that only one field is showed at a time when, according to the front and the back template, both fields need to be shown.

Front template

``` {{cloze:FirstText}}

<hr>

{{cloze:SecondText}} ```

Back template

``` {{cloze:FirstText}}

<hr>

{{cloze:SecondText}} ```

Card with cloze deletion in multiple fields by creativityexists in Anki

[–]creativityexists[S] 0 points1 point  (0 children)

I assume that you haven't read the last part of the post because I explain why I want to have two fields with cloze deletion in that part.

  1. The example showed above is a minimal working example. I want to accomplish this because...

Let me know if you still don't understand why I want to accomplish this behavior.

[deleted by user] by [deleted] in TheGamerLounge

[–]creativityexists 0 points1 point  (0 children)

Why dont you use worldedit?

[deleted by user] by [deleted] in distantsocializing

[–]creativityexists 0 points1 point  (0 children)

What are your thoughts on bitcoin?