From 47e8255b4da51d2ca74e6e5448a33b2b7857da35 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Tue, 17 Nov 2020 11:24:43 +0100 Subject: [PATCH 1/2] Default to dark background --- .znewterm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.znewterm b/.znewterm index 0e45ddc..fd05948 100644 --- a/.znewterm +++ b/.znewterm @@ -66,7 +66,7 @@ then then . ~/.zxtermcolors else - perl -e 'printf(qq{if whence xtermcontrol >/dev/null\nthen\nxtermcontrol --bg "#%02X%02X%02X" --fg "#000000"\nexport BG=light\nfi\n}, map { rand(128)+128 } qw(1 1 1))' > ~/.zxtermcolors + perl -e 'printf(qq{if whence xtermcontrol >/dev/null\nthen\nxtermcontrol --bg "#%02X%02X%02X" --fg "#CCCCCC"\nexport BG=dark\nfi\n}, map { rand(128) } qw(1 1 1))' > ~/.zxtermcolors fi fi From 399e4a00f3eb08ec195d3caa96b8918e7e68e337 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Fri, 29 Jan 2021 16:02:37 +0100 Subject: [PATCH 2/2] Set default text width for Python to 79 --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index a28f8b4..ca5df6f 100644 --- a/.vimrc +++ b/.vimrc @@ -53,3 +53,5 @@ autocmd FileType crontab set tw=0 autocmd BufRead,BufNewFile redmine*.txt set filetype=textile autocmd FileType textile set tw=0 linebreak + +autocmd FileType python set tw=79