Move Ivy configuration to emacs-config
This commit is contained in:
parent
c46ae7fd4f
commit
93815291dd
2 changed files with 0 additions and 21 deletions
|
@ -45,8 +45,6 @@
|
|||
|
||||
(require 'destroy-trailing-whitespace)
|
||||
(require 'diminish)
|
||||
(require 'ivy)
|
||||
(require 'ivy-hydra)
|
||||
|
||||
;;;; Settings
|
||||
|
||||
|
@ -106,10 +104,6 @@
|
|||
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
(diminish 'ivy-mode)
|
||||
|
||||
(ivy-mode)
|
||||
|
||||
(setq user-full-name "Tom Willemse"
|
||||
user-mail-address "tom@ryuslash.org")
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
(package-initialize)
|
||||
|
||||
(require 'find-dired)
|
||||
(require 'ivy)
|
||||
(require 'grep)
|
||||
(require 'magit)
|
||||
(require 'alert)
|
||||
|
@ -37,17 +36,6 @@
|
|||
(require 'projectile)
|
||||
(require 'sort))
|
||||
|
||||
(defun oni-windows-nt--disable-ivy (orig-fun &rest args)
|
||||
"Disable ivy while running ORIG-FUN with ARGS."
|
||||
(let ((ivy-enabled ivy-mode))
|
||||
(unwind-protect
|
||||
(progn
|
||||
(when ivy-enabled
|
||||
(ivy-mode -1))
|
||||
(apply orig-fun args))
|
||||
(when ivy-enabled
|
||||
(ivy-mode 1)))))
|
||||
|
||||
(add-to-list 'load-path (locate-user-emacs-file "vendor/p4-vc"))
|
||||
(add-to-list 'exec-path "c:/Program Files/Git/bin")
|
||||
(add-to-list 'exec-path "C:/Program Files/Git/usr/bin")
|
||||
|
@ -75,9 +63,6 @@
|
|||
(setq alert-toaster-command "U:/projects/toaster/toast/bin/Release/toast.exe")
|
||||
(setq alert-toaster-default-icon "c:/Users/WillemsenT/Emacs-25.1-2/share/emacs/25.1/etc/images/icons/hicolor/48x48/apps/emacs.png"))
|
||||
|
||||
(with-eval-after-load 'grep
|
||||
(add-function :around (symbol-function 'grep-read-files) #'oni-windows-nt--disable-ivy))
|
||||
|
||||
(with-eval-after-load 'magit
|
||||
(setq magit-git-executable "c:/msys64/usr/bin/git.exe"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue