{"id":13,"date":"2007-08-17T18:22:41","date_gmt":"2007-08-17T15:22:41","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=13"},"modified":"2007-08-17T18:22:41","modified_gmt":"2007-08-17T15:22:41","slug":"vim-ls-colors-dark-blue-over-black-what-were-they-thinking","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2007\/08\/vim-ls-colors-dark-blue-over-black-what-were-they-thinking\/","title":{"rendered":"vim &amp; ls colors (dark blue over black.. what were they thinking?)"},"content":{"rendered":"<p>I like black backgrounds. Less radiation to the eyes, less energy consumed off earth.. Unfortunately most of the time (Browser, Office) we are forced to use white background. But at least terminals can be made black easily.<\/p>\n<p>The problem with black terminal is the dark blue color, which really hurts to read over black background. The solution:<\/p>\n<ul>\n<li>\/bin\/ls: (I hope you use the --colors alias by default..)<br \/>\nLS_COLORS environment variable should contain di=01;34 (instead of the common di=00;34).<br \/>\nIn Fedora, CentOS it can be easily configured from\u00c2\u00a0 \/etc\/DIR_COLORS.xterm\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 DIR 00;34 -&gt; DIR 01;34<\/li>\n<\/ul>\n<ul>\n<li>Vim: (I hope you don't use another editor..)<br \/>\nadd <em>set bg=dark<\/em> to \/etc\/vim\/vimrc or ~\/.vimrc.<br \/>\nalternatively add <em>colorscheme: &lt;your favorite colorscheme&gt;<\/em>, such as\u00c2\u00a0 <em>evening.<\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I like black backgrounds. Less radiation to the eyes, less energy consumed off earth.. Unfortunately most of the time (Browser, Office) we are forced to use white background. But at least terminals can be made black easily. The problem with black terminal is the dark blue color, which really hurts to read over black background. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[75,14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/13"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}