   (flyspell-prog-mode)
   (whitespace-mode)
   (rainbow-delimiters-mode)
+  (linum-mode)
+  (centered-cursor-mode)
+  ;; Language-aware editing commands. Useful for imenu-menu.
+  (semantic-mode 1)
   (yas-minor-mode))
 
 (defun ar/markdown-mode-hook-function ()

(defvar mouse-wheel-mode nil)
(use-package centered-cursor-mode
  :ensure t)
(global-centered-cursor-mode +1)

(defun ar/create-non-existent-directory ()
  (let ((parent-directory (file-name-directory buffer-file-name)))

 helm-buffers-favorite-modes (append helm-buffers-favorite-modes
                                     '(picture-mode artist-mode))
 helm-buffer-max-length 30
 helm-candidate-number-limit 100 ; limit the number of displayed canidates
 helm-M-x-requires-pattern 0     ; show all candidates when set to 0
 helm-boring-file-regexp-list
 '("\\.git$" "\\.hg$" "\\.svn$" "\\.CVS$" "\\._darcs$" "\\.la$" "\\.o$" "\\.i$") ; do not show these files in helm buffer
