 (tool-bar-mode -1)
 (scroll-bar-mode -1)
 
-;; Enable various minor modes
-(show-paren-mode 1)                           ; Highlight matching parens
-(column-number-mode 1)                        ; Display column number
-(setq column-number-indicator-zero-based nil) ; Start column number count at 1 (Emacs 26)
-(hl-line-mode)                                ; Hightlight current line
-(global-linum-mode 1)                         ; Enable line numbers
-(setq display-line-numbers 'relative)         ; Relative line numbers (Emacs 26)
+;; Enable & configure various minor modes
+(dolist (mode '(show-paren-mode     ; Highlight matching parens
+                column-number-mode  ; Display column number
+                hl-line-mode        ; Hightlight current line
+                global-linum-mode)) ; Enable line numbers
+  (funcall mode 1))
+(setq column-number-indicator-zero-based nil ; Start `column-number-mode' count at 1    (Emacs 26)
+      display-line-numbers 'relative         ; Relative line numbers for `hl-line-mode' (Emacs 26)
+      ring-bell-function 'ignore)            ; Disable bell
 ;; NOTE: May need: (setq display-line-numbers-current-absolute t) to enable hybrid line numbers
 
 ;; Auto-indent on new line

;;;; `~/.emacs.d/init.el'


;;; TODO Install Org-mode, Magit, Ledger-mode and others (maybe restclient)
;;; TODO Set up for programming (e.g. C#, VimL, Perl, Python, C, C++, Clojure, etc.)
;;; TODO Sort out package archive priority (https://emacs.stackexchange.com/questions/2969/is-it-possible-to-use-both-melpa-and-melpa-stable-at-the-same-time)
;;; TODO Move this file to an org-mode file
;;; TODO Tidy up file & shorten comments
;;; TODO Set fonts (Consolas on Windows, maybe Source-Code-Pro or Monospace on Linux)
;;; TODO Set location to store backup files
;;; TODO Try and set up unlimited undo
;;; TODO Set up Vim-like folding (https://github.com/mrkkrp/vimish-fold, https://github.com/alexmurray/evil-vimish-fold)


;; Disable UI elements in GUI Emacs

  (require 'use-package))
(require 'diminish)

;; Evil-Mode Configuration
(use-package evil
  :ensure t
  :init
  (setq evil-want-C-u-scroll t
        evil-want-C-i-jump nil) ; http://stackoverflow.com/questions/22878668/emacs-org-mode-evil-mode-tab-key-not-working
  :config

  (use-package evil-leader
