Browse Source

Add projectile and flx support

master
Taylor Bockman 9 years ago
parent
commit
7e9c875369
  1. 26
      dotfiles/emacs.d/init.el
  2. 2
      dotfiles/emacs.d/package.el

26
dotfiles/emacs.d/init.el

@ -1,4 +1,5 @@
(require 'package)
(require 'flx-ido)
;;-------------------------------------------------------------------------------------
;; Hide Startup Message
@ -7,6 +8,13 @@
(setq inhibit-startup-message t)
;;-------------------------------------------------------------------------------------
;; Disable Splash Screen
;;-------------------------------------------------------------------------------------
(defvar inhibit-splash-screen)
(setq inhibit-splash-screen t)
;;-------------------------------------------------------------------------------------
;; Enable MELPA
;;-------------------------------------------------------------------------------------
@ -31,7 +39,7 @@
(load-theme 'solarized-dark t)
;; 10 pt font
(set-default-font "inconsolata")
(set-frame-font "inconsolata")
(set-face-attribute 'default nil :height 100)
(powerline-center-theme)
@ -41,14 +49,22 @@
;;-------------------------------------------------------------------------------------
(global-linum-mode t)
(defvar linum-format)
(setq linum-format "%4d \u2502 ")
;;-------------------------------------------------------------------------------------
;; Ido Mode
;;-------------------------------------------------------------------------------------
(defvar ido-enable-flex-matching)
(defvar ido-everywhere)
(defvar ido-use-faces)
(setq ido-enable-flex-matching t)
(setq ido-everywhere t)
(setq ido-use-faces nil)
(flx-ido-mode 1)
(ido-mode 1)
;;-------------------------------------------------------------------------------------
@ -63,6 +79,14 @@
;;-------------------------------------------------------------------------------------
(add-hook 'after-init-hook #'global-flycheck-mode)
(with-eval-after-load 'flycheck
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc)))
;;-------------------------------------------------------------------------------------
;; Projectile Configuration
;;-------------------------------------------------------------------------------------
(projectile-global-mode)
;;-------------------------------------------------------------------------------------
;; Key Bindings

2
dotfiles/emacs.d/package.el

@ -2,7 +2,7 @@
(defvar my-packages '(ag clojure-mode coffee-mode css-mode flycheck
flycheck-clojure flycheck-haskell flycheck-rust
flycheck-pos-tip gitignore-mode haskell-mode js2-mode
flycheck-pos-tip flx-ido gitignore-mode haskell-mode js2-mode
less-css-mode neotree paredit scss-mode powerline projectile
rust-mode solarized-theme wrap-region)
"Packages to make sure are installed")

Loading…
Cancel
Save