Created
November 6, 2013 01:07
-
-
Save andydude/7329211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Default font | |
(set-default-font "unifont-16") | |
(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 ( | |
:family "unifont" | |
:background "White" | |
:foreground "Black" | |
:height 160 | |
:slant normal | |
:weight normal | |
:width normal | |
)))) | |
'(font-lock-variable-name-face ((t nil))) | |
) | |
(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. | |
'(default-frame-alist '( | |
(width . 120) | |
(height . 40) | |
)) | |
'(auto-save-default nil) | |
'(c-basic-offset 4) | |
'(sgml-basic-offset 4) | |
'(indent-tabs-mode nil) | |
'(large-file-warning-threshold nil) | |
'(paren-match-face (quote paren-face-match-light)) | |
'(paren-sexp-mode t) | |
'(tab-width 4) | |
'(tool-bar-mode nil) | |
) | |
(put 'downcase-region 'disabled nil) | |
(put 'upcase-region 'disabled nil) | |
;(global-font-lock-mode t) | |
;(tool-bar-mode 0) | |
;; UTF-8 Encoding | |
(prefer-coding-system 'utf-8) | |
(set-default-coding-systems 'utf-8) | |
(set-terminal-coding-system 'utf-8) | |
(set-keyboard-coding-system 'utf-8) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; LOAD | |
(add-to-list 'load-path "~/.emacs.d/") | |
(add-to-list 'load-path "~/.emacs.d/org-8.0.7/lisp/") | |
(add-to-list 'load-path "~/.emacs.d/php-mode-1.5.0/") | |
(when window-system | |
(server-start)) | |
(when (not window-system) | |
(menu-bar-mode 0)) | |
;; Rust | |
(autoload 'rust-mode "rust-mode" "" t) | |
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode)) | |
;; Go | |
(autoload 'go-mode "go-mode" "" t) | |
(add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode)) | |
;; Org | |
(autoload 'org-mode "org" "" t) | |
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) | |
;; PHP | |
(autoload 'php-mode "php-mode" "") | |
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode)) | |
;; Puppet | |
(autoload 'puppet-mode "puppet-mode" "") | |
(add-to-list 'auto-mode-alist '("\\.pp\\'" . puppet-mode)) | |
;; Web | |
(autoload 'web-mode "web-mode" "" t) | |
(add-to-list 'auto-mode-alist '("\\.ftl\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.jsp\\'" . web-mode)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment