Changeset 5938b15 in dotfiles


Ignore:
Timestamp:
Feb 8, 2020, 8:17:14 PM (5 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
1bb47a9
Parents:
9a00482
Message:

Add lisp helper emacs packages

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • emacs/.emacs-config.org

    r9a00482 r5938b15  
    429429  :config (add-hook 'haskell-mode-hook 'intero-mode))
    430430#+END_SRC
     431** Лиспы в целом
     432*** Lispy
     433#+BEGIN_SRC elisp
     434(use-package lispy)
     435#+END_SRC
     436*** Parinfer
     437#+BEGIN_SRC elisp
     438(use-package parinfer
     439  :bind
     440  (("C-," . parinfer-toggle-mode))
     441  :init
     442  (progn
     443    (setq parinfer-extensions
     444          '(defaults       ; should be included.
     445            pretty-parens  ; different paren styles for different modes.
     446            lispy          ; If you use Lispy. With this extension, you should install Lispy and do not enable lispy-mode directly.
     447            paredit        ; Introduce some paredit commands.
     448            smart-tab      ; C-b & C-f jump positions and smart shift with tab & S-tab.
     449            smart-yank))   ; Yank behavior depend on mode.
     450    (add-hook 'clojure-mode-hook #'parinfer-mode)
     451    (add-hook 'emacs-lisp-mode-hook #'parinfer-mode)
     452    (add-hook 'common-lisp-mode-hook #'parinfer-mode)
     453    (add-hook 'scheme-mode-hook #'parinfer-mode)
     454    (add-hook 'lisp-mode-hook #'parinfer-mode)))
     455#+END_SRC
    431456** Clojure
    432457*** Mode
  • guix/config.scm

    r9a00482 r5938b15  
    131131         "emacs-build-farm"
    132132         "emacs-clojure-mode"
    133          "emacs-cider")))
     133         "emacs-cider"
     134         "emacs-slime"
     135         "emacs-slime-company"
     136         "emacs-parinfer-mode"
     137         "emacs-lispy")))
    134138
    135139(operating-system
     
    137141 (timezone "Europe/Moscow")
    138142 (locale "ru_RU.utf8")
    139  (kernel-arguments '("processor.max_cstate=3"  ;Disable power savings
     143 (kernel-arguments '("processor.max_cstate=2"  ;Disable power savings
    140144                     "intel_idle.max_cstate=2" ;(cstate 3-4 provides
    141145                                        ;high freq cpu noice)
     
    222226          "python-jedi"
    223227          "python-ipython"
    224           "icedtea@3.7.0" ;; java
     228          ;;"openjdk@12"
     229          "icedtea"
    225230          "clojure"
    226231          "clojure-tools-cli"
Note: See TracChangeset for help on using the changeset viewer.