summary refs log tree commit diff
path: root/configs/rcs
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-09-08 17:27:50 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-09-08 17:27:50 -0700
commite15432136629d961159a8fdbb7014322d8484610 (patch)
tree5ff7675c8f177dd50d5f4012d5f7d27182e2de78 /configs/rcs
parent[emacs] remove eldoc configuration (diff)
downloademacs.d-e15432136629d961159a8fdbb7014322d8484610.tar.gz
[emancs] remove projectile and ivy
Diffstat (limited to '')
-rw-r--r--configs/rcs/emacs.d/init.el64
1 files changed, 0 insertions, 64 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index 0814d26..7f4ae6c 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -142,70 +142,6 @@
   (show-trailing-whitespace t)
   :hook (whitespace-mode))
 
-(use-package counsel
-  :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 f"   . counsel-git)
-   ("C-c s"   . counsel-git-grep)
-   ("C-c /"   . counsel-ag))
-  :custom
-  (counsel-find-file-at-point t)
-  :config
-  (use-package swiper)
-  (use-package counsel-projectile))
-
-(use-package ivy
-  :diminish (ivy-mode . "")
-  :bind ("C-c m" . ivy-switch-project)
-  :config
-  (ivy-mode 1)
-  (setq ivy-use-virtual-buffers t
-        ivy-height 10
-        ivy-count-format "(%d/%d) "
-        ivy-initial-inputs-alist nil
-        ivy-use-ignore-default 'always
-        ivy-re-builders-alist '((swiper . ivy--regex-ignore-order)
-                                (t      . ivy--regex-fuzzy)
-                                (t      . ivy--regex-ignore-order)))
-
-  (defun ivy-switch-project ()
-    (interactive)
-    (ivy-read
-     "Switch to project: "
-     (if (projectile-project-p)
-         (cons (abbreviate-file-name (projectile-project-root))
-               (projectile-relevant-known-projects))
-       projectile-known-projects)
-     :action #'projectile-switch-project-by-name))
-
-  (ivy-set-actions
-   'ivy-switch-project
-   '(("d" dired "Open Dired in project's directory")
-     ("v" counsel-projectile "Open project root in vc-dir or magit")
-     ("c" projectile-compile-project "Compile project")
-     ("r" projectile-remove-known-project "Remove project(s)"))))
-
-(use-package projectile
-  :diminish projectile-mode
-  :bind-keymap ("C-c p" . projectile-command-map)
-
-  :init
-  (add-hook 'after-init-hook #'projectile-mode)
-
-  :config
-  (setq projectile-switch-project-action 'projectile-dired
-        projectile-enable-caching t
-        projectile-completion-system 'ivy
-        projectile-known-projects-file (expand-file-name "var/projectile-bookmarks.eld" user-emacs-directory)
-        projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory)
-        projectile-globally-ignored-directories (append fcuny-projects-ignored-dirs
-                                                        projectile-globally-ignored-directories)
-        projectile-globally-ignored-files (append
-                                                  projectile-globally-ignored-files)))
-
 (use-package ag
   :bind (:map ag-mode-map
               ("p" . compilation-previous-error)