.emacs.d / init.el

(server-start)

;; Emacs gurus don't need no stinking scroll bars & widgets
(scroll-bar-mode -1)
(menu-bar-mode -1)
(tool-bar-mode -1)
(tooltip-mode -1)
;; maximize window at startup
(defun maximize-frame ()
  "Maximizes the active frame in Windows"
  (interactive)
  ;; Send a `WM_SYSCOMMAND' message to the active frame with the
  ;; `SC_MAXIMIZE' parameter.
  (when (eq system-type 'windows-nt)
    (w32-send-sys-command 61488)))
(add-hook 'window-setup-hook 'maximize-frame t)

;; add load paths
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'load-path "~/.emacs.d/vendor")

;; add repos
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ("marmalade" . "http://marmalade-repo.org/packages/")
                         ("melpa" . "http://melpa.milkbox.net/packages/")))
(package-initialize)
(require 'autoinstall)

;; autoloads
(autoload 'calc-same-interface "calc" nil t)

;; load config files
(load "files/org-mode")
(load "files/global")
(load "files/defuns-edit")
(load "files/defuns-buffer")
(load "files/defuns")
(load "files/advices")
(load "files/macros")
(load "files/keys")
(load "files/tabs")
(load "files/ido")
(load "files/ispell")
(load "files/dired")
(load "files/markdown")
(load "files/tramp")
(load "files/ibuffer")
(load "files/undo-tree")
(load "files/expand-region")
(load "files/emacs-lisp-mode")
(load "files/multi-web-mode")
(load "files/latex-mode")
(load "files/mode-line")

;; vendor
(vendor 'smex)
(vendor 'yasnippet)
(vendor 'typopunct 'typopunct-change-language 'typopunct-mode)
(vendor 'wc-mode)
(vendor 'ace-jump-mode 'ace-jump-mode)
(vendor 'revbufs 'revbufs)
(vendor 'shell-pop 'shell-pop)
(vendor 'golden-ratio)
(vendor 'multiple-cursors)
(vendor 'iy-go-to-char 'iy-go-to-char 'iy-go-to-char-backward)
(vendor 'sunrise-commander)
(vendor 'change-inner 'change-inner 'change-outer)
(vendor 'smart-forward 'smart-forward 'smart-backward 'smart-up 'smart-down)
(vendor 'smartparens)

;; Diminish modeline clutter
(load "files/diminish")

;restore the s-c tabs
(load "files/desktop")

;; TEX
(require 'tildify)

;; autoopen files
(find-file "~/.emacs.d/init.el")

(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.
 '(ange-ftp-ftp-program-name "d:\\progs\\ftp.exe")
 '(background-color "#002b36")
 '(background-mode dark)
 '(blink-cursor-mode nil)
 '(blink-matching-paren nil)
 '(bmkp-last-as-first-bookmark-file "~\\.emacs.d\\bookmarks")
 '(calc-settings-file "~\\.emacs.d\\my-calc.el")
 '(column-number-mode t)
 '(cua-enable-cua-keys nil)
 '(cursor-color "#839496")
 '(custom-enabled-themes (quote (tango-dark)))
 '(custom-safe-themes (quote ("fc5fcb6f1f1c1bc01305694c59a1a861b008c534cae8d0e48e4d5e81ad718bc6" "1e7e097ec8cb1f8c3a912d7e1e0331caeed49fef6cff220be63bd2a6ba4cc365" default)))
 '(desktop-buffer-filter (quote my-desktop-filter))
 '(desktop-save t)
 '(directory-abbrev-alist (quote (("^d:/Languages/" . "LANGS/"))))
 '(display-time-mode t)
 '(erc-insert-timestamp-function (quote erc-insert-timestamp-left))
 '(erc-nick "Fuco")
 '(erc-prompt ">")
 '(erc-timestamp-format "[%H:%M:%S] ")
 '(erc-timestamp-format-left "[%H:%M:%S] ")
 '(erc-timestamp-format-right " [%H:%M:%S]")
 '(foreground-color "#839496")
 '(global-undo-tree-mode t)
 '(golden-ratio-exclude-buffer-names (quote ("*helm kill-ring*")))
 '(ibuffer-fontification-alist (quote ((10 buffer-read-only font-lock-constant-face) (15 (and buffer-file-name (string-match ibuffer-compressed-file-name-regexp buffer-file-name)) font-lock-doc-face) (20 (string-match "^*" (buffer-name)) font-lock-keyword-face) (25 (and (string-match "^ " (buffer-name)) (null buffer-file-name)) italic) (30 (memq major-mode ibuffer-help-buffer-modes) font-lock-comment-face) (35 (memq major-mode (quote (dired-mode sr-mode))) font-lock-function-name-face))))
 '(ibuffer-show-empty-filter-groups t)
 '(ido-ubiquitous-command-exceptions (quote (smex-major-mode-commands beautify-smex ido-goto-symbol grep-read-files highlight-phrase)))
 '(ido-ubiquitous-function-exceptions (quote (hi-lock-read-face-name)))
 '(ido-ubiquitous-mode t)
 '(imenu-auto-rescan t)
 '(ls-lisp-dirs-first t)
 '(menu-bar-mode nil)
 '(sp-autoescape-string-quote-if-empty (quote (python-mode)))
 '(sp-autoinsert-inhibit-functions nil)
 '(sp-autoinsert-quote-if-followed-by-closing-pair nil)
 '(sp-ignore-modes-list (quote (calc-mode dired-mode ibuffer-mode minibuffer-inactive-mode sr-mode help-mode)))
 '(sp-navigate-consider-symbols t)
 '(sr-attributes-display-mask (quote (nil nil nil nil t t t)))
 '(sr-listing-switches "-alh")
 '(sr-popviewer-enabled nil)
 '(sr-show-file-attributes nil)
 '(sr-tabs-max-tabsize 18)
 '(sr-traditional-other-window nil)
 '(sr-windows-locked nil)
 '(text-mode-hook (quote (text-mode-hook-identify)))
 '(tool-bar-mode nil)
 '(tooltip-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 "Consolas" :foundry "outline" :slant normal :weight normal :height 98 :width normal))))
 '(comint-highlight-input ((t (:foreground "cyan"))))
 '(comint-highlight-prompt ((t (:foreground "cyan"))))
 '(diff-added ((t (:foreground "lime green"))))
 '(diff-changed ((t (:foreground "orange"))))
 '(diff-file-header ((((class color) (background light)) (:background "lightblue" :bold t))))
 '(diff-header ((nil (:foreground "skyblue"))))
 '(diff-refine-change ((((class color) (min-colors 88) (background dark)) (:background "navyblue"))))
 '(diff-removed ((t (:foreground "orangered"))))
 '(dired-directory ((t (:inherit font-lock-function-name-face :foreground "lime green"))))
 '(dropdown-list-face ((t (:inherit default :background "lightyellow" :foreground "black" :family "Consolas"))))
 '(erc-action-face ((t (:foreground "green"))) t)
 '(erc-current-nick-face ((t (:foreground "red" :weight bold))) t)
 '(erc-input-face ((t (:foreground "cyan"))) t)
 '(erc-my-nick-face ((t (:foreground "cyan"))) t)
 '(erc-nick-default-face ((t (:foreground "yellow" :weight bold))) t)
 '(erc-prompt-face ((t (:background "Black" :foreground "Grey" :weight bold))) t)
 '(erc-timestamp-face ((t nil)) t)
 '(eshell-prompt ((t (:foreground "SlateBlue2" :weight bold))) t)
 '(fixed-pitch ((t (:height 100 :family "Consolas"))))
 '(fringe ((((class color) (background light)) (:background "grey95" :foreground "black"))))
 '(highlight ((((class color) (min-colors 88) (background light)) (:background "darkseagreen2" :foreground "black"))))
 '(hl-line ((t (:background "gray12"))))
 '(markdown-pre-face ((t (:inherit font-lock-constant-face :family "Consolas"))) t)
 '(minibuffer-prompt ((t (:foreground "cyan"))))
 '(mode-line ((t (:background "#000000" :foreground "#d3d7cf" :box (:line-width -1 :color "#2e3436" :style released-button)))))
 '(mode-line-buffer-id ((t (:foreground "#ed9900" :weight bold))))
 '(mode-line-inactive ((t (:inherit mode-line :background "#2e3436" :foreground "#555753" :box (:line-width -1 :color "black" :style released-button) :weight light))))
 '(org-table ((t (:inherit fixed-pitch :foreground "LightSkyBlue"))))
 '(paren-face ((t (:foreground "thistle4"))) t)
 '(region ((((class color) (min-colors 88) (background light)) (:background "color-56"))))
 '(sr-active-path-face ((t (:background "gray19" :foreground "deep sky blue"))))
 '(sr-editing-path-face ((t (:background "red" :foreground "yellow"))))
 '(sr-highlight-path-face ((t (:background "yellow" :foreground "#ace6ac"))))
 '(sr-mirror-path-face ((t (:background "blue" :foreground "yellow"))))
 '(sr-passive-path-face ((t (:background "gray19" :foreground "lightgray"))))
 '(sr-tabs-active-face ((t (:inherit sr-tabs-inactive-face :foreground "brown1"))))
 '(sr-tabs-inactive-face ((t (:foreground "#fcaf3e" :width extra-expanded))))
 '(variable-pitch ((t (:height 120 :family "Verdana")))))
(put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(put 'set-goal-column 'disabled nil)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.