 
 (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)

         ("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

              :map org-mode-map
              ("C-c t i" . danylo/imenu-list-jump)
              :map imenu-list-major-mode-map
              ("C-c t i" . danylo/imenu-list-jump)
              ("DEL" . danylo/imenu-list-jump))
  :init (setq imenu-list-size danylo/side-window-width
              imenu-list-position 'left
              imenu-list-mode-line-format
