You are not logged in.
By looking at the commit, I can tell there's a little mistake: 'C-g' should be 'entry_escape' and 'C-j' should be 'entry_confirm'.
No, that's not a mistake, if you want readline shortcuts just rebind them. I want C-j to be entry_history_forward, and C-c also acts like Escape in vim. I never used readline shortcuts i also use vi shortcuts on console and have history-forward and history-back bound to C-j, C-k.
Offline
bloom wrote:By looking at the commit, I can tell there's a little mistake: 'C-g' should be 'entry_escape' and 'C-j' should be 'entry_confirm'.
No, that's not a mistake, if you want readline shortcuts just rebind them. I want C-j to be entry_history_forward, and C-c also acts like Escape in vim. I never used readline shortcuts i also use vi shortcuts on console and have history-forward and history-back bound to C-j, C-k.
I forgot there were easily modifiable through the web interface, sorry, good work!
Offline
Hello, first of all I should say thank you, it's a good browser... there is a few itens that I would like to adress:
- Some keys to do not work as in vim, focus_next and focus_prev for example. It's not a big deal, but made my first contact a little more difficult.
- Is there any plan of a more robust spell checker? z= would be neat.
- A function to repeat the last action would also be useful (preferable with dot as key).
- I think that focus_input should trigger input mode.
- Be able to open multiple urls in a unique call of :open/:tabopen using a "urlseparator" to delimit.
And, again, thank you, keep up the good work!
Offline
- Some keys to do not work as in vim, focus_next and focus_prev for example. It's not a big deal, but made my first contact a little more difficult.
I know, but gt/gT is one shortcut in vim that i don't like, you can rebind them if you prefer gt/gT.
- Is there any plan of a more robust spell checker? z= would be neat.
What do you mean with more robust? The spell checker is a webkit builtin feature and webkit uses aspell if it is installed. There are no plans to implement a different spell-checker.
- A function to repeat the last action would also be useful (preferable with dot as key).
I don't know how useful this would be in a webbrowser, i already thought about it. It is also really simple to implement, but i couldn't imagine a situation where this could be useful, at least i never missed it but maybe i add a shortcut and test if it makes sense.
- I think that focus_input should trigger input mode.
No, focus_input is intended to switch between input fields, if you want focus_input to trigger input mode you can unbind focus_input and define a custom comand for it
gi:focus_input;; insert_mode
- Be able to open multiple urls in a unique call of :open/:tabopen using a "urlseparator" to delimit.
That's a good idea.
Offline
Thanks for answer, until now the way to define custom commands was not so clear to me, your example helped, and with "more robust spell checker" I meant the hability of view spelling suggestions for a mispelled word (like z= in vim).
Offline
bloom wrote:I've tried overriding the default hints.js (I want to add padding and round corners) by copying it in $XDG_CONFIG_HOME/dwb/scripts/ but it doesn't seem to be taking precedence...
You don't need to override the hints.js script, you can use a custom stylesheet for that using the classname dwb_hint:
.dwb_hint { padding: ...; border-radius: ... }
Works very well. It fails though, when the page uses a CSS reset (e.g. github resets padding).
— 'hints_tab' seems to work in most situations but if I browse to: foo, hit 'F' and type the label of one of the image thumbnails, then the link is opened in a new tab but also in the current tab ('hints_rapid' performs well though).
Last edited by bloom (2012-01-16 18:26:08)
Offline
Works very well. It fails though, when the page uses a CSS reset (e.g. github resets padding).
Have you tried
padding: ...!important;
This works at least on githubs startpage.
— 'hints_tab' seems to work in most situations but if I browse to: foo, hit 'F' and type the label of one of the image thumbnails, then the link is opened in a new tab but also in the current tab ('hints_rapid' performs well though).
Fixed.
Offline
Do you dwb users experience the problem that the mouse pointer tends to disappear, for example, when hovering over tabs? Actually for me it disappears in many areas and in many pages, even in this forum. I have noticed it only now, and I have just updated dwb-hg today. I don't have the same problem in firefox, for example.
*edit*
Just tested out luakit. No problems. Doesn't seem to be a webkit issue then.
Hmmm, restarting dwb solved the problem. Sorry. Please ignore this then.
Last edited by stryder (2012-01-17 14:09:13)
Offline
Is there a way I can turn off the icons on the tabs?
Any input on this?
Damn fine browser so far.
Offline
There is already an option for it:
redhalo wrote:Is there a way I can turn off the icons on the tabs?
There is a new option 'enable-favicon' in last revision.
Hints are shifted downward on this page: hn.
There are still some issues with the hint position, they might not be correct on every site, but on this site and some other sites it is now fixed.
Offline
Is there a way to copy the URL of a page to the, hmm I don't know how to refer to it, the clipboard that uses "Ctrl-C". Right now I use the open url to edit option, select the URL. Ctrl-C does nothing but close the dialog. So I have to open a text file and middle click to copy it.
Also would be nice if I can select a number and choose the history-back option to jump back in history that number of lines.
Offline
Is there a way to copy the URL of a page to the, hmm I don't know how to refer to it, the clipboard that uses "Ctrl-C". Right now I use the open url to edit option, select the URL. Ctrl-C does nothing but close the dialog. So I have to open a text file and middle click to copy it.
Also would be nice if I can select a number and choose the history-back option to jump back in history that number of lines.
yy copies the url of the currently loaded site to clipboard (the C-c clipboard) and yY copies the url to primary selection (the middle mouse button). If you want to copy the url of a link you can either use the rightclick menu and choose copy to clipboard which copies the url to clipboard and primary selection or you can use ;y and ;Y.
Some commands take a numerical modifier, you can take a look at the manpage which commands have a modifier, e.g. if you want to go 3 historyitems back you can press 3H.
Offline
Thanks. You have been very helpful.
Offline
— In the settings page, if I change a value and press 'Tab', the value is saved and the cursor moves to the next field but I'm also thrown out of Insert mode.
— focus_input doesn't enter Insert mode: I'm not sure if this is intended and it fails to focus the search field on google, also the default 'gi' binding is not documented in the manual.
— You might want to add the following commands: show_history, show_downloads, reload_userscripts.
— 'Shift-Insert' doesn't work in the status bar.
Offline
— In the settings page, if I change a value and press 'Tab', the value is saved and the cursor moves to the next field but I'm also thrown out of Insert mode.
You are right, this behaviour is odd. I changed it in tip.
— focus_input doesn't enter Insert mode: I'm not sure if this is intended and it fails to focus the search field on google, also the default 'gi' binding is not documented in the manual.
I forgot to mention it in the manual, the behaviour is intended but it seems the everyone expects it to go into insert mode, so i may change this, personally i don't use it at all.
— You might want to add the following commands: show_history, show_downloads, reload_userscripts.
I thought about removing also show_keys and show_settings, they can be bound to
a quickmark anyway but i will add reload_userscripts when i have time for it.
— 'Shift-Insert' doesn't work in the status bar.
Now it does.
Offline
bloom wrote:— In the settings page, if I change a value and press 'Tab', the value is saved and the cursor moves to the next field but I'm also thrown out of Insert mode.
You are right, this behaviour is odd. I changed it in tip.
I've tested it and it seems there's a little problem: modifications are not saved (even if I call save).
Offline
You now have to confirm a change with return, i'm not completely sure if i stick with it. Another option would be to add a save button.
Offline
I'll try to describe in more details the filesonic issue:
Let's consider the following external download script:
#! /bin/dash
url=$1
output=$2
cookies=$3
all_cookies=$(mktemp --tmpdir cookies.XXX)
sed 's/^#[^_]\+_//' "$cookies" > "$all_cookies"
wget -a ~/.logfoo -O "$output" --load-cookies "$all_cookies" "$url"
It works fine with mediafire and rapidshare for example but fails with filesonic:
Instead of downloading the file it produces a plain text file containing the server response:
bad hash
(filesonic works with the internal downloader.)
I made an upload for testing purpose:
What could be missing?
Last edited by bloom (2012-01-18 18:50:26)
Offline
I was thinking of making a 'set cookiemonster-accept-policy' joke, but there are just to many to choose from.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
What could be missing?
I don't know what's missing, these filehosting services do anything to prevent downloading files outside a browser. I added a new variable dwb_referer, i don't know if this helps but you can use it for wgets --referer command line option.
Offline
Could the open_editor be improved? I think that it should open with a copy of the already typed text in the input box.
Offline
Could the open_editor be improved? I think that it should open with a copy of the already typed text in the input box.
It does if you don't use an editor that doesn't detach from the parent process like gvim or any terminal editor together with urxvtc.
This might be improved by also allowing to use gvim or urxvtc.
Offline