Re-org diff kitten docs

Move the auto-generated bits to the end
This commit is contained in:
Kovid Goyal 2018-06-15 14:31:13 +05:30
parent fe3b10a8fb
commit 07bd371e21
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -89,19 +89,6 @@ Scroll to previous match :kbd:`<, ,`
========================= =========================== ========================= ===========================
Configuration
------------------------
You can configure the colors used, keyboard shortcuts, the diff implementation,
the default lines of context, etc. by creating a :file:`diff.conf` file in
your :ref:`kitty config folder <confloc>`. See below for the supported
configuration directives.
.. include:: /generated/conf-kitten-diff.rst
Integrating with git Integrating with git
----------------------- -----------------------
@ -126,11 +113,6 @@ Now to use kitty-diff to view git diffs, you can simply do::
Once again, creating an alias for this command is useful. Once again, creating an alias for this command is useful.
Command Line Interface
-------------------------
.. include:: /generated/cli-kitten-diff.rst
Why does this work only in kitty? Why does this work only in kitty?
---------------------------------------- ----------------------------------------
@ -146,6 +128,26 @@ And fundamentally, it's kitty only because I wrote it for myself, and I am
highly unlikely to use any other terminals :) highly unlikely to use any other terminals :)
Configuration
------------------------
You can configure the colors used, keyboard shortcuts, the diff implementation,
the default lines of context, etc. by creating a :file:`diff.conf` file in
your :ref:`kitty config folder <confloc>`. See below for the supported
configuration directives.
.. include:: /generated/conf-kitten-diff.rst
Command Line Interface
-------------------------
.. include:: /generated/cli-kitten-diff.rst
Sample diff.conf Sample diff.conf
----------------- -----------------