   "Convert the current buffer to DOS file format."
   (interactive)
   (set-buffer-file-coding-system 'undecided-dos nil))
-
-;; Auto revert buffer on file change
-(use-package autorevert
-  :diminish auto-revert-mode)
-
-;; Always ALWAYS use UTF-8
-(use-package iso-transl
-  :ensure nil
-  :config
-  (set-terminal-coding-system 'utf-8)
-  (set-keyboard-coding-system 'utf-8)
-  (prefer-coding-system 'utf-8))
-
-(set-language-environment "UTF-8")
 
 ;; Use xclip to copy/paste to the terminal from X.
 (use-package xclip

(tooltip-mode -1)
(fringe-mode '(nil . 0))

;; Font
(add-to-list 'default-frame-alist
             '(font . "Hack-10:Normal"))

(use-package hc-zenburn-theme
  :config


(global-set-key (kbd "C-c b k") #'my/editor-kill-others-buffers)

;; Auto revert buffer on file change
(use-package autorevert
  :diminish auto-revert-mode)

;; Always ALWAYS use UTF-8
(use-package iso-transl
  :ensure nil
  :config
  (set-language-environment 'utf-8)
  (prefer-coding-system 'utf-8))

(defun my/dos2unix ()
  "Convert the current buffer to UNIX file format."
  (interactive)
