Skip to content

Commit 3135a17

Browse files
update docs
feature descriptions in keybinds, spelling, windows instructions
1 parent 2d28150 commit 3135a17

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

doc/sphinx/source/configuration-options.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ There are three modes for autocomplete. simple, substring, and fuzzy. Simple
1919
matches methods with a common prefix, substring matches methods with a common
2020
subsequence, and fuzzy matches methods with common characters (default: simple).
2121

22+
As of version 0.14 this option has no effect, but is reserved for later use.
23+
2224
.. versionadded:: 0.12
2325

2426
.. _configuration_color_scheme:
@@ -43,17 +45,19 @@ If set to 0, automatic dedenting never occurs.
4345

4446
editor
4547
^^^^^^
46-
Editor for externally editing the current line.
48+
Editor for externally editing the current line, session, or config file.
4749

4850
.. versionadded:: 0.13
4951

5052
flush_output
5153
^^^^^^^^^^^^
5254
Whether to flush all output to stdout on exit (default: True).
5355

56+
Only relevant to bpython-curses and bpython-urwid.
57+
5458
highlight_show_source
5559
^^^^^^^^^^^^^^^^^^^^^
56-
Whether the source code of an object should be highlighted (default: True).
60+
Whether the source code of an object should be syntax highlighted (default: True).
5761

5862
hist_duplicates
5963
^^^^^^^^^^^^^^^
@@ -69,7 +73,7 @@ Number of lines to store in history (set to 0 to disable) (default: 100).
6973

7074
paste_time
7175
^^^^^^^^^^
72-
The time between lines before pastemode is activated in seconds (default: 0.02).
76+
The time between keypresses before pastemode is deactivated in bpython-curses (default: 0.02).
7377

7478
pastebin_confirm
7579
^^^^^^^^^^^^^^^^
@@ -195,7 +199,7 @@ telling you the key does not exist in bpython.keys.
195199

196200
Valid keys are:
197201

198-
* Control + any alphanumeric character (C-a through A-z, also a few others).
202+
* Control + any alphanumeric character (C-a through C-z, also a few others).
199203
* Any function key ranging from F1 to F12.
200204

201205
backspace
@@ -236,7 +240,7 @@ copy_clipboard
236240
^^^^^^^^^^^^^^
237241
Default: F10
238242

239-
Copy to clipboard.
243+
Copy the entire session to clipboard.
240244

241245
.. versionadded:: 0.14
242246

@@ -292,7 +296,7 @@ external_editor
292296
^^^^^^^^^^^^^^^
293297
Default: F7
294298

295-
Edit current line in an external editor.
299+
Edit the entire session in an external editor.
296300

297301
.. versionadded:: 0.13
298302

@@ -308,7 +312,7 @@ last_output
308312
^^^^^^^^^^^
309313
Default: F9
310314

311-
Shows the last output in the systems $PAGER.
315+
Shows the last output in the systems $PAGER. Only works in bpython-curses.
312316

313317
left
314318
^^^^

doc/sphinx/source/configuration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ You can edit the config file by pressing F3 (default). If a config file does not
66
exist you will asked if you would like to create a file. By default it will be
77
saved to ``$XDG_CONFIG_HOME/.config/bpython/config`` [#f1]_.
88

9+
.. include:: configuration-options.rst
10+
911
.. :: Footnotes
1012
.. [#f1] ``$XDG_CONFIG_HOME`` defaults to ``~/.config`` if not set.
11-
.. include:: configuration-options.rst

doc/sphinx/source/themes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Themes
44
======
5-
This chapter is about bpython's themeing capabalities.
5+
This chapter is about bpython's theming capabalities.
66

77
bpython uses .theme files placed in your ``$XDG_CONFIG_HOME/bpython`` directory
88
[#f1]_. You can set the theme in the :ref:`configuration_color_scheme` option

doc/sphinx/source/windows.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ we plan on providing in the future).
1111
The easiest way to get `bpython.cli` (the curses frontend running) is to install
1212
an unofficial windows binary for pdcurses from:
1313
http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses. After this you can just
14-
`pip install bpython` and run bpython like you would on a Linux system (e.g.
15-
by typing `bpython` on your prompt).
14+
`pip install bpython` and run bpython curses frontend like you would on a Linux
15+
system (e.g. by typing `bpython-curses` on your prompt).

0 commit comments

Comments
 (0)