 
 ;; Fancier tab managerment
 (use-package tab-bar
-  :config (setq tab-bar-close-button-show nil)(setq tab-bar-close-last-tab-choice 'tab-bar-mode-disable)(setq tab-bar-close-tab-select 'recent)(setq tab-bar-new-tab-choice t)(setq tab-bar-new-tab-to 'right)(setq tab-bar-position nil)(setq tab-bar-show nil)(setq tab-bar-tab-hints nil)(setq tab-bar-tab-name-function 'tab-bar-tab-name-all)(tab-bar-mode -1)(tab-bar-history-mode -1)(defun meain/switch-tab-dwim ()
-																																															      "Switch between available tabs"
-																																															      (interactive)
-																																															      (let ((tabs (mapcar (lambda (tab)
-																																																		    (alist-get 'name tab))
-																																																		  (tab-bar--tabs-recent))))
-																																																(cond
-																																																 ((eq tabs nil)
-																																																  (tab-new))
-																																																 ((eq (length tabs) 1)
-																																																  (tab-next))
-																																																 (t (ivy-read "Select tab: " tabs :require t
-																																																	      :action 'tab-bar-switch-to-tab))))):init
+  :config (progn
+	    (setq tab-bar-close-button-show nil)
+	    (setq tab-bar-close-last-tab-choice 'tab-bar-mode-disable)
+	    (setq tab-bar-close-tab-select 'recent)
+	    (setq tab-bar-new-tab-choice t)
+	    (setq tab-bar-new-tab-to 'right)
+	    (setq tab-bar-position nil)
+	    (setq tab-bar-show nil)
+	    (setq tab-bar-tab-hints nil)
+	    (setq tab-bar-tab-name-function 'tab-bar-tab-name-all)
+	    (tab-bar-mode -1)
+	    (tab-bar-history-mode -1)
+	    (defun meain/switch-tab-dwim ()
+	      "Switch between available tabs"
+	      (interactive)
+	      (let ((tabs (mapcar (lambda (tab)
+				    (alist-get 'name tab))
+				  (tab-bar--tabs-recent))))
+		(cond
+		 ((eq tabs nil)
+		  (tab-new))
+		 ((eq (length tabs) 1)
+		  (tab-next))
+		 (t (ivy-read "Select tab: " tabs :require t
+			      :action 'tab-bar-switch-to-tab)))))):init
   (evil-leader/set-key "t" 'meain/switch-tab-dwim))
 
 ;; Better modeline


;; Fullscreen current buffer
(use-package emacs
  :config (defvar meain/window-configuration nil)(define-minor-mode meain/monacle-mode
						   "Zoom in and out of single window."
						   :lighter " [M]"
						   :global nil
						   (if (one-window-p)
						       (when meain/window-configuration
							 (set-window-configuration meain/window-configuration))
						     (setq meain/window-configuration (current-window-configuration))
						     (delete-other-windows))))
(define-key evil-normal-state-map (kbd "``") `meain/monacle-mode)

;; Eval region

				     (propertize " %m " 'face 'font-lock-string-face) ;; current mode
				     ))


;; drop gc threshold back
(setq gc-cons-threshold 800000)

