   (unless (or (minibufferp)
               ;;(member major-mode display-line-numbers-exempt-modes)
 	      (not (derived-mode-p 'prog-mode))
-	      (not popper-popup-status))
+	      (popper-popup-status))
     (display-line-numbers-mode)))
 (global-display-line-numbers-mode)
 
-;; scroll long lines individually
+;; scroll long lines individually like nano
 (setq auto-hscroll-mode 'current-line)
 
 ;; modeline

  :straight t
  :bind
  ("M-x" . #'helm-M-x)
   ([remap apropos] .  #'helm-apropos)
   ([remap find-library] .  #'helm-locate-library)
   ([remap bookmark-jump] . #'helm-bookmarks)
   ([remap execute-extended-command] . #'helm-M-x)
   ([remap find-file] . #'helm-find-files)
   ([remap locate] . #'helm-locate)
   ([remap imenu] . #'helm-semantic-or-imenu)
   ([remap noop-show-kill-ring] . #'helm-show-kill-ring)
   ([remap switch-to-buffer] . #'helm-buffers-list)
   ([remap projectile-recentf] . #'helm-projectile-recentf)
   ([remap projectile-switch-project] . #'helm-projectile-switch-project)
   ([remap projectile-switch-to-buffer] . #'helm-projectile-switch-to-buffer)
   ([remap recentf-open-files] . #'helm-recentf)
   ([remap yank-pop] . #'helm-show-kill-ring)
  :config
  (setq helm-split-window-in-side-p t)
  (helm-mode))



        ;;org-ref-notes-function 'orb-edit-notes)
	org-ref-default-bibliography "~/Zotero/zotero/zotero.bib"
	org-ref-default-citation-link "citep"))
(use-package helm-bibtex
  :straight t
  :config
  (setq bibtex-completion-bibliography org-ref-default-bibliography))
