     (global-set-key (kbd "C-c h u") 'hide-region-unhide)))
 
 ;;; http://www.emacswiki.org/emacs/FullScreen
-(if (string< emacs-version "24.4")
-    (progn
-      (defun toggle-fullscreen ()
-        (interactive)
-        (set-frame-parameter
-         nil 'fullscreen
-         (unless (frame-parameter nil 'fullscreen) 'fullboth)))
-      (global-set-key (kbd "C-c f") 'toggle-fullscreen))
-  (global-set-key (kbd "C-c f") 'toggle-frame-fullscreen))
+(global-set-key (kbd "C-c f") 'toggle-frame-fullscreen)
+(global-set-key (kbd "s-f") 'toggle-frame-fullscreen)
 
 (setq vc-follow-symlinks t)
 

    (call-interactively 'visit-tags-table)))
(global-set-key (kbd "C-c .") 'vvv/reload-tags-table)

;;; --------------------------------------------------------------------

(with-eval-after-load "ps-print"
  (setq ps-paper-type 'a4
        ps-print-header nil

    (global-set-key "\C-cb"
                    `(lambda () (interactive) (find-file ,f)))
    (setq org-agenda-files `(,f))))
;;; --------------------------------------------------------------------

(use-package editorconfig
  :ensure t
  :config
    (editorconfig-mode 1))

(use-package treemacs
  :ensure t
  :config
  (global-set-key (kbd "C-c r") 'treemacs)
  (global-set-key (kbd "s-r") 'treemacs))

(use-package which-key
  :ensure t
  :config (which-key-mode))

;;; Language Server Protocol
(use-package lsp-mode
  :ensure t
  :hook ((rust-mode . lsp)
         (lsp-mode . lsp-enable-which-key-integration))
  :commands lsp)
(use-package lsp-treemacs
  :ensure t
  :commands lsp-treemacs-errors-list)
(use-package lsp-ivy
  :ensure t
  :commands lsp-ivy-workspace-symbol)
(use-package flycheck
  :ensure t)
;; (use-package lsp-ui
;;   :ensure t)
(use-package company
  :ensure t)

;; (use-package projectile
;;   :ensure t
;;   :config
;;   (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
;;   ;; (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
;;   (projectile-mode +1))

;; (use-package counsel-projectile
;;   :ensure t
;;   :config
;;   (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map))

(use-package dhall-mode
  :config
  (remove-hook 'after-change-functions 'dhall-after-change)
  (setq dhall-use-header-line nil
        dhall-format-at-save nil)
  (add-hook 'dhall-mode-hook
            (lambda () (setq indent-tabs-mode nil))))

(defun vvv/reload-tags-table (arg)
  "A combination of `tags-reset-tags-tables' and `visit-tags-table'."
