   :diminish hs-minor-mode)
 
 
-
-(defun me:use-evil-selection-register ()
-  (interactive)
-  (evil-execute-macro 1 "\"*"))
-
-(defun me:use-evil-clipboard-register ()
-  (interactive)
-  (evil-execute-macro 1 "\"+"))
-
-
-(defun me:evil-shift-left-visual ()
-  (interactive)
-  (evil-shift-left (region-beginning) (region-end))
-  (evil-normal-state)
-  (evil-visual-restore))
-
-(defun me:evil-shift-right-visual ()
-  (interactive)
-  (evil-shift-right (region-beginning) (region-end))
-  (evil-normal-state)
-  (evil-visual-restore))
-
-
 ;; N.B. evil-mode must be enabled after global-evil-leader-mode
 (use-package evil
   :init

    (set-face-attribute 'whitespace-tab nil :foreground "gainsboro" :background "white" )
    (set-face-attribute 'whitespace-trailing nil :foreground "black" :background "red" )))

(defun me:switch-to-previous-buffer ()
  (interactive)
  (switch-to-buffer (other-buffer (current-buffer) 1)))

;(use-package semantic
;  :config
;    (semantic-mode t)
;  :defer 3)

(use-package helm
  :init
  (progn
    (setq helm-split-window-in-side-p           t
          helm-split-window-default-side        'other
          helm-apropos-fuzzy-match              t
          helm-bookmark-show-location           t
          helm-buffers-fuzzy-matching           t
          helm-completion-in-region-fuzzy-match t
                                        ; helm-ff-search-library-in-sexp        t
          helm-file-cache-fuzzy-match           t
          helm-imenu-fuzzy-match                t
          helm-locate-fuzzy-match               nil          ; not useful
          helm-mode-fuzzy-match                 t
          helm-move-to-line-cycle-in-source     t
          helm-M-x-fuzzy-match                  t
          helm-quick-update                     nil          ; ui flashing occurs
          helm-recentf-fuzzy-match              t
          helm-semantic-fuzzy-match             t
          helm-input-idle-delay                 0.1
          helm-idle-delay                       0.0
          helm-buffer-max-length                40
          helm-candidate-number-limit           200
          helm-scroll-amount                    8
          ;; set the sources for helm-for-files
          helm-for-files-preferred-list '( helm-source-recentf

   ("<f7> o"    . projectile-multi-occur)
   ("<f7> u"    . projectile-invalidate-cache)
   ("<f7> k"    . projectile-kill-buffers)
   ("<f7> f"    . helm-projectile-ag)))

(use-package helm-gtags
  :init
