         (find-file file))
     (message "Current buffer does not have an associated file.")))
 
-(global-set-key "\M-/" 'hippie-expand)
+(bind-key "\M-/" #'hippie-expand)
+
 (setq hippie-expand-try-functions-list '(try-expand-dabbrev
                                          try-expand-dabbrev-visible
                                          try-expand-dabbrev-all-buffers

(use-package expand-region :ensure t
  :bind ("C-c w" . er/expand-region))

(require 'recentf)
(setq recentf-max-saved-items 200
      recentf-max-menu-items 15)
(recentf-mode)

(use-package yasnippet :ensure t)


(use-package helm-make :ensure t)

(use-package drag-stuff :ensure t
  :bind (("M-<up>" . drag-stuff-up)
         ("M-<down>" . drag-stuff-down)))

;; Avoid creating lock files (ie. .#some-file.el)
(setq create-lockfiles nil)
