diff options
-rw-r--r-- | doc/dwb.1 | 4 | ||||
-rw-r--r-- | lib/keys.html | 192 | ||||
-rw-r--r-- | src/commands.c | 8 | ||||
-rw-r--r-- | src/commands.h | 1 | ||||
-rw-r--r-- | src/config.h | 1 | ||||
-rw-r--r-- | src/dwb.c | 2 |
6 files changed, 116 insertions, 92 deletions
@@ -186,6 +186,10 @@ Minimize masterarea (command Reload focused view (command .BR reload ). .TP +.BR R +Reload focused view without using any cached data (command +.BR reload_bypass_cache ). +.TP .BR [n]zi Zoom in [n times] (command .BR zoom_in ). diff --git a/lib/keys.html b/lib/keys.html index 81cd278e..10d740bf 100644 --- a/lib/keys.html +++ b/lib/keys.html @@ -144,6 +144,14 @@ <div style='clear:both;'></div> </div> <div class='dwb_line1'> + <div class='dwb_attr'>reload_bypass_cache</div> + <div style='float:right;'> + <label class='dwb_desc' for='reload_bypass_cache'>Reload without using any cached data</label> + <input id='reload_bypass_cache' type='text' > + </div> + <div style='clear:both;'></div> + </div> + <div class='dwb_line0'> <div class='dwb_attr'>insert_mode</div> <div style='float:right;'> <label class='dwb_desc' for='insert_mode'>Insert mode</label> @@ -151,7 +159,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>view_source</div> <div style='float:right;'> <label class='dwb_desc' for='view_source'>View page source</label> @@ -159,7 +167,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>zoom_in</div> <div style='float:right;'> <label class='dwb_desc' for='zoom_in'>Zoom in</label> @@ -167,7 +175,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>zoom_out</div> <div style='float:right;'> <label class='dwb_desc' for='zoom_out'>Zoom out</label> @@ -175,7 +183,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>zoom_normal</div> <div style='float:right;'> <label class='dwb_desc' for='zoom_normal'>Zoom to 100%</label> @@ -183,7 +191,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>quit</div> <div style='float:right;'> <label class='dwb_desc' for='zoom_normal'>Quit dwb</label> @@ -193,7 +201,7 @@ </div><!--}}}--> <div class='dwb_settings_headline'><a name='bookmark_keys'>Bookmarks & Quickmarks</a></div><!--{{{--> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'> bookmark </div> @@ -205,7 +213,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'> bookmarks </div> @@ -217,7 +225,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'> bookmarks_nv </div> @@ -229,7 +237,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'> bookmarks_nw </div> @@ -241,7 +249,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>save_quickmark</div> <div style='float:right;'> <label class='dwb_desc' for='save_quickmark'>Save a quickmark for this page</label> @@ -249,7 +257,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>open_quickmark</div> <div style='float:right;'> <label class='dwb_desc' for='open_quickmark'>Open a quickmark</label> @@ -257,7 +265,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>open_quickmark_nv</div> <div style='float:right;'> <label class='dwb_desc' for='open_quickmark_nv'>Open quickmark in a new tab</label> @@ -265,7 +273,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>open_quickmark_nw</div> <div style='float:right;'> <label class='dwb_desc' for='open_quickmark_nw'>Open quickmark in a new window</label> @@ -273,7 +281,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>open_start_page</div> <div style='float:right;'> <label class='dwb_desc' for='open_start_page'>Open the default homepage</label> @@ -284,7 +292,7 @@ <!--}}}--> <div class='dwb_settings_headline'><a name='commandline'>Commandline</a></div> <!--{{{--> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>command_mode</div> <div style='float:right;'> <label class='dwb_desc' for='command_mode'>Enter command mode</label> @@ -292,7 +300,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>entry_history_back</div> <div style='float:right;'> <label class='dwb_desc' for='entry_history_back'>Command history back</label> @@ -300,7 +308,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>entry_history_forward</div> <div style='float:right;'> <label class='dwb_desc' for='entry_history_forward'>Command history forward</label> @@ -308,7 +316,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>entry_delete_letter</div> <div style='float:right;'> <label class='dwb_desc' for='entry_delete_letter'>Delete a single letter</label> @@ -316,7 +324,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>entry_delete_line</div> <div style='float:right;'> <label class='dwb_desc' for='entry_delete_line'>Delete to the beginning of the line</label> @@ -324,7 +332,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>entry_delete_word</div> <div style='float:right;'> <label class='dwb_desc' for='entry_delete_word'>Delete word</label> @@ -332,7 +340,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>entry_word_back</div> <div style='float:right;'> <label class='dwb_desc' for='entry_word_back'>Move cursor back on word</label> @@ -340,7 +348,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>entry_word_forward</div> <div style='float:right;'> <label class='dwb_desc' for='entry_word_forward'>Move cursor forward on word</label> @@ -348,7 +356,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>download_set_execute</div> <div style='float:right;'> <label class='dwb_desc' for='download_set_execute'>Toggle between spawning an application and download path </label> @@ -358,7 +366,7 @@ </div><!--}}}--> <div class='dwb_settings_headline'><a name='scrolling'>Scrolling</a></div><!--{{{--> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>scroll_up</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_up'>Scroll up</label> @@ -366,7 +374,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>scroll_down</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_down'>Scroll down</label> @@ -374,7 +382,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>scroll_right</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_right'>Scroll right</label> @@ -382,7 +390,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>scroll_left</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_left'>Scroll left</label> @@ -390,7 +398,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>scroll_page_down</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_page_down'>Scroll one page down</label> @@ -398,7 +406,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>scroll_page_up</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_page_up'>Scroll one page up</label> @@ -406,7 +414,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>scroll_halfpage_down</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_halfpage_down'>Scroll one-half page down</label> @@ -414,7 +422,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>scroll_halfpage_up</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_halfpage_up'>Scroll one-half page up</label> @@ -422,7 +430,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>scroll_bottom</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_bottom'>Scroll to bottom of the page</label> @@ -430,7 +438,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>scroll_top</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_top'>Scroll to the top of the page</label> @@ -438,7 +446,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>scroll_percent</div> <div style='float:right;'> <label class='dwb_desc' for='scroll_percent'>Scroll to percentage</label> @@ -448,7 +456,7 @@ </div><!--}}}--> <div class='dwb_settings_headline'><a name='tabs'>Tabs & UI</a></div><!--{{{--> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'> add_view </div> @@ -460,7 +468,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'> remove_view </div> @@ -472,7 +480,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>undo</div> <div style='float:right;'> <label class='dwb_desc' for='undo'>Undo closing last tab</label> @@ -480,7 +488,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>decrease_master</div> <div style='float:right;'> <label class='dwb_desc' for='decrease_master'>Decrease master area</label> @@ -488,7 +496,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>increase_master</div> <div style='float:right;'> <label class='dwb_desc' for='increase_master'>Increase master area</label> @@ -496,7 +504,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>focus_next</div> <div style='float:right;'> <label class='dwb_desc' for='focus_next'>Focus next view</label> @@ -504,7 +512,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>focus_nth_view</div> <div style='float:right;'> <label class='dwb_desc' for='focus_nth_view'>Focus nth view</label> @@ -512,7 +520,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>focus_prev</div> <div style='float:right;'> <label class='dwb_desc' for='focus_prev'>Focus previous view</label> @@ -520,7 +528,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>push_master</div> <div style='float:right;'> <label class='dwb_desc' for='push_master'>Push to master area</label> @@ -528,7 +536,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>toggle_bottomstack</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_bottomstack'>Toggle bottomstack</label> @@ -536,7 +544,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>fullscreen</div> <div style='float:right;'> <label class='dwb_desc' for='fullscreen'>Toggle fullscreen</label> @@ -547,7 +555,7 @@ <!--}}}--> <div class='dwb_settings_headline'><a name='completion'>Completion</a></div><!--{{{--> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>complete_bookmarks</div> <div style='float:right;'> <label class='dwb_desc' for='complete_bookmarks'>Complete bookmarks</label> @@ -555,7 +563,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>complete_history</div> <div style='float:right;'> <label class='dwb_desc' for='complete_history'>Complete browsing history</label> @@ -563,7 +571,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>complete_commands</div> <div style='float:right;'> <label class='dwb_desc' for='complete_commands'>Complete command history</label> @@ -571,7 +579,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>complete_path</div> <div style='float:right;'> <label class='dwb_desc' for='complete_path'>Complete local file path</label> @@ -579,7 +587,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>complete_searchengines</div> <div style='float:right;'> <label class='dwb_desc' for='complete_searchengines'>Complete searchengines</label> @@ -587,7 +595,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>complete_userscript</div> <div style='float:right;'> <label class='dwb_desc' for='complete_userscript'>Complete userscripts</label> @@ -597,7 +605,7 @@ </div><!--}}}--> <div class='dwb_settings_headline'><a name='clipboard'>Clipboard</a></div><!--{{{--> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>paste</div> <div style='float:right;'> <label class='dwb_desc' for='paste'>Open url from clipboard</label> @@ -605,7 +613,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>paste_nv</div> <div style='float:right;'> <label class='dwb_desc' for='paste_nv'>Open url from clipboard in a new tab</label> @@ -613,7 +621,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>paste_nw</div> <div style='float:right;'> <label class='dwb_desc' for='paste_nw'>Open url from clipboard in a new window</label> @@ -621,7 +629,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>paste_primary</div> <div style='float:right;'> <label class='dwb_desc' for='paste_primary'>Open url from primary selection</label> @@ -629,7 +637,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>paste_primary_nw</div> <div style='float:right;'> <label class='dwb_desc' for='paste_primary_nw'>Open url from primary selection in a new window</label> @@ -637,7 +645,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>paste_primary_nv</div> <div style='float:right;'> <label class='dwb_desc' for='paste_primary_nv'>Open url from primary selection in a new window</label> @@ -645,7 +653,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>yank</div> <div style='float:right;'> <label class='dwb_desc' for='yank'>Yank current url to clipboard</label> @@ -653,7 +661,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>yank_primary</div> <div style='float:right;'> <label class='dwb_desc' for='yank_primary'>Yank current url to primary selection</label> @@ -663,7 +671,7 @@ </div> <!--}}}--> <div class='dwb_settings_headline'><a name='settings'>Settings</a></div><!--{{{--> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>set_property</div> <div style='float:right;'> <label class='dwb_desc' for='set_setting'>Set property</label> @@ -671,7 +679,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>set_global_setting</div> <div style='float:right;'> <label class='dwb_desc' for='set_global_setting'>Set global property</label> @@ -679,7 +687,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>show_global_settings</div> <div style='float:right;'> <label class='dwb_desc' for='show_global_settings'>Show and modify global properties</label> @@ -687,7 +695,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>set_key</div> <div style='float:right;'> <label class='dwb_desc' for='set_key'>Set keybinding</label> @@ -695,7 +703,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>show_keys</div> <div style='float:right;'> <label class='dwb_desc' for='show_keys'>Show and modify keyboard configuration</label> @@ -703,7 +711,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>scripts</div> <div style='float:right;'> <label class='dwb_desc' for='scripts'>Toggle 'enable-scripts'</label> @@ -711,7 +719,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>spell_checking</div> <div style='float:right;'> <label class='dwb_desc' for='spell_checking'>Toggle @@ -720,7 +728,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>autoload_images</div> <div style='float:right;'> <label class='dwb_desc' for='autoload_images'>Toggle @@ -729,7 +737,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>autoresize_window</div> <div style='float:right;'> <label class='dwb_desc' for='autoresize_window'>Toggle 'auto-resize-window'</label> @@ -737,7 +745,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>toggle_scripts_host</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_scripts_host'>Toggle block content for current domain</label> @@ -745,7 +753,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>toggle_scripts_uri</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_scripts_uri'>Toggle block content for current domain</label> @@ -753,7 +761,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>toggle_scripts_host_tmp</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_scripts_host_tmp'>Toggle block content for current domain for this session</label> @@ -761,7 +769,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>toggle_scripts_uri_tmp</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_scripts_uri_tmp'>Toggle block content for current domain for this session</label> @@ -769,7 +777,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>caret_browsing</div> <div style='float:right;'> <label class='dwb_desc' for='caret_browsing'>Toggle 'enable-caret-browsing'</label> @@ -777,7 +785,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>private_browsing</div> <div style='float:right;'> <label class='dwb_desc' for='private_browsing'>Toggle private browsing</label> @@ -785,7 +793,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>java_applets</div> <div style='float:right;'> <label class='dwb_desc' for='java_applets'>Toggle java applets</label> @@ -793,7 +801,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>toggle_maximized</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_maximized'>Toggle maximized</label> @@ -801,7 +809,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>plugins</div> <div style='float:right;'> <label class='dwb_desc' for='plugins'>Toggle 'enable-plugins'</label> @@ -809,7 +817,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>proxy</div> <div style='float:right;'> <label class='dwb_desc' for='proxy'>Toggle proxy</label> @@ -819,7 +827,7 @@ </div> <!--}}}--> <div class='dwb_settings_headline'><a name='misc'>Miscellaneous</a></div><!--{{{--> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>allow_cookie</div> <div style='float:right;'> <label class='dwb_desc' for='allow_cookie'>Allow cookie for current site</label> @@ -827,7 +835,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>download_hint</div> <div style='float:right;'> <label class='dwb_desc' for='download_hint'>Download via hints</label> @@ -835,7 +843,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>execute_userscript</div> <div style='float:right;'> <label class='dwb_desc' for='execute_userscript'>Execute userscript</label> @@ -843,7 +851,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>focus_input</div> <div style='float:right;'> <label class='dwb_desc' for='focus_input'>Focus the next input</label> @@ -851,7 +859,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>new_view</div> <div style='float:right;'> <label class='dwb_desc' for='new_view'> New view for next navigation</label> @@ -859,7 +867,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>new_window</div> <div style='float:right;'> <label class='dwb_desc' for='new_window'>New window for next navigation</label> @@ -867,7 +875,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>web_inspector</div> <div style='float:right;'> <label class='dwb_desc' for='web_inspector'>Open the webinspector</label> @@ -875,7 +883,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>print</div> <div style='float:right;'> <label class='dwb_desc' for='print'>Print current page</label> @@ -883,7 +891,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>save</div> <div style='float:right;'> <label class='dwb_desc' for='save'>Save all configuration files</label> @@ -891,7 +899,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>save_session</div> <div style='float:right;'> <label class='dwb_desc' for='save_session'>Save current session</label> @@ -899,7 +907,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'>save_named_session</div> <div style='float:right;'> <label class='dwb_desc' for='save_named_session'>Save current session with name</label> @@ -907,7 +915,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'>toggle_hidden_files</div> <div style='float:right;'> <label class='dwb_desc' for='toggle_hidden_files'>Toggle hidden files in directory listing</label> @@ -916,7 +924,7 @@ <div style='clear:both;'></div> </div> - <div class='dwb_line0'> + <div class='dwb_line1'> <div class='dwb_attr'> save_search_field </div> <div style='float:right;'> <label class='dwb_desc' for='save_search_field'> Add a new searchengine </label> @@ -924,7 +932,7 @@ </div> <div style='clear:both;'></div> </div> - <div class='dwb_line1'> + <div class='dwb_line0'> <div class='dwb_attr'> reload_scripts </div> <div style='float:right;'> <label class='dwb_desc' for='reload_scripts'> Reload all javascript userscripts </label> diff --git a/src/commands.c b/src/commands.c index 5ce05751..eeb2c9a3 100644 --- a/src/commands.c +++ b/src/commands.c @@ -252,6 +252,14 @@ dwb_com_reload(KeyMap *km, Arg *arg) { return true; }/*}}}*/ +/* dwb_com_reload_bypass_cache {{{*/ +gboolean +dwb_com_reload_bypass_cache(KeyMap *km, Arg *arg) { + webkit_web_view_reload_bypass_cache(WEBVIEW_FROM_ARG(arg)); + return true; +} +/*}}}*/ + /* dwb_com_view_source(Arg) {{{*/ gboolean dwb_com_view_source(KeyMap *km, Arg *arg) { diff --git a/src/commands.h b/src/commands.h index bc97c26c..af3bc1c8 100644 --- a/src/commands.h +++ b/src/commands.h @@ -57,6 +57,7 @@ gboolean dwb_com_print(KeyMap *, Arg *); gboolean dwb_com_push_master(KeyMap *, Arg *); gboolean dwb_com_quickmark(KeyMap *, Arg *); gboolean dwb_com_reload(KeyMap *, Arg *); +gboolean dwb_com_reload_bypass_cache(KeyMap *, Arg *); gboolean dwb_com_resize_master(KeyMap *, Arg *); gboolean dwb_com_save_files(KeyMap *, Arg *); gboolean dwb_com_save_session(KeyMap *, Arg *); diff --git a/src/config.h b/src/config.h index 261ee9ce..979eee8f 100644 --- a/src/config.h +++ b/src/config.h @@ -51,6 +51,7 @@ static KeyValue KEYS[] = { { "open_quickmark_nw", { "wb", 0, }, }, { "push_master", { "gp", 0, }, }, { "reload", { "r", 0, }, }, + { "reload_bypass_cache", { "R", 0, }, }, { "remove_view", { "d", 0, }, }, { "save_quickmark", { "m", 0, }, }, { "scroll_percent", { "%", 0, }, }, @@ -170,6 +170,8 @@ static FunctionMap FMAP [] = { (Func)dwb_com_quit, NULL, ALWAYS_SM, }, { { "reload", "Reload current page", }, 1, (Func)dwb_com_reload, NULL, ALWAYS_SM, }, + { { "reload_bypass_cache", "Reload current page without using any cached data", }, 1, + (Func)dwb_com_reload_bypass_cache, NULL, ALWAYS_SM, }, { { "remove_view", "Close view", }, 1, (Func)dwb_com_remove_view, NULL, ALWAYS_SM, }, { { "save_quickmark", "Save a quickmark for this page", }, 0, |