 
 (defun danylo/python-imenu-hooks ()
   (setq imenu-generic-expression
-        '(("Function" "^[[:blank:]]*def \\(.*\\).*(.*$" 1)
-          ("Class" "^class \\(.*\\).*:$" 1)))
+        '(("f(x) " "^[[:blank:]]*def \\(.*\\).*(.*$" 1)
+          ("class" "^class \\(.*\\).*:$" 1)))
   (setq imenu-create-index-function 'danylo/python-imenu)
   ;; Rescan the buffer as contents are added
   (setq imenu-auto-rescan t)

              helm-recentf-matching t
              history-delete-duplicates t)
  (setq helm-imenu-type-faces
        '(("^\\(f(x)\\)$" . danylo/imenu-function-face)
          ("^\\(struct\\)$" . danylo/imenu-class-face)
          ("^\\(@\\)$" . danylo/imenu-macro-face)
          ("^\\(import\\|using\\|include\\)$" . danylo/imenu-import-face)
          ("^\\(export\\)$" . danylo/imenu-export-face)
          ("^\\(const\\)$" . danylo/imenu-const-face))
        helm-imenu-delimiter " ")
  (add-hook 'helm-find-files-after-init-hook
            (lambda ()

         ("S-<return>" . helm-company)
         :map helm-map
         ("TAB" . helm-execute-persistent-action))
  :init (setq helm-display-buffer-default-height danylo/num-completion-candidates
              helm-mode-line-string ""
              helm-comp-read-mode-line ""
              helm-buffer-max-length 30
