My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rtv.cfg 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. [rtv]
  2. ##################
  3. # General Settings
  4. ##################
  5. ; Turn on ascii-only mode to disable all unicode characters.
  6. ; This may be necessary for compatibility with some terminal browsers.
  7. ascii = False
  8. ; Turn on monochrome mode to disable color.
  9. monochrome = False
  10. ; Enable debugging by logging all HTTP requests and errors to the given file.
  11. ;log = /tmp/rtv.log
  12. ; Default subreddit that will be opened when the program launches.
  13. subreddit = front
  14. ;subreddit = python
  15. ;subreddit = python+linux+programming
  16. ;subreddit = all
  17. ; Allow rtv to store reddit authentication credentials between sessions.
  18. persistent = True
  19. ; Clear any stored credentials when the program starts.
  20. clear_auth = False
  21. ; Maximum number of opened links that will be saved in the history file.
  22. history_size = 200
  23. ; Open external links using programs defined in the mailcap config.
  24. enable_media = True
  25. ; Maximum number of columns for a comment
  26. max_comment_cols = 120
  27. ; Hide username if logged in, display "Logged in" instead
  28. hide_username = False
  29. ################
  30. # OAuth Settings
  31. ################
  32. ; These settings are defined at https://www.reddit.com/prefs/apps and should
  33. ; not be altered unless you are defining your own developer application.
  34. oauth_client_id = E2oEtRQfdfAfNQ
  35. oauth_client_secret = praw_gapfill
  36. oauth_redirect_uri = http://127.0.0.1:65000/
  37. ; Port that the rtv webserver will listen on. This should match the redirect
  38. ; uri defined above.
  39. oauth_redirect_port = 65000
  40. ; Access permissions that will be requested.
  41. oauth_scope = edit,history,identity,mysubreddits,privatemessages,read,report,save,submit,subscribe,vote
  42. ; imgur api key
  43. imgur_client_id = 93396265f59dec9
  44. [bindings]
  45. ##############
  46. # Key Bindings
  47. ##############
  48. ; https://en.wikipedia.org/wiki/ASCII#ASCII_printable_code_chart
  49. ; https://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart
  50. ; https://docs.python.org/2/library/curses.html#constants
  51. ; Base page
  52. EXIT = q
  53. FORCE_EXIT = Q
  54. HELP = ?
  55. SORT_HOT = 1
  56. SORT_TOP = 2
  57. SORT_RISING = 3
  58. SORT_NEW = 4
  59. SORT_CONTROVERSIAL = 5
  60. MOVE_UP = k, <KEY_UP>
  61. MOVE_DOWN = j, <KEY_DOWN>
  62. PAGE_UP = m, <KEY_PPAGE>, <NAK>
  63. PAGE_DOWN = n, <KEY_NPAGE>, <EOT>
  64. PAGE_TOP = gg
  65. PAGE_BOTTOM = G
  66. UPVOTE = a
  67. DOWNVOTE = z
  68. LOGIN = u
  69. DELETE = d
  70. EDIT = e
  71. INBOX = i
  72. REFRESH = r, <KEY_F5>
  73. PROMPT = /
  74. SAVE = w
  75. COPY_PERMALINK = y
  76. COPY_URL = Y
  77. ; Submission page
  78. SUBMISSION_TOGGLE_COMMENT = 0x20
  79. SUBMISSION_OPEN_IN_BROWSER = o, <LF>, <KEY_ENTER>
  80. SUBMISSION_POST = c
  81. SUBMISSION_EXIT = h, <KEY_LEFT>
  82. SUBMISSION_OPEN_IN_PAGER = l, <KEY_RIGHT>
  83. SUBMISSION_OPEN_IN_URLVIEWER = b
  84. SUBMISSION_GOTO_PARENT = K
  85. SUBMISSION_GOTO_SIBLING = J
  86. ; Subreddit page
  87. SUBREDDIT_SEARCH = f
  88. SUBREDDIT_POST = c
  89. SUBREDDIT_OPEN = l, <KEY_RIGHT>
  90. SUBREDDIT_OPEN_IN_BROWSER = o, <LF>, <KEY_ENTER>
  91. SUBREDDIT_OPEN_SUBSCRIPTIONS = s
  92. SUBREDDIT_OPEN_MULTIREDDITS = S
  93. SUBREDDIT_FRONTPAGE = p
  94. ; Subscription page
  95. SUBSCRIPTION_SELECT = l, <LF>, <KEY_ENTER>, <KEY_RIGHT>
  96. SUBSCRIPTION_EXIT = h, s, S, <ESC>, <KEY_LEFT>