Like many console people I’ve set w3m as my man pager, i.e,
alias man=’TERM=xterm LC_ALL= w3mman’
when w3m is available.
However, there’s one thing bother me alot: whenever I quit the man page (from console, not within Emacs), w3m asks if I really want to quit. This is borthing.
So I finially turns myself to the document today. And it’s so easy: if I hit “Q” instead of “q”, there’s no confirmation and w3mman just quits.
But “Q” is harder to hit than “q”… And after some more doc reading. Here’s the solution:
Add in the file ~/.w3m/keymap (create one if it’s not there) and add this line in:
keymap q EXIT
Now it’s what I want: “q” to quit man pages without confirm
Comments 1
Looked for this! Thanks!
Posted 08 Apr 2011 at 8:00 pm ¶Case I don’t want it to be always like this, I added it to a diffrent named file not ~/.w3m/keymap and modified my alias to w3m -o keymap_file=
Post a Comment
You could use <code type="name"> to get your code colorized