mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Emacs
This commit is contained in:
parent
307cfe11d7
commit
1d8b02daef
2 changed files with 35 additions and 0 deletions
34
.emacs
Normal file
34
.emacs
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
; list the packages you want
|
||||||
|
(setq package-list '(auctex expand-region gist magit magithub markdown-mode paredit projectile
|
||||||
|
python sass-mode rainbow-mode scss-mode solarized-theme
|
||||||
|
volatile-highlights evil))
|
||||||
|
|
||||||
|
; list the repositories containing them
|
||||||
|
(setq package-archives '(("elpa" . "http://tromey.com/elpa/")
|
||||||
|
("gnu" . "http://elpa.gnu.org/packages/")
|
||||||
|
("marmalade" . "http://marmalade-repo.org/packages/")))
|
||||||
|
|
||||||
|
; activate all the packages (in particular autoloads)
|
||||||
|
(package-initialize)
|
||||||
|
|
||||||
|
(unless package-archive-contents
|
||||||
|
(package-refresh-contents))
|
||||||
|
|
||||||
|
; install the missing packages
|
||||||
|
(dolist (package package-list)
|
||||||
|
(unless (package-installed-p package)
|
||||||
|
(package-install package)))
|
||||||
|
|
||||||
|
(load-theme 'solarized-dark)
|
||||||
|
(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.
|
||||||
|
'(custom-safe-themes (quote ("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default))))
|
||||||
|
(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.
|
||||||
|
)
|
||||||
1
.vimrc
1
.vimrc
|
|
@ -8,6 +8,7 @@ set cursorline
|
||||||
set smartindent
|
set smartindent
|
||||||
|
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
set tw=100
|
||||||
filetype off
|
filetype off
|
||||||
|
|
||||||
set rtp+=~/.vim/bundle/vundle/
|
set rtp+=~/.vim/bundle/vundle/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue