Sumatra PDF is a PDF, ePub, MOBI, CHM, XPS, DjVu, CBZ, CBR reader for Windows

Feature request: Single key to open next PDF in folder

Feature request: I would like SumatraPDF to work in a similar way to most graphics viewers, where you can hit, for example, the Space key to close the current file and instantly open the next file in a folder.

Is there a way to configure SumatraPDF to allow the Space key to (1) Close the current PDF, and (2) Open the next PDF in the same folder, with the default view settings? I find myself constantly hitting the space key and expecting the next PDF to open, because most of my folders consist of 50% PDF and 50% mixture of PNG and JPG.

At least the Esc key is consistent; I have SumatraPDF configured so that Esc closes the PDF, much in the same way that Esc closes PNG and JPG files in my various graphics viewers.

Thank you.

1 Like

From manual

                       space   scroll by screen 
    <Ctrl> + <Shift> + Right   open next document in the directory 
    <Ctrl> + <Shift> + Left    open previous document in the directory 

there are no combined controls for tabs however if you use a single un-tabbed session the one file view window will close current and open next (or previous)

You can have different session start-ups so that one shortcut works single file at a time (as above) whilst a different start works with tabs etc.

See countless other requests to remap keys but short answer to re-assigning space bar is NO, you would need to use a 3rd party key mapper (at your own risk )


OpenBatchInFolder = true
NextInFolder = true
ShowNextButton = true
KeyMapping = true

BeRewardedWithUserAppreciation = true

|Ctrl||Shift||Right| solves my immediate problem. THX!


Like most people, I use Sumatra for PDF and IrfanView for bitmap files. Whenever I switch from Irfan to Sumatra, I can hardly believe that there is no way to switch to the next file in the folder with the mouse. The combination of next page / previous page of file and next file / previous file in the folder is essential for a free file viewer.ba88065c58d80e6381af938183efeacb3c90dc67

SumatraPDF has many hundreds of actions and the toolbar has always been kept for less than a dozen primarily for controlling the current file being read.

When you open a FOLDER of images (OR a zip archive) the left / right arrows will open previous/next file similar to Irfanview.

Goto file next and previous are often requested but not the most commonly needed
Those keyboard shortcuts are ranked similar priority as many others


Super mega useful, happy to have found this shortcut! Many thanks!