Add a note about layouts

This commit is contained in:
Kovid Goyal 2016-12-11 09:48:52 +05:30
parent 4326c49320
commit 430c79d515

View File

@ -41,9 +41,6 @@
image::https://travis-ci.org/kovidgoyal/kitty.svg?branch=master[Build status, link=https://travis-ci.org/kovidgoyal/kitty]
.Major features
* Uses OpenGL+FreeType for rendering, does not depend on any GUI
toolkits.
* Supports tiling multiple terminal windows side by side in different
layouts without needing to use an extra program like tmux
@ -53,13 +50,14 @@ protocol, focus tracking, bracketed paste and so on.
* Allows you to view the scrollback buffer in a separate window
using your favorite pager program such as less
* Support startup sessions which allow you to specify the window/tab layout,
working directories and programs to run on startup.
* Easily hackable (UI layer written in python, inner loops in C for
speed). Less than ten thousand lines of code.
* Rendering of text is done in an actual character grid, so the common
problems with most Terminals when using wide characters/complex scripts
do not occur. The downside is that scripts with complex glyph layout,
such as Arabic do not render well.
* Uses OpenGL+FreeType for rendering, does not depend on any GUI
toolkits.
toc::[]
@ -193,6 +191,20 @@ You can double click to select a word and triple click to select a line. You can
hold down `ctrl+shift` and click on a URL to open it in a browser.
== Layouts
Currently, there are two layouts available,
* Stack -- Only a single maximized window is shown at a time
* Tall -- One window is shown full height on the left, the rest of the windows are shown one below the other on the right.
You can switch between layouts using the {sc_next_layout} key combination.
Writing a new layout only requires about thirty lines of code, so if there is
some layout you want, take a look at link:kitty/layout.py[layout.py] and submit
a pull request!
== Configuration
kitty is highly customizable, everything from keyboard shortcuts, to