1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00

Small fix for gui version of vim

This commit is contained in:
2011-07-05 05:51:34 +02:00
parent fdca6a6099
commit cee4b56a82

7
.vimrc
View File

@@ -101,7 +101,7 @@ elseif $TERM == 'screen' || $TERM == 'screen-256color'
set t_kN=[6;*~ set t_kN=[6;*~
set t_kP=[5;*~ set t_kP=[5;*~
endif endif
if $TERM == 'linux' if $TERM == 'linux' && !has("gui_running")
"For term like linux terminal keep interface simple "For term like linux terminal keep interface simple
set nolist set nolist
set nocursorline set nocursorline
@@ -317,7 +317,6 @@ endfunction
"}}} "}}}
" GUI: detect graphics mode, set colorscheme {{{ " GUI: detect graphics mode, set colorscheme {{{
colorscheme wombat256grf
if has('gui_running') if has('gui_running')
"set guifont=Consolas\ 12 "I like this font, but it looks like crap on linux "set guifont=Consolas\ 12 "I like this font, but it looks like crap on linux
"set guifont=Consolas\ 13 "Let's try again "set guifont=Consolas\ 13 "Let's try again
@@ -331,7 +330,9 @@ if has('gui_running')
nmenu 666 PopUp.&Open\ in\ browser :call OpenInFirefox()<cr> nmenu 666 PopUp.&Open\ in\ browser :call OpenInFirefox()<cr>
"Turn off annoying beep "Turn off annoying beep
au GUIEnter * set vb t_vb= au GUIEnter * set vb t_vb=
elseif $TERM == 'linux' endif
colorscheme wombat256grf
if $TERM == 'linux' && !has('gui_running')
" fallback to basic 8-color colorscheme " fallback to basic 8-color colorscheme
colorscheme pablo colorscheme pablo
endif endif