Short answer: Create your own helm buffer sources and modify the
helm-mini-default-sources variable to use them.
as its helm sources, so you can choose which sources to use and their order when showing in helm buffer. You cannot customize the
variable itself, except choosing to use it or not. You need to create your own buffer list source to replace
, for example,
(setq helm-mini-default-sources '(my-file-buffers
here, you need to create two new sources:
Usually, you should use the
helm-source-buffers class to make these two sources, but you cannot use them in one and the same helm command (see closed issue https://github.com/emacs-helm/helm/issues/1034), so you also need to create your own helm buffer source class, it's easy if you use
helm-source-buffers as a reference.
PS. helm wiki includes a section on Developping using helm: https://github.com/emacs-helm/helm/wiki#developpingusinghelmframework, it can be considered the official documentation of helm.