Get rid of magit-file-notify. doesn't seem to work with os. Move config

free packages.
This commit is contained in:
Ivan Malison 2014-11-21 16:39:31 -08:00
parent 4127476953
commit 82a439cd2f

52
init.el
View File

@ -72,6 +72,22 @@
(require 'use-package) (require 'use-package)
(use-package benchmark-init :ensure t) (use-package benchmark-init :ensure t)
;; =============================================================================
;; Config Free Packages
;; =============================================================================
(defun use-packages (packages)
(mapcar
(lambda (package)
(use-package package :ensure t)) packages))
(defvar packages-eager
'(popup auto-complete yasnippet cl-lib exec-path-from-shell paradox slime
xclip dired+ ctags ctags-update aggressive-indent imenu+ neotree diminish
gist))
(use-packages packages-eager)
;; ============================================================================= ;; =============================================================================
;; Disables ;; Disables
;; ============================================================================= ;; =============================================================================
@ -103,22 +119,6 @@
(setq split-height-threshold nil) (setq split-height-threshold nil)
(setq split-width-threshold 160) (setq split-width-threshold 160)
;; =============================================================================
;; Config Free Packages
;; =============================================================================
(defun use-packages (packages)
(mapcar
(lambda (package)
(use-package package :ensure t)) packages))
(defvar packages-eager
'(popup auto-complete yasnippet cl-lib exec-path-from-shell paradox slime
xclip dired+ ctags ctags-update aggressive-indent imenu+ neotree diminish
gist))
(use-packages packages-eager)
;; ============================================================================= ;; =============================================================================
;; functions ;; functions
;; ============================================================================= ;; =============================================================================
@ -322,7 +322,8 @@ buffer is not visiting a file."
:config :config
(progn (progn
(diminish 'magit-auto-revert-mode) (diminish 'magit-auto-revert-mode)
(use-package magit-filenotify (use-package magit-filenotify ;; Seems like OSX does not properly supoort this.
:disabled t
:ensure t :ensure t
:if (emacs24_4-p) :if (emacs24_4-p)
:config :config
@ -487,10 +488,17 @@ buffer is not visiting a file."
:ensure t :ensure t
:bind ("M-x" . smex)) :bind ("M-x" . smex))
(ido-mode t) (use-package ido
(ido-ubiquitous-mode) :ensure t
(ido-everywhere 1) :config
(setq ido-enable-flex-matching t) (progn
(use-package ido-ubiquitous
:ensure t
:disabled t
:config (ido-ubiquitous-mode))
(ido-mode t)
(ido-everywhere 1)
(setq ido-enable-flex-matching t)))
;; ============================================================================= ;; =============================================================================
;; elisp ;; elisp
@ -558,7 +566,7 @@ buffer is not visiting a file."
(defun message-virtual-envs () (defun message-virtual-envs ()
(interactive) (interactive)
(message "%s" (get-virtual-envs))) (message "%s" (get-virtual-envs)))
(use-package python (use-package python
:commands python-mode :commands python-mode