        (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)

      (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))
    ;; enable C/C++ header completion
    (use-package company-irony-c-headers
      :ensure t

(let ((gc-cons-threshold most-positive-fixnum) ;; better garbage collection
      (file-name-handler-alist nil))
  ;; sensible GUI
  (menu-bar-mode -1)  ;; disable menubar
  (tool-bar-mode -1) ;; disable toolbar
