diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/rtv/rtv.cfg | 162 |
1 files changed, 0 insertions, 162 deletions
diff --git a/.config/rtv/rtv.cfg b/.config/rtv/rtv.cfg deleted file mode 100644 index 96e9029..0000000 --- a/.config/rtv/rtv.cfg +++ /dev/null | |||
@@ -1,162 +0,0 @@ | |||
1 | ; Reddit Terminal Viewer Configuration File | ||
2 | ; https://github.com/michael-lazar/rtv | ||
3 | ; | ||
4 | ; This file should be placed in $XDG_CONFIG/rtv/rtv.cfg | ||
5 | ; If $XDG_CONFIG is not set, use ~/.config/rtv/rtv.cfg | ||
6 | |||
7 | [rtv] | ||
8 | ################## | ||
9 | # General Settings | ||
10 | ################## | ||
11 | |||
12 | ; Turn on ascii-only mode to disable all unicode characters. | ||
13 | ; This may be necessary for compatibility with some terminal browsers. | ||
14 | ascii = False | ||
15 | |||
16 | ; Turn on monochrome mode to disable color. | ||
17 | monochrome = False | ||
18 | |||
19 | ; Flash when an invalid action is executed. | ||
20 | flash = False | ||
21 | |||
22 | ; Enable debugging by logging all HTTP requests and errors to the given file. | ||
23 | ;log = /tmp/rtv.log | ||
24 | |||
25 | ; Default subreddit that will be opened when the program launches. | ||
26 | subreddit = front | ||
27 | ;subreddit = python | ||
28 | ;subreddit = python+linux+programming | ||
29 | ;subreddit = all | ||
30 | |||
31 | ; Allow rtv to store reddit authentication credentials between sessions. | ||
32 | persistent = True | ||
33 | |||
34 | ; Clear any stored credentials when the program starts. | ||
35 | clear_auth = False | ||
36 | |||
37 | ; Maximum number of opened links that will be saved in the history file. | ||
38 | history_size = 200 | ||
39 | |||
40 | ; Open external links using programs defined in the mailcap config. | ||
41 | enable_media = False | ||
42 | |||
43 | ; Maximum number of columns for a comment | ||
44 | max_comment_cols = 120 | ||
45 | |||
46 | ; Hide username if logged in, display "Logged in" instead | ||
47 | hide_username = False | ||
48 | |||
49 | ; Color theme, use "rtv --list-themes" to view a list of valid options. | ||
50 | ; This can be an absolute filepath, or the name of a theme file that has | ||
51 | ; been installed into either the custom of default theme paths. | ||
52 | ;theme = molokai | ||
53 | |||
54 | ################ | ||
55 | # OAuth Settings | ||
56 | ################ | ||
57 | ; This sections defines the paramaters that will be used during the OAuth | ||
58 | ; authentication process. rtv is registered as an "installed app", | ||
59 | ; see https://github.com/reddit/reddit/wiki/OAuth2 for more information. | ||
60 | |||
61 | ; These settings are defined at https://www.reddit.com/prefs/apps and should | ||
62 | ; not be altered unless you are defining your own developer application. | ||
63 | oauth_client_id = E2oEtRQfdfAfNQ | ||
64 | oauth_client_secret = praw_gapfill | ||
65 | oauth_redirect_uri = http://127.0.0.1:65000/ | ||
66 | |||
67 | ; Port that the rtv webserver will listen on. This should match the redirect | ||
68 | ; uri defined above. | ||
69 | oauth_redirect_port = 65000 | ||
70 | |||
71 | ; Access permissions that will be requested. | ||
72 | oauth_scope = edit,history,identity,mysubreddits,privatemessages,read,report,save,submit,subscribe,vote | ||
73 | |||
74 | ; This is a separate token for the imgur api. It's used to extract images | ||
75 | ; from imgur links and albums so they can be opened with mailcap. | ||
76 | ; See https://imgur.com/account/settings/apps to generate your own key. | ||
77 | imgur_client_id = 93396265f59dec9 | ||
78 | |||
79 | [bindings] | ||
80 | ############## | ||
81 | # Key Bindings | ||
82 | ############## | ||
83 | ; If you would like to define custom bindings, copy this section into your | ||
84 | ; config file with the [bindings] heading. All commands must be bound to at | ||
85 | ; least one key for the config to be valid. | ||
86 | ; | ||
87 | ; 1.) Plain keys can be represented by either uppercase/lowercase characters | ||
88 | ; or the hexadecimal numbers referring their ascii codes. For reference, see | ||
89 | ; https://en.wikipedia.org/wiki/ASCII#ASCII_printable_code_chart | ||
90 | ; e.g. Q, q, 1, ? | ||
91 | ; e.g. 0x20 (space), 0x3c (less-than sign) | ||
92 | ; | ||
93 | ; 2.) Special ascii control codes should be surrounded with <>. For reference, | ||
94 | ; see https://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart | ||
95 | ; e.g. <LF> (enter), <ESC> (escape) | ||
96 | ; | ||
97 | ; 3.) Other special keys are defined by curses, they should be surrounded by <> | ||
98 | ; and prefixed with KEY_. For reference, see | ||
99 | ; https://docs.python.org/2/library/curses.html#constants | ||
100 | ; e.g. <KEY_LEFT> (left arrow), <KEY_F5>, <KEY_NPAGE> (page down) | ||
101 | ; | ||
102 | ; Notes: | ||
103 | ; - Curses <KEY_ENTER> is unreliable and should always be used in conjunction | ||
104 | ; with <LF>. | ||
105 | ; - Use 0x20 for the space key. | ||
106 | ; - A subset of Ctrl modifiers are available through the ascii control codes. | ||
107 | ; For example, Ctrl-D will trigger an <EOT> signal. See the table above for | ||
108 | ; a complete reference. | ||
109 | |||
110 | ; Base page | ||
111 | EXIT = q | ||
112 | FORCE_EXIT = Q | ||
113 | HELP = ? | ||
114 | SORT_HOT = 1 | ||
115 | SORT_TOP = 2 | ||
116 | SORT_RISING = 3 | ||
117 | SORT_NEW = 4 | ||
118 | SORT_CONTROVERSIAL = 5 | ||
119 | SORT_GILDED = 6 | ||
120 | MOVE_UP = k, <KEY_UP> | ||
121 | MOVE_DOWN = j, <KEY_DOWN> | ||
122 | PREVIOUS_THEME = <KEY_F2> | ||
123 | NEXT_THEME = <KEY_F3> | ||
124 | PAGE_UP = m, <KEY_PPAGE>, <NAK> | ||
125 | PAGE_DOWN = n, <KEY_NPAGE>, <EOT> | ||
126 | PAGE_TOP = gg | ||
127 | PAGE_BOTTOM = G | ||
128 | UPVOTE = a | ||
129 | DOWNVOTE = z | ||
130 | LOGIN = u | ||
131 | DELETE = d | ||
132 | EDIT = e | ||
133 | INBOX = i | ||
134 | REFRESH = r, <KEY_F5> | ||
135 | PROMPT = / | ||
136 | SAVE = w | ||
137 | COPY_PERMALINK = y | ||
138 | COPY_URL = Y | ||
139 | |||
140 | ; Submission page | ||
141 | SUBMISSION_TOGGLE_COMMENT = 0x20 | ||
142 | SUBMISSION_OPEN_IN_BROWSER = o, <LF>, <KEY_ENTER> | ||
143 | SUBMISSION_POST = c | ||
144 | SUBMISSION_EXIT = h, <KEY_LEFT> | ||
145 | SUBMISSION_OPEN_IN_PAGER = l, <KEY_RIGHT> | ||
146 | SUBMISSION_OPEN_IN_URLVIEWER = b | ||
147 | SUBMISSION_GOTO_PARENT = K | ||
148 | SUBMISSION_GOTO_SIBLING = J | ||
149 | |||
150 | ; Subreddit page | ||
151 | SUBREDDIT_SEARCH = f | ||
152 | SUBREDDIT_POST = c | ||
153 | SUBREDDIT_OPEN = l, <KEY_RIGHT> | ||
154 | SUBREDDIT_OPEN_IN_BROWSER = o, <LF>, <KEY_ENTER> | ||
155 | SUBREDDIT_OPEN_SUBSCRIPTIONS = s | ||
156 | SUBREDDIT_OPEN_MULTIREDDITS = S | ||
157 | SUBREDDIT_FRONTPAGE = p | ||
158 | SUBREDDIT_HIDE = 0x20 | ||
159 | |||
160 | ; Subscription page | ||
161 | SUBSCRIPTION_SELECT = l, <LF>, <KEY_ENTER>, <KEY_RIGHT> | ||
162 | SUBSCRIPTION_EXIT = h, s, S, <ESC>, <KEY_LEFT> | ||