How can I disable the exit confirmation while trying to quit w3m?

1k views Asked by At

Is there a way to remove Do you want to exit w3m? (y/n) from prompting after I press q to exit the application?

4

There are 4 answers

0
philip becker On

You can quit without confirmation by pressing Q instead. Found this in the manual here or man w3m.

0
take88 On

You can use the -o confirm_qq=false option on the command line.

Example:

$ w3m -o confirm_qq=false
0
Razzi Abuissa On

You can add the following to your ~/.w3m/config:

confirm_qq false
0
gotbletu On

Q is default to quit without confirm but if you want lower q to do the same just remap your hotkey

$EDITOR ~/.w3m/keymap
keymap q EXIT