mirror of
https://git.adityakumar.xyz/config.git
synced 2024-11-09 12:09:44 +00:00
add emacs
This commit is contained in:
parent
5e11af40c6
commit
17cb5e3f22
2 changed files with 35 additions and 0 deletions
34
emacs/.emacs
Normal file
34
emacs/.emacs
Normal file
|
@ -0,0 +1,34 @@
|
|||
;; ~/.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)
|
1
emacs/init.el
Normal file
1
emacs/init.el
Normal file
|
@ -0,0 +1 @@
|
|||
(load-theme 'wheatgrass')
|
Loading…
Reference in a new issue