/ Published in: Bash
Paste the contents of this into the file ~/.vimrc and you'll be able to redefine colours as you see fit. This also sets the background to be a default colourscheme of 'dark', with a tabstop of 4. Note that " is used for comments.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
set background=dark set tabstop=4 syntax on " Determine terminal type let term=$TERM if term != "linux" colorscheme evening " Set colors for none linux (console) term "hi Comment ctermfg=DarkBlue guifg=Blue "hi Statement ctermfg=DarkRed guifg=Brown "hi Identifier ctermfg=Blue guifg=DarkCyan "hi PreProc ctermfg=Magenta guifg=Purple "hi Constant ctermfg=Black guifg=Magenta "hi Special ctermfg=DarkMagenta guifg=SlateBlue "hi Type ctermfg=DarkCyan guifg=SeaGreen "hi Ignore ctermfg=Gray guifg=bg hi Comment ctermfg=DarkGreen guifg=Green endif