Last active
December 21, 2015 00:18
-
-
Save falcondai/6218765 to your computer and use it in GitHub Desktop.
custom init setup for Emacs 24
This file contains hidden or 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
(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-enabled-themes (quote (deeper-blue))) | |
(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. | |
) | |
;; customization at boot | |
;; auto-complete | |
(add-to-list 'load-path "~/.emacs.d/auto-complete-1.3.1") | |
(require 'auto-complete) | |
(global-auto-complete-mode t) | |
(show-paren-mode) | |
(cua-mode) | |
(setq-default cursor-type 'bar) | |
(set-cursor-color "#ffffff") | |
;; mixed HTML mode | |
(add-to-list 'load-path "~/.emacs.d/multi-web-mode") | |
(require 'multi-web-mode) | |
(setq mweb-default-major-mode 'html-mode) | |
(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>") | |
(js-mode "<script[^>]*>" "</script>") | |
(css-mode "<style[^>]*>" "</style>"))) | |
(setq mweb-filename-extensions '("php" "htm" "html" "ctp" "phtml" "php4" "php5")) | |
(multi-web-global-mode 1) | |
;; jade mode | |
(require 'sws-mode) | |
(require 'jade-mode) | |
;; modern indentation | |
(electric-indent-mode t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment