 	      LaTeX-electric-left-right-brace t
 	      TeX-electric-math '("$" . "$"))
   (setq-default TeX-master nil)
+  (add-to-list 'ivy-ignore-buffers '"\\*.*output\\*")
   :bind (:map LaTeX-mode-map
 	      ("M-s" . ispell-word)
 	      ("C-x C-<backspace>" . electric-pair-delete-pair))

  :init (setq whitespace-line-column fill-column
	      whitespace-style '(face lines-tail))
  ;; Face style for overflowing characters
  (custom-set-faces
   '(whitespace-line ((t (:foreground "yellow"
				      :background nil
				      :weight bold)))))
  :config
  (global-whitespace-mode +1))



;; Speed up font-lock mode speed (can causes laggy scrolling)
(setq-default font-lock-support-mode 'jit-lock-mode
	      jit-lock-contextually t
	      jit-lock-stealth-load nil
	      jit-lock-stealth-time nil ;; Don't do stealth fontification
	      jit-lock-stealth-nice 0.5
	      ;; Below: jit-lock-defer-time "pauses" fontification while the
	      ;; user is typing, as long as the time between successive
	      ;; keystrokes is <jit-lock-defer-time. This is what makes typing
	      ;; smooth even with some heavy font locking (because the font
	      ;; locking will occur during "idle" times)!
	      jit-lock-defer-time 0.25
	      font-lock-maximum-decoration 1)

;;;###autoload
(defun danylo/modeline-setup ()
  "Configure the modeline."
  (setq
   telephone-line-primary-left-separator 'telephone-line-cubed-left
   telephone-line-secondary-left-separator 'telephone-line-cubed-hollow-left
   telephone-line-primary-right-separator 'telephone-line-cubed-right
   telephone-line-secondary-right-separator 'telephone-line-cubed-hollow-right)

  (add-to-list 'telephone-line-faces
	       '(yellow . (danylo/telephone-yellow
			   . telephone-line-accent-inactive)))

  (setq telephone-line-lhs
	'((yellow . (telephone-line-vc-segment))
