vimrc: Make background=light on Macintosh.
This commit is contained in:
parent
dca263bc6a
commit
7f959ed497
1 changed files with 7 additions and 1 deletions
8
.vimrc
8
.vimrc
|
|
@ -249,7 +249,13 @@ set ruler
|
||||||
set number
|
set number
|
||||||
"set autoindent
|
"set autoindent
|
||||||
set cursorline
|
set cursorline
|
||||||
"set background=dark
|
|
||||||
|
" I use dark mode on all platforms except for Macintosh.
|
||||||
|
if has('macunix') || has('mac')
|
||||||
|
set background=light
|
||||||
|
else
|
||||||
|
set background=dark
|
||||||
|
endif
|
||||||
|
|
||||||
" For login terminals on Macs
|
" For login terminals on Macs
|
||||||
set shell=bash\ -l
|
set shell=bash\ -l
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue