Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

加入Readme文件

  • Loading branch information...
commit ed1a4c6e31c408cfae2b2550b6f265ff3317c64d 1 parent 2110ce2
asins authored

Showing 1 changed file with 63 additions and 0 deletions. Show diff stats Hide diff stats

  1. +63 0 README.md
63 README.md
Source Rendered
... ... @@ -0,0 +1,63 @@
  1 +11��9�Ŵ�git�и��º�����64λGVIM��֧��Python3.2��Python2.7��Perl��TCL/TCӦ������ͦȫ���ˣ������ĵ�353��
  2 +
  3 +�޸���һ��Դ�룬���ڽ��GVIM�ױߵ����⣬��Ϊ��ʹ�õ���ɫΪmolokai�����Ը����ɫ�Ǻ�ɫ�ġ�
  4 +
  5 +�޸� gui_w32.c �� 1471 ��.
  6 + wndclassw.hbrBackground = CreateSolidBrush(RGB(27, 29, 30));
  7 +
  8 +����ʱbigvim.bat�е�����
  9 + nmake -f Make_mvc.mak GUI=yes OLE=yes PERL=C:\Perl64 DYNAMIC_PERL=yes PERL_VER=514 PYTHON=C:\Python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PYTHON3=C:\Python32 DYNAMIC_PYTHON3=yes PYTHON3_VER=32 TCL=c:\tcl TCL_VER=85 DYNAMIC_TCL=yes %1 IME=yes CSCOPE=yes
  10 +
  11 +vim73Ŀ¼�������˼���dll�ļ�
  12 +
  13 + - gvimext.dll���޸Ĺ��ģ����ܼ��ˣ���ѡ�񵥸��ļ�ʱ�Ҽ�˵�ֻ�����һ�� "Edit with VIM"����ѡ�����ļ�ͬʱ�����"Diff with VIM"��ͬʱ������ͼ�ꡣ
  14 + - gvimfullscreen.dll�Ǹ��൱ȫ�Ķ�������VIMȫ���͸��������ǰ���ܣ���vimrc�������������ʹ��
  15 +
  16 + " {{{ Winƽ̨�´���ȫ����� gvimfullscreen.dll
  17 + " Alt + Enter ȫ���л�
  18 + " Shift + t ���ʹ���͸���
  19 + " Shift + y �Ӵ󴰿�͸���
  20 + " Shift + r �л�Vim�Ƿ�������ǰ����ʾ
  21 + if has('gui_running') && has('gui_win32') && has('libcall')
  22 + let g:MyVimLib = 'gvimfullscreen.dll'
  23 + function! ToggleFullScreen()
  24 + "let s:IsFullScreen = libcallnr("gvimfullscreen.dll", 'ToggleFullScreen', 0)
  25 + "let s:IsFullScreen = libcallnr("gvimfullscreen.dll", 'ToggleFullScreen', 27 + 29*256 + 30*256*256)
  26 + call libcall(g:MyVimLib, 'ToggleFullScreen', 27 + 29*256 + 30*256*256)
  27 + endfunction
  28 + "ӳ�� Alt+Enter �л�ȫ��vim
  29 + map <a-enter> <esc>:call ToggleFullScreen()<cr>
  30 + "Vim���ʱ���Զ�����InitVim ��ȥ��Vim�İ�ɫ�߿�
  31 + autocmd GUIEnter * call libcallnr(g:MyVimLib, 'InitVim', 0)
  32 +
  33 + let g:VimAlpha = 240
  34 + function! SetAlpha(alpha)
  35 + let g:VimAlpha = g:VimAlpha + a:alpha
  36 + if g:VimAlpha < 180
  37 + let g:VimAlpha = 180
  38 + endif
  39 + if g:VimAlpha > 255
  40 + let g:VimAlpha = 255
  41 + endif
  42 + call libcall(g:MyVimLib, 'SetAlpha', g:VimAlpha)
  43 + endfunction
  44 + "���Vim����IJ�͸���
  45 + nmap <s-t> <esc>:call SetAlpha(10)<cr>
  46 + "���Vim�����͸���
  47 + nmap <s-y> <esc>:call SetAlpha(-10)<cr>
  48 +
  49 + let g:VimTopMost = 0
  50 + function! SwitchVimTopMostMode()
  51 + if g:VimTopMost == 0
  52 + let g:VimTopMost = 1
  53 + else
  54 + let g:VimTopMost = 0
  55 + endif
  56 + call libcall(g:MyVimLib, 'EnableTopMost', g:VimTopMost)
  57 + endfunction
  58 + "�л�Vim�Ƿ�����ǰ����ʾ
  59 + nmap <s-r> <esc>:call SwitchVimTopMostMode()<cr>
  60 + endif
  61 + " }}}
  62 +
  63 +

0 comments on commit ed1a4c6

Please sign in to comment.
Something went wrong with that request. Please try again.