Introduction
Introduction Statistics Contact Development Disclaimer Help
surf-0.6-chromekeys.diff - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
surf-0.6-chromekeys.diff (3369B)
---
1 diff --git a/config.def.h b/config.def.h
2 index 80a0feb..f8dc533 100644
3 --- a/config.def.h
4 +++ b/config.def.h
5 @@ -71,23 +71,23 @@ static Key keys[] = {
6 { MODKEY, GDK_minus, zoom, { .i = -1 } },
7 { MODKEY, GDK_plus, zoom, { .i = +1 } },
8
9 - { MODKEY, GDK_l, navigate, { .i = +1 } },
10 - { MODKEY, GDK_h, navigate, { .i = -1 } },
11 + { MODKEY, GDK_i, navigate, { .i = +1 } },
12 + { MODKEY, GDK_o, navigate, { .i = -1 } },
13
14 { MODKEY, GDK_j, scroll_v, { .i = +1 } },
15 { MODKEY, GDK_k, scroll_v, { .i = -1 } },
16 { MODKEY, GDK_b, scroll_v, { .i = -10000 } },
17 + { MODKEY, GDK_f, scroll_v, { .i = +10000 } },
18 { MODKEY, GDK_space, scroll_v, { .i = +10000 } },
19 - { MODKEY, GDK_i, scroll_h, { .i = +1 } },
20 - { MODKEY, GDK_u, scroll_h, { .i = -1 } },
21 + { MODKEY, GDK_l, scroll_h, { .i = +1 } },
22 + { MODKEY, GDK_h, scroll_h, { .i = -1 } },
23
24 { 0, GDK_F11, fullscreen, { 0 } },
25 { 0, GDK_Escape, stop, { 0 } },
26 - { MODKEY, GDK_o, source, { 0 } },
27 - { MODKEY|GDK_SHIFT_MASK,GDK_o, inspector, { 0 } },
28 + { MODKEY, GDK_u, source, { 0 } },
29 + { MODKEY|GDK_SHIFT_MASK,GDK_u, inspector, { 0 } },
30
31 { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI"…
32 - { MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND…
33 { MODKEY, GDK_slash, spawn, SETPROP("_SURF_FIND…
34
35 { MODKEY, GDK_n, find, { .b = TRUE } },
36 diff --git a/surf.1 b/surf.1
37 index 1530ec6..8d1caf4 100644
38 --- a/surf.1
39 +++ b/surf.1
40 @@ -114,10 +114,10 @@ which surf should use.
41 .B Escape
42 Stops loading current page or stops download.
43 .TP
44 -.B Ctrl\-h
45 +.B Ctrl\-o
46 Walks back the history.
47 .TP
48 -.B Ctrl\-l
49 +.B Ctrl\-i
50 Walks forward the history.
51 .TP
52 .B Ctrl\-k
53 @@ -126,17 +126,20 @@ Scrolls page upwards.
54 .B Ctrl\-j
55 Scrolls page downwards.
56 .TP
57 +.B Ctrl\-h
58 +Scroll horizontally to the left.
59 +.TP
60 +.B Ctrl\-l
61 +Scroll horizontally to the right.
62 +.TP
63 .B Ctrl\-b
64 Scroll up one whole page view.
65 .TP
66 -.B Ctrl\-Space
67 +.B Ctrl\-f or Ctrl\-Space
68 Scroll down one whole page view.
69 .TP
70 -.B Ctrl\-i
71 -Scroll horizontally to the right.
72 -.TP
73 .B Ctrl\-u
74 -Scroll horizontally to the left.
75 +Show the sourcecode of the current page.
76 .TP
77 .B Ctrl\-Shift\-k or Ctrl\-+
78 Zooms page in.
79 @@ -147,7 +150,7 @@ Zooms page out
80 .B Ctrl\-Shift\-q
81 Resets Zoom
82 .TP
83 -.B Ctrl\-f and Ctrl\-\e
84 +.B Ctrl\-/
85 Opens the search-bar.
86 .TP
87 .B Ctrl\-n
88 @@ -174,9 +177,6 @@ Reloads the website without using the cache.
89 .B Ctrl\-y
90 Copies current URI to primary selection.
91 .TP
92 -.B Ctrl\-o
93 -Show the sourcecode of the current page.
94 -.TP
95 .B Ctrl\-Shift\-a
96 Toggle through the the
97 .I cookie policies.
98 @@ -196,7 +196,7 @@ Toggle if the
99 .I stylefile
100 file should be loaded. This will reload the page.
101 .TP
102 -.B Ctrl\-Shift\-o
103 +.B Ctrl\-Shift\-u
104 Open the Web Inspector (Developer Tools) window for the current page.
105 .TP
106 .B Ctrl\-Shift\-s
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.