commit 29f5db0b7977cd4b50269ca99d4c1e35d89c5ccc
parent 3417ba6bb4f7c2a283602bbe50a6fd7d266451bc
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 10 Apr 2026 14:10:59 +0530
parent 3417ba6bb4f7c2a283602bbe50a6fd7d266451bc
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 10 Apr 2026 14:10:59 +0530
vim: Remove hyperred as requirement
vim: Fix has("gui") logic error
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/.vimrc b/.vimrc @@ -95,7 +95,8 @@ set foldopen-=search set synmaxcol=1000 -if has("gui") +if has("gui_running") + echom "GUI" set guioptions= set mouse=a if has("win32") @@ -105,10 +106,8 @@ if has("gui") nnoremap <c-z> :term<cr><c-w>o inoremap <c-z> :term<cr><c-w>o tnoremap <c-z> <c-w>:hide edit #<cr> -else - set termguicolors - set background=dark - colorscheme hyperred +elseif has("win32") " console and win32 + set termguicolors endif set shellslash
: bharatvaj/dotfiles