You are not logged in.

#1 2009-12-10 01:12:49

MP2E
Member
Registered: 2009-09-05
Posts: 115

[SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

I'm a noob when it comes to Uzbl, as a matter of fact, I've only copy + pasted the default config into my ~/.config/uzbl/ directory so far, but I've had a few issues.

Shift + f shows the little highlighting numbers, but typing them in does absolutely nothing. I don't know how to navigate without the mouse, and this is a huge problem because I love surfing the web without a mouse(it's why I use vimperator).

CTRL + F and B don't work sad skipping through documents quickly was how I learned to live.

Now, the second is probably because it isn't configured to do that, but the first I have no idea. It should work. Any help?

EDIT : Also for some reason entering 1 doesn't work as the first number...

EDIT2 : Also if anyone could kindly point me to a nice config file that acts as close as possible to vimperator, it would be much appreciated smile I would think that someone has made something along those lines before

Last edited by MP2E (2009-12-10 04:32:54)


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#2 2009-12-10 01:33:19

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

Edit: Misunderstood.

Last edited by milomouse (2009-12-10 01:42:36)

Offline

#3 2009-12-10 01:36:56

MP2E
Member
Registered: 2009-09-05
Posts: 115

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

CTRL + F and CTRL + B go forward a page and back a page, respectively
(basically it puts the end of the page you are looking at at the top for quick scrolling through something)


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#4 2009-12-10 01:47:12

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

Couldn't you do:
@bind <Ctrl>f = scroll vertical 100%
@bind <Ctrl>b = scroll vertical -100%
?  Unless I'm still mistaken. neutral

Last edited by milomouse (2009-12-10 01:47:44)

Offline

#5 2009-12-10 01:58:30

MP2E
Member
Registered: 2009-09-05
Posts: 115

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

Oh, yes. Thanks! Like I said that problem was probably due to me not configuring anything, heh. The first problem(not being able to use f then type a number and enter to use links) is still an issue though.


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#6 2009-12-10 02:06:30

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

Oops, shouldn't have edited my first post then. There's been a lot of issues and differences between the "follow links" scripts lately and I myself haven't been able to get the default script to work. I had to use the "follow_Numbers.js", which I think still comes with the installation if I'm not mistaken? Anyway, I would just  #comment out the previous command and use "follow_Numbers.js" instead.

#@bind   F = script @scripts_dir/hint.js
# adding these:
@bind    f*       = script @scripts_dir/follow_Numbers.js %s
@bind    F*       = script @scripts_dir/follow_Numbers_New.js %s

The "follow_Numbers_New.js" is a modified version of "follow_Numbers.js" script just copied and renamed, with these edits to the new file: http://www.uzbl.org/wiki/follow_numbers_new_window.js   This way it's like Vimperator, when you simply type "f" it will show the follow links to open in current window, but when you press shift + f  it will follow links into a new tab (or window, in this case).

The only thing is that the number you typed in doesn't go away until you hit ESC key. I think there was another post about this that addresses this issue, somewhere on the forums.


There's other things you can do to make it more like Vimperator but I haven't really taken the time to do so. gh = uri http://homepage, zi = zoom_in, zo = zoom_out, gg = scroll vertical begin, G = scroll vertical end, ^ = scroll horizontal begin, $ = scroll horizontal end, etc. :\

Last edited by milomouse (2009-12-10 02:15:50)

Offline

#7 2009-12-10 04:32:43

MP2E
Member
Registered: 2009-09-05
Posts: 115

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

Wow thanks a lot milomouse! I'll mark this as solved now, that helps me a whole lot smile


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#8 2009-12-10 05:53:01

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [SOLVED]Uzbl's Shift + F doesn't work like Vimperators f command does

You're mighty welcome! big_smile I've been messing around and I got a few bindings for opening windows. First I had to change the value of toggle_zoom_type from @bind T, to @bind + (or whatever you want that's not currently used). Then I did:

@bind o<open:>_ = uri %s
@bind O<open:\@uri>_ = uri %s 
@bind t<tabopen:>_ = sh 'exec uzbl-browser --uri %s'
@bind T<tabopen:\@uri>_ = sh 'exec uzbl-browser --uri %s'

This is to get the functionality of Vimperator's page opening. Of course you can change the name of "open" to "uri" and "tabopen" to "winopen" or whatever. I was just following the Vimperator theme. I believe there's already bindings for opening window with Primary and Clipboard selections so I won't get into that.

o loads current buffer with whatever typed uri you want
O loads current buffer with current uri already in it
t opens a new "tab" (window in this case) with whatever typed uri you want
T opens a new 'tab" (window in this case) with the current uri already in it

Anyway, this is just some experimenting with binds, and since this is [Solved], I'll see ya later!

Last edited by milomouse (2009-12-10 05:54:52)

Offline

Board footer

Powered by FluxBB