Browse Source

[programming] add sections for common config

production
contrapunctus 12 months ago
parent
commit
498f17049a
  1. 6
      init.org

6
init.org

@ -2464,6 +2464,7 @@ Used by Eldev documentation.
#+END_SRC
** Programming
*** FIXME common [%]
**** swap keys :disabled:
1. [X] =keyswap-mode= swaps numeric keys with symbols by default. We want to swap just () with [] (to begin with), but the code below doesn't work, for some reason.
2. [ ] Does not always work in the minibuffer, namely =eval-expression=
@ -2521,7 +2522,7 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
(keyswap-add-pairs ?\] ?\))
(keyswap-update-keys)))
#+END_SRC
**** other things
#+BEGIN_SRC emacs-lisp
(use-package projectile
:hook (prog-mode . projectile-mode)
@ -2568,6 +2569,7 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
#+END_SRC
**** smartparens
#+BEGIN_SRC emacs-lisp
(use-package smartparens
:load-path "~/.emacs.d/elisp-git/smartparens/"
@ -2634,6 +2636,8 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
(erc-mode . smartparens-mode))
#+END_SRC
**** lispy
Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, self-insert (which =smartparens= will add the closing pair for)
#+BEGIN_SRC emacs-lisp
(use-package lispy

Loading…
Cancel
Save