1# A sample of ~/.w3m/menu (submenu type) 2# 3# menu MENU_ID 4# func LABEL FUNCTION KEYS 5# popup LABEL MENU_ID KEYS 6# nop LABEL 7# end 8# 9# MENU_ID 10# Main: Main Menu 11# Select: Buffer selection menu 12 13menu Main 14 func "Back (b)" BACK "b" 15 popup "Buffer ops >(f)" Buffer "fF" 16 popup "Link ops >(l)" Link "lL" 17 nop "----------------" 18 popup "Bookmarks >(B)" Bookmark "B" 19 func "Help (h)" HELP "hH" 20 func "Options (o)" OPTIONS "oO" 21 nop "----------------" 22 func "Quit (q)" QUIT "qQ" 23end 24 25menu Buffer 26 popup "Buffer select(s)" Select "s" 27 func "View source (v)" VIEW "vV" 28 func "Edit source (e)" EDIT "eE" 29 func "Save source (S)" SAVE "S" 30 func "Reload (r)" RELOAD "rR" 31end 32 33menu Link 34 func "Go link (a)" GOTO_LINK "a" 35 func "Save link (A)" SAVE_LINK "A" 36 func "View image (i)" VIEW_IMAGE "i" 37 func "Save image (I)" SAVE_IMAGE "I" 38 func "View frame (f)" FRAME "fF" 39end 40 41menu Bookmark 42 func "View bookmarks (b)" BOOKMARK "bB" 43 func "Add page to bookmark(a)" ADD_BOOKMARK "aA" 44end 45