 
 (use-package windmove
   ;; move cursor between windows
+  :demand
   :bind
   (("C-s-b" . windmove-left)
    ("C-s-f" . windmove-right)

  (require 'flycheck-irony)
  (with-eval-after-load 'flycheck
    ;; Chain javascript-jscs to run after javascript-jshint.
    (flycheck-add-next-checker 'irony '(t . c/c++-googlelint)))
  (custom-set-variables
   '(flycheck-c/c++-googlelint-executable "/usr/local/bin/cpplint")
   '(flycheck-googlelint-verbose "3")
   '(flycheck-googlelint-filter "-whitespace,+whitespace/braces")
   '(flycheck-googlelint-linelength "120")))

(if (display-graphic-p)
    ;; use nyan mode only if Emacs run in GUI mode (and not 'emacs -nw')

  (semantic-mode 1)
  (global-semanticdb-minor-mode 1)
  (global-semantic-idle-scheduler-mode 1)
  ;; (add-hook 'c-mode-hook (lambda () (global-semantic-idle-summary-mode 1)))
  ;; (add-hook 'c++-mode-hook (lambda () (global-semantic-idle-summary-mode 0)))
  )

;;;;;;;;;;;;;;;;; MELPA PACKAGES

