diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-10-01 01:47:58 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-10-01 01:47:58 +0100 |
commit | 78472b0b041329c72df2dd501f4357894f7970cc (patch) | |
tree | e7d0e2a386b07065fd3a4cc35341f562241da253 /Emacs/.config | |
parent | 49468a7b3b6c30c56c8de3cf7513b213b07ed6db (diff) | |
download | dotfiles-78472b0b041329c72df2dd501f4357894f7970cc.tar.gz dotfiles-78472b0b041329c72df2dd501f4357894f7970cc.tar.bz2 dotfiles-78472b0b041329c72df2dd501f4357894f7970cc.zip |
(Emacs)-remove a ton of switch-buffer advice
Stupid idea, just gets in my way.
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 3f7321d..0c7e630 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -494,14 +494,8 @@ to as a fully fledged completion framework. completion-styles '(flex partial-completion intials emacs22)) (setq-default ido-enable-flex-matching t ido-enable-dot-prefix t - ido-enable-regexp nil) + ido-enable-regexp nil) :config - (add-to-list - 'after-make-frame-functions - #'(lambda (frame) (interactive) - (with-selected-frame frame - (ido-switch-buffer)))) - (ido-mode) (ido-everywhere)) #+end_src @@ -610,15 +604,6 @@ package comes in. :general (leader "st" #'counsel-etags-find-tag)) #+end_src -**** Prompt buffer switch -Essentially add advice to the window split functions or frame creation -functions so that they run ivy-switch-buffer once they're finished. -#+begin_src emacs-lisp -(with-eval-after-load "ivy" - (with-eval-after-load "evil" - (advice-add #'evil-window-vsplit :after #'ivy-switch-buffer) - (advice-add #'evil-window-split :after #'ivy-switch-buffer))) -#+end_src *** Company Company is the auto complete system I use. I don't like having heavy setups for company as it only makes it slower to use. In this case, |