[vim]different color for gui

This commit is contained in:
Mathieu Maret 2015-12-07 12:05:58 +01:00
parent 4f7dbfbaf5
commit e705b0946c
1 changed files with 6 additions and 2 deletions

8
.vimrc
View File

@ -249,7 +249,7 @@ function! TagInNewTab()
execute 'tag ' . word
endfunction
nmap <S-Enter> :call TagInNewTab()<CR>
map <S-CR> :call TagInNewTab()<CR>
"""""""""
" PASTE "
@ -395,7 +395,11 @@ let g:tex_flavor = "pdflatex"
imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine
let g:Tex_DefaultTargetFormat="pdf"
colorscheme mycolor
if has('gui_running')
colorscheme darkblue
else
colorscheme mycolor
endif
cnoremap sudow w !sudo tee % >/dev/null
"""""""""""