  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  )
+(put 'dired-find-alternate-file 'disabled nil)

;; don't create backup files and clutter
(setq auto-save-default nil)

;(setq-default make-backup-files nil)
;; set the cursor type
(setq-default cursor-type '(bar . 1))

    (setq-default clang-format-executable "/usr/local/bin/clang-format10")
    (setq-default clang-format-fallback-style "none")
    (global-set-key (kbd "C-c f") 'clang-format-region))

(use-package mwim
    :config
    (global-set-key (kbd "C-a") 'mwim-beginning))

;;
;; Custom functions
