mirror of
https://git.adityakumar.xyz/config.git
synced 2024-11-21 23:52:52 +00:00
34 lines
969 B
Text
34 lines
969 B
Text
;; ~/.emacs
|
|
|
|
(require 'package)
|
|
|
|
(add-to-list 'package-archives
|
|
'("melpa" . "http://melpa.org/packages/") t)
|
|
|
|
(package-initialize)
|
|
(unless (package-installed-p 'use-package)
|
|
(package-refresh-contents)
|
|
(package-install 'use-package))
|
|
|
|
(use-package zenburn-theme
|
|
:ensure t
|
|
:config
|
|
(load-theme 'zenburn 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.
|
|
'(package-selected-packages '(auto-complete zenburn-theme use-package)))
|
|
(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.
|
|
)
|
|
|
|
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
|
|
|
(ac-config-default)
|
|
|
|
(setq-default tab-width 2)
|