 
 ;; toggle auto-fill-mode
 (global-set-key (kbd "C-c q") 'auto-fill-mode)
-
-;; package and mode specific keys
-
-;; paste in term using C-x C-y
-(eval-after-load "term" '(define-key term-raw-map (kbd "C-y") 'term-paste))
 
 ;; -----------------------------------------------------------------------------
 

;; Open link under cursor
(global-set-key (kbd "C-c b") 'browse-url-at-point)

;; start ansi-term with fish shell
(global-set-key (kbd "C-c s") (lambda () (interactive) (ansi-term "/usr/bin/fish")))

;; eval region
(global-set-key (kbd "C-C x") 'eval-region)

;; revert buffer (reload file from disk)
(global-set-key (kbd "<f5>" ) 'revert-buffer)

  "Close all buffers"
  (interactive)
  (mapc 'kill-buffer (buffer-list)))

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

