Permalink
Browse files

Dual monitor support

  • Loading branch information...
1 parent e9d0677 commit 667ad5de565569bc389ae1fe09056e807d067f80 @derekmcloughlin committed May 8, 2009
Showing with 24 additions and 23 deletions.
  1. +24 −23 README
View
47 README
@@ -1,23 +1,24 @@
-gVimWin32FullScreen
- Derek McLoughlin
-
-* What is this
- Put gvim into full screen on the primary monitor in Microsoft Windows.
- This is a copy of Yasuhiro Matsumoto's VimTweak's EnableMaximize
- functionality modified to deal with window borders and making the
- window overlap the task bar.
-
- Note: this only works on the primary monitor. I'll add other monitor support
- later.
-
-* Compiling
- Compile the DLL using any version of Visual C++ for Windows
- Use the makefile - nmake
- copy gvimfullscreen.dll to the directory that has gvim.exe
-
-* Usage
- Toggle
- :call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)
-
- For example:
- map <F11> <Esc>:call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)<CR>
+gVimWin32FullScreen
+ Derek McLoughlin
+
+* What is this
+ Put gvim into full screen in Microsoft Windows.
+ This is a copy of Yasuhiro Matsumoto's VimTweak's EnableMaximize
+ functionality modified to deal with window borders and making the
+ window overlap the task bar.
+
+ Note: this works on dual monitor configurations where the primary monitor is the
+ one on the left hand side. When the gvim window spans both monitors, it is maximised
+ to the monitor which contains most of the area of gvim's window.
+
+* Compiling
+ Compile the DLL using any version of Visual C++ for Windows
+ Use the makefile - nmake
+ copy gvimfullscreen.dll to the directory that has gvim.exe
+
+* Usage
+ Toggle
+ :call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)
+
+ For example:
+ map <F11> <Esc>:call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)<CR>

0 comments on commit 667ad5d

Please sign in to comment.