Robert Cussons wrote:
gvimdiff part:
In my .vimrc I have the line:
set columns=88 lines=80
because this is the size I want my gvim window to be when it opens,
however as gvimdiff opens at least two buffers I would like it to open
full screen, is there a way of getting this to happen?
gvim 7 in windows part:
I also use gvim at home, but there I use gvim 7 on windows instead of
gvim 6.3 on debian. So I have a few questions:
How do I use gvimdiff in windows?
If I already have a gvim window open how do I launch a new separate
instance of gvim from inside the first window (without having to go to
the desktop and click the icon!)
Sorry this is more of a windows question than gvim: On my linux machine
running KDE I have Ctrl-Shift-G set up to launch gvim, is there a way to
set a keyboard shortcut in Windows XP to do the same?
Many thanks for any help,
Rob.
if &diff
set lines=999 columns=999
else
set lines=80 columns=88
endif
Notes:
1. This doesn't work in Tiny-version vim, which treats everything from
":if" to ":endif" as a (recursive) comment.
2. This won't work, of course, when running console Vim in a
non-resizable console. If you don't want to ever try resizing a console
Vim, you may either wrap it all within ":if has('gui_running') or move
it to your gvimrc .
3. This won't work when setting diff mode after starting Vim.
Best regards,
Tony.