faq

What theme are you using?

Here it is:

https://github.com/benjamin-asdf/dotfiles/blob/master/mememacs/.emacs-mememacs.d/lisp/visual.el

Back then I knew of some subreddit full of magical mindscapes or something. I forgot.

Z9UDrTfwrGa89JgPw-CrtYbgO9WuZulccPJZfZbExC4.jpg?auto=webp&s=cd43fed947bdc62db92383ee75d50c44822493ff

I picked one I liked and started picking colors from there.

The principles of the mememacs-visuals theme are:

  • Magic fruit in a dark forest.

pretty show paren

To get a little extra flourish and show me (more or less) when I am at a special lispy position, I do:

(defun mememacs/lispy-set-faces ()
  (if
      (and (eq meow--current-state 'insert)
           (or
            (lispy-left-p)
            (lispy-right-p)
            (and (lispy-bolp)
                 (or (looking-at lispy-outline-header)
                     (looking-at lispy-outline)))))
      (set-face-attribute
       'show-paren-match
       nil
       :foreground mememacs-visuals/heliotrope
       :underline t)
    (set-face-attribute
     'show-paren-match
     nil
     :foreground mememacs-visuals/mint-bright-2
     :underline t)))

(setf
 show-paren-style 'parenthesis
 show-paren-context-when-offscreen nil
 ;; 'overlay
 show-paren-when-point-in-periphery t
 show-paren-when-point-inside-paren t)

(add-hook 'meow-insert-mode-hook #'mememacs/lispy-set-faces)
(add-hook 'meow-normal-mode-hook #'mememacs/lispy-set-faces)

Also possible with evil.

Alternatively, I would set show-paren-match to white. It makes it blink pretty!

How do you repeat keys so quickly?

I modify the x key repeat rate to the maximum.

Oh boi, once you have this you will not go back. See: A System Like Water.

Lispy how to to insert single [, {, ", (

A frequently asked question when using Lispy is how do I insert single brackets, quotes, and parens?

The answer is quoted-insert, which is bound to C-q by default.

It reads the next character and inserts it, bypassing your current keymap and such.

Date: 2023-07-14 Fri 11:14

Email: Benjamin.Schwerdtner@gmail.com

About
Contact