Created
December 1, 2015 22:17
-
-
Save neonfuz/ab4d833b40a77013e115 to your computer and use it in GitHub Desktop.
neonfuz's .emacs
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
(setq-default c-default-style "bsd" | |
c-basic-offset 4 | |
tab-width 4 | |
indent-tabs-mode nil | |
js-indent-level 2) | |
(add-to-list 'default-frame-alist '(font . "PragmataPro-10" )) | |
(set-face-attribute 'default t :font "PragmataPro-10" ) | |
(icomplete-mode 99) | |
(require 'package) ;; You might already have this line | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) ;; You might already have this line | |
(require 'yasnippet) | |
(yas-global-mode 1) | |
(require 'origami) | |
(global-set-key (kbd "<C-tab>") 'origami-forward-toggle-node) | |
(global-origami-mode) | |
(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. | |
'(ansi-color-faces-vector | |
[default default default italic underline success warning error]) | |
'(ansi-color-names-vector | |
["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"]) | |
'(custom-enabled-themes (quote (misterioso))) | |
'(inhibit-startup-screen t)) | |
(put 'upcase-region 'disabled nil) | |
(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. | |
) | |
(put 'downcase-region 'disabled nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment