Changeset 9a00482 in dotfiles


Ignore:
Timestamp:
Feb 7, 2020, 4:36:31 PM (5 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
5938b15
Parents:
8fe99aa
git-author:
Mikhail Kirillov <w96k@…> (02/04/20 19:36:15)
git-committer:
Mikhail Kirillov <w96k@…> (02/07/20 16:36:31)
Message:

Add clojure

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • emacs/.emacs

    r8fe99aa r9a00482  
    4343(org-babel-load-file "~/.emacs-config.org")
    4444(delete-file "~/.emacs-config.el")
     45(custom-set-variables
     46 ;; custom-set-variables was added by Custom.
     47 ;; If you edit it by hand, you could mess it up, so be careful.
     48 ;; Your init file should contain only one such instance.
     49 ;; If there is more than one, they won't work right.
     50 '(package-selected-packages
     51   (quote
     52    (clj-refactor yasnippet-snippets vue-mode use-package swiper pos-tip org-mime org-journal mwim mood-line magit-gitflow keycast js2-mode intero git-gutter+ flymd flycheck-lilypond epresent company-anaconda column-enforce-mode color-theme-sanityinc-tomorrow cider browse-kill-ring auto-package-update aggressive-indent)))
     53 '(send-mail-function (quote smtpmail-send-it)))
     54(custom-set-faces
     55 ;; custom-set-faces was added by Custom.
     56 ;; If you edit it by hand, you could mess it up, so be careful.
     57 ;; Your init file should contain only one such instance.
     58 ;; If there is more than one, they won't work right.
     59 )
  • emacs/.emacs-config.org

    r8fe99aa r9a00482  
    294294(use-package sudo-edit)
    295295#+END_SRC
     296** Показывать пробелы
     297#+BEGIN_SRC emacs-lisp
     298(use-package whitespace-mode
     299  :config
     300(progn
     301 ;; Make whitespace-mode with very basic background coloring for whitespaces.
     302  ;; http://ergoemacs.org/emacs/whitespace-mode.html
     303  (setq whitespace-style (quote (face spaces tabs newline space-mark tab-mark newline-mark )))
     304
     305  ;; Make whitespace-mode and whitespace-newline-mode use “¶” for end of line char and “▷” for tab.
     306  (setq whitespace-display-mappings
     307        ;; all numbers are unicode codepoint in decimal. e.g. (insert-char 182 1)
     308        '(
     309          (space-mark 32 [183] [46]) ; SPACE 32 「 」, 183 MIDDLE DOT 「·」, 46 FULL STOP 「.」
     310          (newline-mark 10 [182 10]) ; LINE FEED,
     311          (tab-mark 9 [9655 9] [92 9]) ; tab
     312          )))
     313  (global-whitespace-mode))
     314#+END_SRC
    296315* Языки программирования
    297316** LISP
     
    411430#+END_SRC
    412431** Clojure
     432*** Mode
     433#+BEGIN_SRC elisp
     434(use-package clojure-mode)
     435#+END_SRC
    413436*** REPL
    414437#+BEGIN_SRC emacs-lisp
    415438;;; Clojure REPL
    416439(use-package cider)
     440#+END_SRC
     441*** Рефакторинг
     442#+BEGIN_SRC elisp
     443(use-package clj-refactor
     444  :ensure t
     445  :hook (clojure-mode . clj-refactor-mode)
     446  :config
     447  ((cljr-add-keybindings-with-prefix "C-c C-m")))
    417448#+END_SRC
    418449* Языки разметки
  • guix/config.scm

    r8fe99aa r9a00482  
    128128         "emacs-hydra"
    129129         "emacs-geiser"
    130          "emacs-scheme-complete")))
     130         "emacs-scheme-complete"
     131         "emacs-build-farm"
     132         "emacs-clojure-mode"
     133         "emacs-cider")))
    131134
    132135(operating-system
     
    134137 (timezone "Europe/Moscow")
    135138 (locale "ru_RU.utf8")
    136  (kernel-arguments '("processor.max_cstate=1"  ;Disable power savings
    137                      "intel_idle.max_cstate=0" ;(cstate 3-4 provides
     139 (kernel-arguments '("processor.max_cstate=3"  ;Disable power savings
     140                     "intel_idle.max_cstate=2" ;(cstate 3-4 provides
    138141                                        ;high freq cpu noice)
    139142                     "intremap=off" ;Fix for failed to map dmar2
     
    219222          "python-jedi"
    220223          "python-ipython"
     224          "icedtea@3.7.0" ;; java
     225          "clojure"
     226          "clojure-tools-cli"
    221227          "bundler"
    222228          "sbcl"
Note: See TracChangeset for help on using the changeset viewer.