emacs start. probably needs a few more bits.
This commit is contained in:
parent
c4aa94a3fa
commit
68f524365d
1 changed files with 97 additions and 0 deletions
97
emacs-init-el
Normal file
97
emacs-init-el
Normal file
|
|
@ -0,0 +1,97 @@
|
||||||
|
(require 'package)
|
||||||
|
(setq package-enable-at-startup nil)
|
||||||
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||||
|
;;(add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/"))
|
||||||
|
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
|
||||||
|
(package-initialize)
|
||||||
|
|
||||||
|
(unless (package-installed-p 'use-package)
|
||||||
|
(package-refresh-contents)
|
||||||
|
(package-install 'use-package))
|
||||||
|
|
||||||
|
(eval-when-compile
|
||||||
|
(require 'use-package))
|
||||||
|
(require 'diminish)
|
||||||
|
(require 'bind-key)
|
||||||
|
|
||||||
|
(use-package better-defaults
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
|
(use-package powerline
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(powerline-default-theme)
|
||||||
|
:init
|
||||||
|
)
|
||||||
|
|
||||||
|
;; helm
|
||||||
|
(use-package helm
|
||||||
|
:ensure t
|
||||||
|
:bind (("M-x" . helm-M-x)
|
||||||
|
("C-x C-f" . helm-find-files)
|
||||||
|
("C-x b" . helm-mini)
|
||||||
|
("C-x C-d" . helm-browse-project)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
(use-package helm-themes
|
||||||
|
:ensure t)
|
||||||
|
(use-package helm-tramp
|
||||||
|
:ensure t)
|
||||||
|
(use-package markdown-mode
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
|
|
||||||
|
(use-package magit
|
||||||
|
:ensure t
|
||||||
|
:bind (("C-x g" . magit-status)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
(use-package paradox
|
||||||
|
:ensure t
|
||||||
|
:defer t)
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(ansi-color-faces-vector
|
||||||
|
[default default default italic underline success warning error])
|
||||||
|
'(nrepl-message-colors
|
||||||
|
(quote
|
||||||
|
("#336c6c" "#205070" "#0f2050" "#806080" "#401440" "#6c1f1c" "#6b400c" "#23733c")))
|
||||||
|
'(package-selected-packages
|
||||||
|
(quote
|
||||||
|
(cyberpunk-theme dad-joke darkane-theme darkmine-theme helm-themes markdown-mode anti-zenburn-theme helm-tramp magit use-package powerline paradox helm)))
|
||||||
|
'(paradox-github-token t)
|
||||||
|
'(pdf-view-midnight-colors (quote ("#232333" . "#c7c7c7")))
|
||||||
|
'(tool-bar-mode nil)
|
||||||
|
'(vc-annotate-background "#d4d4d4")
|
||||||
|
'(vc-annotate-color-map
|
||||||
|
(quote
|
||||||
|
((20 . "#437c7c")
|
||||||
|
(40 . "#336c6c")
|
||||||
|
(60 . "#205070")
|
||||||
|
(80 . "#2f4070")
|
||||||
|
(100 . "#1f3060")
|
||||||
|
(120 . "#0f2050")
|
||||||
|
(140 . "#a080a0")
|
||||||
|
(160 . "#806080")
|
||||||
|
(180 . "#704d70")
|
||||||
|
(200 . "#603a60")
|
||||||
|
(220 . "#502750")
|
||||||
|
(240 . "#401440")
|
||||||
|
(260 . "#6c1f1c")
|
||||||
|
(280 . "#935f5c")
|
||||||
|
(300 . "#834744")
|
||||||
|
(320 . "#732f2c")
|
||||||
|
(340 . "#6b400c")
|
||||||
|
(360 . "#23733c"))))
|
||||||
|
'(vc-annotate-very-old-color "#23733c"))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 142 :width normal :foundry "unci" :family "MonofurForPowerline Nerd Font")))))
|
||||||
Loading…
Add table
Add a link
Reference in a new issue