From 8a00115e82522133761d4b867b5167bd2c8c175b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 18 Oct 2018 14:38:41 -0700 Subject: [emacs] A few more simplifications. --- configs/rcs/emacs.d/init.el | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'configs/rcs') 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) -- cgit 1.4.1