codekingpro/portable-devtools
115k
1" An example for a gvimrc file.2" The commands in this are executed when the GUI is started, after the vimrc3" has been executed.4"5" Maintainer: The Vim Project <https://github.com/vim/vim>6" Last Change: 2023 Aug 107" Former Maintainer: Bram Moolenaar <Bram@vim.org>8"9" To use it, copy it to10" for Unix: ~/.gvimrc11" for Amiga: s:.gvimrc12" for MS-Windows: $VIM\_gvimrc13" for Haiku: ~/config/settings/vim/gvimrc14" for OpenVMS: sys$login:.gvimrc15 16" Make external commands work through a pipe instead of a pseudo-tty17"set noguipty18 19" set the X11 font to use20" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-121 22set ch=2 " Make command line two lines high23 24set mousehide " Hide the mouse when typing text25 26" Make shift-insert work like in Xterm27map <S-Insert> <MiddleMouse>28map! <S-Insert> <MiddleMouse>29 30" Only do this for Vim version 5.0 and later.31if version >= 50032 33 " Switch on syntax highlighting if it wasn't on yet.34 if !exists("syntax_on")35 syntax on36 endif37 38 " For Win32 version, have "K" lookup the keyword in a help file39 "if has("win32")40 " let winhelpfile='windows.hlp'41 " map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>42 "endif43 44 " Set nice colors45 " background for normal text is light grey46 " Text below the last line is darker grey47 " Cursor is green, Cyan when ":lmap" mappings are active48 " Constants are not underlined but have a slightly lighter background49 highlight Normal guibg=grey9050 highlight Cursor guibg=Green guifg=NONE51 highlight lCursor guibg=Cyan guifg=NONE52 highlight NonText guibg=grey8053 highlight Constant gui=NONE guibg=grey9554 highlight Special gui=NONE guibg=grey9555 56endif57 