       (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)
       (eval-after-load 'company '(add-to-list 'company-backends 'company-irony))
       :config
-      (setq company-idle-delay 0))
+      (setq company-idle-delay 0.05)
+      (setq company-async-timeout 10) ;; set timeout to 10 seconds
+      )
     ;; enable C/C++ header completion
     (use-package company-irony-c-headers
       :ensure t

       (define-key term-raw-map (kbd "M-&") 'nil)
       (define-key term-raw-map (kbd "M-!") 'nil)

       ;; make sure window movement keys are not captured by terminal
       (define-key term-raw-map (kbd "C-<left>") 'nil)
       (define-key term-raw-map (kbd "C-<right>") 'nil)
       (define-key term-raw-map (kbd "C-<up>") 'nil)
       (define-key term-raw-map (kbd "C-<down>") 'nil)

       ;; make sure C-c t e launches a new ansi-term buffer when current
       ;; buffer is also ansi-term
       (define-key term-raw-map (kbd "C-c t e") 'nil)

    (set-face-attribute 'mode-line nil :box nil)
    (set-face-attribute 'mode-line-inactive nil :box nil))

  ;; (use-package zenburn-theme
  ;;   ;; the best theme there is!
  ;;   :ensure t
  ;;   :if window-system ;; load only when GUI
  ;;   :config
  ;;   (load-theme 'zenburn t)
  ;;   ;; stylize the mode line
  ;;   (set-face-attribute 'mode-line nil :box nil)
  ;;   (set-face-attribute 'mode-line-inactive nil :box nil))

  (use-package dired+
    ;; advanced Dired functionality
