BufRead * :syntax match cfunctions "\[a-zA-Z_][a-zA-Z_0-9]*\

时间:2022-04-11 04:51:57

安置chrome
安置qq
安置mingw 链接
安置gvim 链接
改_vimrc
不能生存就见这 链接
将C:\Program Files (x86)\Vim\vim80写入path,,就可以输入gvim打开文件了
我的vimrc

set nocompatible set number set relativenumber set tabstop=4 set nohlsearch set softtabstop=4 set shiftwidth=4 set smarttab set autoindent set smartindent set cindent set ruler set go= set nobackup set noswapfile set wrap set guifont=Consolas:h18 set noshowmatch set fileencodings=utf-8,gbk set autochdir set autoread set linebreak set mouse=a set fdm=indent syntax on set langmenu=en_US let $LANG= ‘en_US‘ noremap <F9> <esc>:w<cr>:!rm %<<cr>:!g++ % -o %< -Wall -O2 -std=c++11 -DDEBUG--stack=268435456<cr>:!time ./%<<cr> noremap g<F9> <esc>:w<cr>:!rm %<<cr>:!g++ % grader.cpp -o %< -Wall -O2 -std=c++11 -DDEBUG--stack=268435456<cr>:!time ./%<<cr> noremap f<F9> <esc>:w<cr>:!rm %<<cr>:!g++ % -o %< -Wall -O2 -std=c++11 -DDEBUG--stack=268435456<cr>:!time ./%< < %<.in<cr> noremap gf<F9> <esc>:w<cr>:!rm %<<cr>:!g++ % grader.cpp -o %< -Wall -O2 -std=c++11 -DDEBUG--stack=268435456<cr>:!time ./%< < %<.in<cr> noremap <F10> <esc>:w<cr>:!time ./%<<cr> noremap f<F10> <esc>:w<cr>:!time ./%< < %<.in<cr> inoremap jk <esc>:w<cr> noremap ;; <esc>:wq<cr> inoremap jk; <esc>:wq<cr> noremap <F5> <esc>:w<cr>:!gedit %<.in<cr> noremap ss <esc>:w<cr> noremap <F8> <esc>:w<cr>:!python %<cr> vmap <c-c> "+y nmap <c-v> "+gp imap <c-v> <esc>:w<cr>"+gp set t_Co=256 colorscheme monokai autocmd BufNewFile,BufRead * :syntax match cfunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>[^()]*)("me=e-2 autocmd BufNewFile,BufRead * :syntax match cfunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>\s*("me=e-1 hi cfunctions ctermfg=81 hi Type ctermfg=118 cterm=none hi Structure ctermfg=118 cterm=none hi Macro ctermfg=161 cterm=bold hi PreCondit ctermfg=161 cterm=bold set cursorline