summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2018-10-18 14:38:41 -0700
committerFranck Cuny <fcuny@twitter.com>2018-10-18 14:38:41 -0700
commit8a00115e82522133761d4b867b5167bd2c8c175b (patch)
treea152cfd1524fd6df8e058788e467a5c2c99e5938
parent[emacs] Remove ivy and switch to ido (diff)
downloademacs.d-8a00115e82522133761d4b867b5167bd2c8c175b.tar.gz
[emacs] A few more simplifications.
-rw-r--r--configs/rcs/emacs.d/init.el31
1 files changed, 1 insertions, 30 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index bcf1440..20ff378 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -1,11 +1,7 @@
 ;; Initialize the package system first of all.
 (require 'package)
 
-(setq package-archives
-      '(("gnu" . "https://elpa.gnu.org/packages/")
-        ("melpa" . "https://melpa.org/packages/")
-        ("elpy" . "https://jorgenschaefer.github.io/packages/")
-        ("org" . "http://orgmode.org/elpa/")))
+(setq package-archives '(("melpa" . "https://melpa.org/packages/")))
 
 (defvar fcuny-path-emacs-var (expand-file-name "var" user-emacs-directory)
   "Path to some files for Emacs.")
@@ -13,9 +9,6 @@
 (defvar fcuny-path-emacs-elpa (expand-file-name "elpa" fcuny-path-emacs-var)
   "Path to elpa's local files.")
 
-(defvar fcuny-projects-ignored-dirs '(".git" ".svn" "target" "elpa")
-   "Ignore the following directories when browsing with projectile.")
-
 ;; where to store the packages
 (setq package-user-dir fcuny-path-emacs-elpa)
 
@@ -153,26 +146,6 @@
   (setq auto-revert-verbose nil)
   (global-auto-revert-mode t))
 
-;; (use-package swiper
-;;   :ensure t
-;;   :config (ivy-mode 1))
-
-;; (use-package counsel
-;;   :ensure t
-;;   :after (ivy swiper)
-;;   :bind
-;;   (("M-x"     . counsel-M-x)
-;;    ("C-s"     . counsel-grep-or-swiper)
-;;    ("C-x C-f" . counsel-find-file)
-;;    ("C-x C-r" . counsel-recentf)
-;;    ("C-c b"   . counsel-bookmark)
-;;    ("C-c s"   . counsel-git-grep)
-;;    ("C-c /"   . counsel-ag)
-;;    ("C-c C-x" . counsel-command-history)
-;;    ("C-c y"   . counsel-yank-pop))
-;;   :custom
-;;   (counsel-find-file-at-point t))
-
 (use-package ido
   :init
   (ido-mode t)
@@ -224,7 +197,6 @@
 ;;; general text editing
 
 (use-package flyspell
-  :ensure t
   :hook ((text-mode . flyspell-mode)
          (prog-mode . flyspell-prog-mode))
   :config
@@ -341,7 +313,6 @@
 
 (use-package json-mode
   :after (flyspell)
-  :ensure t
   :custom
   (json-reformat:indent-width 2)
   (js-indent-level 2)