From 69fa10952ab31f16db8ceba59186564bb91b0f0c Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 15 Feb 2015 00:03:26 +0100 Subject: slight uzbl fixes --- config/uzbl/config | 21 +++++++++++++++++---- config/uzbl/scripts/gonew.pl | 4 ++-- 2 files changed, 19 insertions(+), 6 deletions(-) (limited to 'config/uzbl') diff --git a/config/uzbl/config b/config/uzbl/config index c69255e..ded6bf2 100644 --- a/config/uzbl/config +++ b/config/uzbl/config @@ -295,7 +295,7 @@ set ebind = @mode_bind global,-insert # Appearance binds #@cbind t = toggle show_status -@cbind t_ = spawn /home/vasko/.config/uzbl/scripts/gonew.pl %s +@cbind t_ = spawn /home/vasko/.config/uzbl/scripts/gonew.pl %s # Page searching binds @@ -311,7 +311,7 @@ set ebind = @mode_bind global,-insert # Web searching binds @cbind d_ = uri http://www.google.com/search?q=\@\@ #@cbind dg_ = uri http://duckduckgo.com/?q=%s -@cbind \\awiki_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@\@&go=Go +@cbind a_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@\@&go=Go @cbind \\wiki_ = uri http://en.wikipedia.org/w/index.php?title=Special:Search&search=\@\@&go=Go # Handy binds @@ -320,6 +320,7 @@ set ebind = @mode_bind global,-insert # Exit binding @cbind ZZ = exit @cbind :wq = exit +@cbind :_ = %s # Dump config to stdout @cbind !dump = sh 'echo dump_config > "$UZBL_FIFO"' # Reload all variables in the config @@ -423,8 +424,20 @@ set formfiller = spawn @scripts_dir/formfiller.sh # Tab opening @cbind gn = event NEW_TAB @cbind gN = event NEW_TAB_NEXT -@cbind go_ = event NEW_TAB %s -@cbind gO_ = event NEW_TAB_NEXT %s +#@cbind go_ = event NEW_TAB %s +#@cbind gO_ = event NEW_TAB_NEXT %s +@cbind gop = uri https://sites.google.com/a/skola.malmo.se/ib12-physics-hl/ +@cbind gob = uri https://sites.google.com/a/skola.malmo.se/ib12slbio/ +@cbind goc = uri https://sites.google.com/a/skola.malmo.se/hl-chemistry-ib12/ +@cbind goe = uri https://sites.google.com/a/skola.malmo.se/langlit-ib12/ +@cbind gos = uri https://sites.google.com/a/skola.malmo.se/swedish-b-ib12/ +@cbind got = uri https://sites.google.com/a/skola.malmo.se/wrtok/ +@cbind gom = uri https://sites.google.com/a/skola.malmo.se/ib-maths-hl/ +@cbind goo = uri http://organizer.eu5.org/ +@cbind goh = uri https://vaskozl.no-ip.biz/ +@cbind gog = uri https://www.gmail.com/ +@cbind gof = uri https://www.facebook.com/ +@cbind go9 = uri https://www.9gag.com/ # Closing / resting @cbind x = exit diff --git a/config/uzbl/scripts/gonew.pl b/config/uzbl/scripts/gonew.pl index 480dc4f..aab4344 100755 --- a/config/uzbl/scripts/gonew.pl +++ b/config/uzbl/scripts/gonew.pl @@ -8,9 +8,9 @@ my $fifo = $ENV{'UZBL_FIFO'}; if (index(@cmd[0], '.') == -1 || scalar @cmd > 1) { # Replace this with your search engine - qx(echo "event new_tab http://www.google.com/search?q=@ARGV" > $fifo); + qx(uzbl-browser --uri "http://www.google.com/search?q=@ARGV"); } else { - qx(echo "event new_tab @cmd" > $fifo); + qx(uzbl-browser --uri @cmd"); } -- cgit v1.2.3-54-g00ecf From c2f1f3a12958892f3cba6834edf4736619a06abf Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 15 Feb 2015 00:04:39 +0100 Subject: uzbl fixes --- config/uzbl/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/uzbl') diff --git a/config/uzbl/config b/config/uzbl/config index ded6bf2..c83ccd9 100644 --- a/config/uzbl/config +++ b/config/uzbl/config @@ -261,8 +261,8 @@ set ebind = @mode_bind global,-insert # Page movement binds @cbind j = scroll vertical 20 @cbind k = scroll vertical -20 -@cbind H = scroll horizontal -20 -@cbind L = scroll horizontal 20 +@cbind h = scroll horizontal -20 +@cbind l = scroll horizontal 20 @cbind = scroll vertical -100% @cbind = scroll vertical 100% @cbind f = scroll vertical 100% @@ -446,8 +446,8 @@ set formfiller = spawn @scripts_dir/formfiller.sh # Tab navigating @cbind g< = event FIRST_TAB @cbind g> = event LAST_TAB -@cbind l = event NEXT_TAB -@cbind h = event PREV_TAB +@cbind gt = event NEXT_TAB +@cbind gT = event PREV_TAB @cbind gi_ = event GOTO_TAB %s # Preset loading -- cgit v1.2.3-54-g00ecf