marionez Posted March 24, 2009 Share Posted March 24, 2009 I've been using vim for years on linux OSs so when I tried OSx I noticed that something in vim profile was wrong. I use syntax highlighting. - cursor position row and column was missing in vim - if you set Terminal in Pro profile, you get a dark background, in this situation dark blue highlighting is unreadable So the solution to both problem is, create a file called .vimrc in your home user profile directory, with this: highlight comment ctermfg=green guifg=green syntax on highlight Type ctermfg=DarkMagenta highlight Comment ctermfg=DarkGreen set laststatus=2 set ruler Setting those colors you workaround the setbackground=dark option that doesn't work well here, I still obtain some dark blue highlighting, don't know why, and you finally get your cursor coordinates on bottom right There are some problem even with bash Terminal, I solved by creating a file in my home directory .profile with this: export LSCOLORS=gxfxcxdxbxegedabagacad Close Terminal.app from dock and restart it. Now you can read bash and vim on dark background! Link to comment https://www.insanelymac.com/forum/topic/158924-terminal-and-vim-colors-on-dark-background-with-pro-profile/ Share on other sites More sharing options...
Recommended Posts