patx/twig

add website

Commit fe92f80 · harrison erd · 2026-06-13T19:41:20-04:00

Changeset
fe92f802ac7977a1539e4c1334c3ff58728c95fd
Parents
0821316555762b5bda805f76b587b8cb934df9ea

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..1e91829
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,37 @@
+<html>
+<head>
+<title>Twig - Ultra minimal code editor for MacOS and Linux</title>
+</head>
+<body>
+<img src="https://patx.gitman.io/twig/logo.png">
+<h1>Twig is an ultra minimal code editor for MacOS and Linux</h1>
+<p>Twig is a small GTK code editor intended for lightweight Linux desktops such as CrunchBang++.
+It focuses on the basics: one file per window, open/save, syntax highlighting, line numbers,
+find/replace, undo/redo, dirty indicators, and auto-indent.</p>
+<img src="https://patx.gitman.io/twig/screenshot.png">
+<h2>Keybindings</h2>
+<p>Twig intentionally has no toolbar or menu bar. Use these keyboard shortcuts:</p>
+<code>Ctrl+N or Ctrl+T</code> Open a new empty editor window<br>
+<code>Ctrl+O</code> Open one or more files<br>
+<code>Ctrl+S</code>	Save the current file<br>
+<code>Ctrl+Shift+S</code> Save the current file as a new path<br>
+<code>Ctrl+W</code> Close the current window<br>
+<code>Ctrl+P</code> Print<br>
+<code>Ctrl+Q</code> Quit Twig, prompting for unsaved files<br>
+<code>Ctrl+Z</code> Undo<br>
+<code>Ctrl+Shift+Z or Ctrl+Y</code> Redo<br>
+<code>Ctrl+X</code> Cut<br>
+<code>Ctrl+C</code> Copy<br>
+<code>Ctrl+V</code> Paste<br>
+<code>Ctrl+A</code> Select all<br>
+<code>Ctrl+F</code> Open or focus Find and Replace<br>
+<code>Ctrl+G</code> Find next match<br>
+<code>Ctrl+Shift+G</code> Find previous match<br>
+<code>Ctrl+H or Ctrl+R</code>	Open Find and Replace with the replace field focused<br>
+<code>Ctrl+J</code>	Jump to line<br>
+<code>Tab with selected lines</code> Indent selected lines with spaces<br>
+<code>Shift+Tab with selected lines</code> Unindent selected lines<br>
+<code>Enter in Find</code> Find next match<br>
+<code>Enter in Replace</code> Replace current match<br>
+</body>
+</html>
\ No newline at end of file
diff --git a/docs/logo.png b/docs/logo.png
new file mode 100644
index 0000000..64599c2
Binary files /dev/null and b/docs/logo.png differ
diff --git a/docs/screenshot.png b/docs/screenshot.png
new file mode 100644
index 0000000..9616ea0
Binary files /dev/null and b/docs/screenshot.png differ