Skip to content

How do I go about showing page number in pdf view mode? #10

@simurgh9

Description

@simurgh9

I'd like to add page-number in the mode-line when looking at a pdf in pdf-view-mode from pdf tools package.

(format "%d/%d " (eval `(pdf-view-current-page))
      (pdf-cache-number-of-pages))

This returns what I want in the mode-line.

You might checkout the doom mode-line. It already has this number shown in the pdf mode I am referring to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions