Skip to content

Commit 288b411

Browse files
committed
added sets init.el
1 parent 94ce744 commit 288b411

File tree

2 files changed

+35
-6
lines changed

2 files changed

+35
-6
lines changed

init.el

+33-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11

2-
2+
(setq max-lisp-eval-depth 10000)
3+
(setq max-specpdl-size 10000)
34
(require 'package)
5+
46
(setq package-enable-at-startup nil)
57
(add-to-list 'package-archives
68
'("melpa" . "https://melpa.org/packages/"))
7-
;; (add-to-list 'package-archives
8-
;; '("melpa2" . "http://www.mirrorservice.org/sites/melpa.org/packages/"))
9+
(add-to-list 'package-archives
10+
'("gnu" . "https://elpa.gnu.org/packages/"))
911
;; (add-to-list 'package-archives
1012
;; '("melpa3" . "http://www.mirrorservice.org/sites/stable.melpa.org/packages/"))
11-
;;(package-initialize)
13+
(package-initialize)
1214

1315
;; Bootstrap `use-package'
1416
(unless (package-installed-p 'use-package)
@@ -23,6 +25,8 @@
2325
;; If you edit it by hand, you could mess it up, so be careful.
2426
;; Your init file should contain only one such instance.
2527
;; If there is more than one, they won't work right.
28+
'(all-the-icons-ivy-buffer-commands '(ivy-switch-buffer-other-window ivy-switch-buffer))
29+
'(elpy-rpc-backend "jedi" t)
2630
'(hydra-hint-display-type 'posframe)
2731
'(org-confirm-babel-evaluate nil)
2832
'(org-default-notes-file (concat org-directory "/notes.org"))
@@ -33,11 +37,35 @@
3337
'(org-startup-folded 'overview)
3438
'(org-startup-indented t)
3539
'(package-selected-packages
36-
'(flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent treemacs-projectile treemacs prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck doom-modeline doom-themes tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package)))
40+
'(flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent treemacs-projectile treemacs prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck doom-modeline doom-themes tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package))
41+
'(sp-escape-quotes-after-insert nil))
42+
(setq max-lisp-eval-depth 10000)
43+
(setq max-specpdl-size 10000)
44+
(require 'package)
45+
46+
(setq package-enable-at-startup nil)
47+
(add-to-list 'package-archives
48+
'("melpa" . "https://melpa.org/packages/"))
49+
(add-to-list 'package-archives
50+
'("gnu" . "https://elpa.gnu.org/packages/"))
51+
;; (add-to-list 'package-archives
52+
;; '("melpa3" . "http://www.mirrorservice.org/sites/stable.melpa.org/packages/"))
53+
(package-initialize)
54+
55+
;; Bootstrap `use-package'
56+
(unless (package-installed-p 'use-package)
57+
(package-refresh-contents)
58+
(package-install 'use-package))
59+
60+
61+
62+
(org-babel-load-file (expand-file-name "~/.emacs.d/myinit.org"))
63+
3764
(custom-set-faces
3865
;; custom-set-faces was added by Custom.
3966
;; If you edit it by hand, you could mess it up, so be careful.
4067
;; Your init file should contain only one such instance.
4168
;; If there is more than one, they won't work right.
4269
'(aw-leading-char-face ((t (:inherit ace-jump-face-foreground :height 3.0)))))
4370
(put 'dired-find-alternate-file 'disabled nil)
71+
(put 'dired-find-alternate-file 'disabled nil)

myinit.org

+2-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
#+RESULTS:
368368

369369
* Undo Tree
370-
#+BEGIN_SRC emacs-lisp
370+
#+BEGIN_SRC emacs-lisp :tangle no
371371
(use-package undo-tree
372372
:ensure t
373373
:init
@@ -624,6 +624,7 @@
624624
;; (counsel-projectile-on)q)
625625

626626
(use-package smartparens
627+
:ensure t
627628
:hook (prog-mode . smartparens-mode)
628629
:custom
629630
(sp-escape-quotes-after-insert nil)

0 commit comments

Comments
 (0)