 ;; and same can be done on MaxOS by the command
 ;; defaults write org.gnu.Emacs ToolBar -string no
 ;; defaults write org.gnu.Emacs ScrollBar -string no
-
 (when (display-graphic-p)
   (when tool-bar-mode
     (tool-bar-mode -1))

   (car emacs-fast/theme)
   (cdr emacs-fast/theme)))

(defvar powerline-default-separator)
(use-package spaceline
  :ensure t
  :commands (spaceline-emacs-theme spaceline-helm-mode)
  :init
  (require 'spaceline-config)
  (setq powerline-default-separator 'wave)
  (setq spaceline-highlight-face-func 'spaceline-highlight-face-modified)
  (setq spaceline-buffer-modified-p nil)
  (if (and (eq system-type 'darwin) (not (emacs-mac-p)))
      (setq powerline-image-apple-rgb t))
  :config
  (spaceline-emacs-theme)
  (spaceline-helm-mode +1))

;; Show key config for shortcuts.
(defvar which-key-idle-delay)


;; Use spaces instead of tabs
(setq-default indent-tabs-mode nil)


;; Window management

;;Use shift-<left/right/up/down> to change windows
(when (fboundp 'windmove-default-keybindings)
