Commit Diff


commit - f2d2d7a162a2dc8ab5737f477fb0c9aab2673566
commit + 2c362f957c25fcd76fa47a249fe1b70c6291b890
blob - e6e22f3cf394a4abff3af9261d718032b2b309ac
blob + 2e61536fdfefacc38df87d13b36666bcb6902713
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,7 @@
+2021-06-24  Omar Polo  <op@omarpolo.com>
+
+	* defaults.c: enable olivetti-mode by default and set fill-mode to 80
+
 2021-06-23  Omar Polo  <op@omarpolo.com>
 
 	* gemtext.c (search_title): fixed a bug where the *last* level 2 or 3 heading would be used as tab title instead of the first one.
blob - 0201ef37baecb1f745a2bb18192eba62d2eadae1
blob + 5104dbaba218bc99c61d754abfe295ae6c4bfe83
--- defaults.c
+++ defaults.c
@@ -22,8 +22,8 @@
 #include <string.h>
 
 char *new_tab_url = NULL;
-int fill_column = INT_MAX;
-int olivetti_mode = 0;
+int fill_column = 80;
+int olivetti_mode = 1;
 int enable_colors = 1;
 
 static struct lineface_descr {
blob - 281e57e54e838ad6ab4613166a9fe860cc696959
blob + c657ae3c3d17a294b348b527e359eb59b1768fe5
--- telescope.1
+++ telescope.1
@@ -486,7 +486,7 @@ is not set, 0 otherwise.
 .Pq integer
 If greater than zero, lines of text will be formatted in a way that
 don't exceed the given number of columns.
-By default is -1.
+By default is 80.
 .It new-tab-url
 .Pq string
 URL for the new tab page.
@@ -497,7 +497,7 @@ By default is
 Enable
 .Ic olivetti-mode
 if non zero.
-By default is 0.
+By default is 1.
 .El
 .It Ic proxy Ar proto Ic via Ar url
 Use
@@ -602,8 +602,7 @@ and loaded on startup.
 .Sh EXAMPLES
 The following is my config file:
 .Bd -literal -offset indent
-set fill-column = 72
-set olivetti-mode = 1
+# ignore the NO_COLOR environment variable
 set enable-colors = 1
 
 style line.item {