Created
August 14, 2015 18:35
-
-
Save foxiepaws/63bd4fa860b51e42a662 to your computer and use it in GitHub Desktop.
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. | |
| '(ansi-color-names-vector | |
| ["#212526" "#ff4b4b" "#b4fa70" "#fce94f" "#729fcf" "#e090d7" "#8cc4ff" "#eeeeec"]) | |
| '(custom-safe-themes | |
| (quote | |
| ("08851585c86abcf44bb1232bced2ae13bc9f6323aeda71adfa3791d6e7fea2b6" "51277c9add74612c7624a276e1ee3c7d89b2f38b1609eed6759965f9d4254369" default))) | |
| '(menu-bar-mode nil) | |
| '(scroll-bar-mode nil) | |
| '(tool-bar-mode 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. | |
| '(default ((t (:family "Dina" :foundry "unknown" :slant normal :weight normal :height 90 :width normal))))) | |
| ; no splash screen. its annoying. | |
| (setq inhibit-splash-screen t) | |
| ; move backups to a cetral directory | |
| ; maybe turn them off completely later? | |
| (setq | |
| backup-by-copying t | |
| backup-directory-alist '(("." . "~/.emacs.d/backups")) | |
| delete-old-versions t | |
| kept-new-versions 6 | |
| kept-old-versions 2 | |
| version-control t) | |
| ; package repo stuff. | |
| (require 'package) | |
| (push '("marmalade" . "http://marmalade-repo.org/packages/") | |
| package-archives ) | |
| (push '("melpa" . "http://melpa.milkbox.net/packages/") | |
| package-archives) | |
| (package-initialize) | |
| (require 'diminish) | |
| (require 'evil) ; because otherwise emacs is unusable :V | |
| (require 'evil-leader) | |
| (require 'evil-surround) ; <33 buttsaver! | |
| (require 'evil-smartparens) ; I want smartparens to work under evil | |
| (require 'powerline) ; pretty <3 | |
| (require 'evil-org) ; I want org mode to be usable under evil | |
| (require 'airline-themes) ; pretty pretty <3 | |
| (require 'ibuffer) | |
| (require 'neotree) ; I /NEED/ a replacement for NERDTree. | |
| (require 'gnutls) ; for weechat and stuff | |
| (require 'gist) ; I put a lot of stuff on gist. | |
| (require 'weechat) ; IRC in editor will actually increase my productivity | |
| (require 'smex) ; I still use M-x, lets make it a little nicer | |
| ; create a toggle for neotree | |
| (global-set-key [f8] 'neotree-toggle) | |
| ; get neotree ready for evil | |
| (add-hook 'neotree-mode-hook | |
| (lambda () | |
| (define-key evil-normal-state-local-map (kbd "TAB") 'neotree-enter) | |
| (define-key evil-normal-state-local-map (kbd "SPC") 'neotree-enter) | |
| (define-key evil-normal-state-local-map (kbd "q") 'neotree-hide) | |
| (define-key evil-normal-state-local-map (kbd "RET") 'neotree-enter))) | |
| ; please don't show this mode constantly | |
| (diminish 'undo-tree-mode) | |
| (global-linum-mode 1) ; might be dumb but I /really/ like line numbers. | |
| ; evil mode related config | |
| (setq evil-shift-width 4) | |
| (define-key evil-normal-state-map [tab] 'indent-for-tab-command) | |
| (define-key evil-visual-state-map [tab] 'align) | |
| (global-evil-surround-mode 1) | |
| (global-evil-leader-mode) | |
| (evil-mode 1) | |
| ;ibuffer | |
| (global-set-key (kbd "C-x C-b") 'ibuffer) | |
| (define-key ibuffer-mode-map (kbd "j") 'next-line) | |
| (define-key ibuffer-mode-map (kbd "k") 'previous-line) | |
| ; themeing related stuff (that isn't custom-set shit) | |
| (load-theme 'molokai) | |
| (powerline-default-theme) | |
| (load-theme 'airline-molokai) | |
| (setq text-width 4 | |
| standard-indent 4 | |
| indent-tabs-mode t | |
| c-basic-style "k&r" ; I use k&r style for the most part. | |
| c-basic-offset 4 | |
| ) | |
| ; for weechat. | |
| (add-to-list 'gnutls-trustfiles (expand-file-name "~/.emacs.d/relay.cert")) | |
| ; Use smex instead | |
| (global-set-key (kbd "M-x") 'smex) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment