   (use-package powerline
     :init
     (progn
-      (use-package window-numbering
-        :ensure window-numbering
-        :init
-        (progn
-          (evil-leader/set-key
-            "0" 'select-window-0
-            "1" 'select-window-1
-            "2" 'select-window-2
-            "3" 'select-window-3
-            "4" 'select-window-4
-            "5" 'select-window-5
-            "6" 'select-window-6
-            "7" 'select-window-7
-            "8" 'select-window-8
-            "9" 'select-window-9)
-          (window-numbering-mode 1)))
-
-      (defun spacemacs/window-number ()
-        "Return the number of the window."
-        (let ((num (window-numbering-get-number-string)))
-          (cond
-           ((not dotspacemacs-mode-line-unicode-symbols) (concat " " num " "))
-           ((equal num "1")  " ➊ ")
-           ((equal num "2")  " ➋ ")
-           ((equal num "3")  " ➌ ")
-           ((equal num "4")  " ➍ ")
-           ((equal num "5")  " ➎ ")
-           ((equal num "6")  " ❻ ")
-           ((equal num "7")  " ➐ ")
-           ((equal num "8")  " ➑ ")
-           ((equal num "9")  " ➒ ")
-           ((equal num "0")  " ➓ ")
-           (t (concat " " num " ")))))
-
+      ;; Custom format of minor mode lighters, they are separated by a pipe.
       (defpowerline spacemacs-powerline-minor-modes
         (mapconcat (lambda (mm)
                      (propertize

    :defer t
    :config (spacemacs|diminish whitespace-mode " Ⓦ" " W")))

(defun spacemacs/init-yasnippet ()
  (use-package yasnippet
    :commands yas-global-mode

                                 (or flycheck-current-errors
                                     (eq 'running flycheck-last-status-change))))
                 (vc-face (if (or flycheckp spacemacs-mode-line-minor-modesp)
                              face1 line-face))
                 (separator-left (intern (format "powerline-%s-%s"
                                                 powerline-default-separator
                                                 (car powerline-default-separator-dir))))
