Hi,
I just installed gvim70 (from the self-extracting exe) on WIN 2K system.
Everything seems to work, exept the diff functionality.
If I do a diff, e.g.
C:\Programme\Vim>vim _vimrc -d _vimrc.bak
I get
2 Dateien zum Editieren
Das angegebene Programm kann nicht ausgeführt werden.
E97: Ka
Yegappan Lakshmanan wrote:
Do you have the 'diffexpr' set in your .vimrc file?
:verbose set diffexpr?
- Yegappan
Hi,
yes, it's set to MyDiff(), which is defined in _vimrc as
set diffexpr=MyDiff()
function MyDiff()
let opt = '-a --binary '
if &diffopt =~ 'icase' | let opt = opt . '-i
Hi,
you could use the following mappings (put them into your _vimrc):
"Launch firefox with URL under cursor
nmap ,ff :update:!start "C:\Programme\Mozilla Firefox\firefox.exe"
"Launch Internet Explrorer with URL under cursor
nmap ,ie :update:!start "C:\Programme\Internet
Explorer\IEXPLOR
Hi,
after re-examination of the problem I found the diff functionaliy now
working on Win2k, still don't know what caused the problem.
Anyway, diff'ing does work under Win2k, sorry for the confusion and
thanks to those who tried to help.
Sorry,
Wolfgang
Wolfgang Schmidt wrot
Hi vimmers,
I'm trying to do a regexp replacement. My original line is
ignore MATCH1 ignore_again MATCH2
I want to match MATCH1 and MATCH2, so here's my trial:
s/^ignore \(.*\{-}\) .*\{-} \(.*\)/matched:\1,\2/gc
I tried to use \{-} to make the ".*" match non-greedy, but I get E62 and
E476
Hi vimmers,
when I try to write (:w) a certain buffer, I get E505 (~ "file XXX is
write-protected, override with w!").
The protection seems to be set by Vim, not the OS (WinXP). So I looked
for the "readonly" option value,
but it's set to "noreadonly". I also checked "write", which is set t
Wolfgang Schmidt wrote:
when I try to write (:w) a certain buffer, I get E505 (~ "file XXX is
write-protected, override with w!").
The protection seems to be set by Vim, not the OS (WinXP). So I looked
for the "readonly" option value,
but it's set to "noreadonly&q
I don't know. I'm sending this to the list so someone else may answer.
(Please use "Reply to all" next time.)
Best regards,
Tony.
I got rid of the problem finally now by - rebooting. I looks like
another nice feature of this obscure NTFS file system.
Thanx Tony and Jürgen for your proposal
Hi,
I want to use vim to watch the output of another program (logfile,
compilation output, ...). I want to have something like the
functionality of the unix "tail" command, that is, if something new is
written to the file, I want the buffer to get updated. I know I can
reload the fil
Yakov Lerner wrote:
On 9/7/06, Wolfgang Schmidt <[EMAIL PROTECTED]> wrote:
Hi,
I want to use vim to watch the output of another program (logfile,
compilation output, ...). I want to have something like the
functionality of the unix "tail" command, that is, if somethin
Meino Christian Cramer wrote:
Hi,
(I am vim 7.0.131 on the console only on a recent gentoo Linux system)
I looked into :h paren but found nothing appropiate...
Currently my vim highlights matching parens. This is nice as long
the corrosponding paren are on different lines or at least not
bolow wrote:
hi all,
I have a question:how to search a keyword in all files in a current
dir(include the sub dirs) by vim? thanks for your reply:)
Hi,
what you're looking for is grep/vimgrep, I think.
grep uses an external grep command, vimgrep is a built-in functionality
of vim.
To
Hi,
to me it's no clear what you mean by "prevent Vim from going to my Home
directory". I'm using Vim on windows, too, but he never asked me for a
HOME directory. Instead, the _vimrc file is kept in $VIMRUNTIME, which
by default on XP is C:\Programme\Vim\vim70. Therefore, all you have to
d
Hi vimmers,
I just compiled an actual vim/gvim (7.0) on linux (2.4.21-226-smp4G). In
the console, everything is fine, I can use ALTGR-q to get an atsign on a
german keyboard. When I'm in gvim and try the same, I just get a 'q'
typed, seems like ALT GR is deactivated in gvim (same for ALTGR
Eric Leenman wrote:
Hi,
I'm trying to diff two files in (portable) gvim
I have two files opened in two vertical windows.
(Kind of Winmerge screen setup)
When I type :diff I get the error
E97: Can not create diffs
Why is that?
When I type :verbose
I dont get more info
Hi,
try
:help E9
Hi Ilia,
to me it looks like you always want to compile using the Makefile in
ProjectDir. I don't know if this helps much, but I would recommend to
open the Makefile in one buffer, then hide it:
:hid
and do your source editing. When you want to compile your files, use
:sb Mak
to switch
Hi,
I don't know about the filename part, but you could insert a date with
the following mapping:
inoremap @date =strftime("%d.%m.%Y")
Cheers,
Wolfgang
Eric Leenman wrote:
Hi,
Is it possible to make an inoremap that inserts the date as text and
the filename as text?
For example:
Hi,
:help g;
Cheers,
Wolfgang
shawn bright wrote:
Hello there all,
is there a command in vim that will cause you to jump to the last edit
location in a file ?
thanks,
shawn
Samuel Wright wrote:
Hi Guys,
Basic question for you here.
I can open a load of files in tabs in vim by calling
vim -p *.c
for example. How can I achieve the same result from within a running vim?
Thanks
S
Hi,
you could do
:args *.c
:argdo :tabe
:help args
:help argdo
:help :tabe
Ch
Hi,
to count the number of matches, see
:help count-items
Hope this helps
Wolfgang
MM wrote:
When I do a search using / ,?,* or # how do I determine the number of
matches of search pattern in the current buffer ?
Thanks
Hi,
I'm just working with a Vim6.3 instance, yes, it has.
Cheers,
Wolfgang
Yakov Lerner wrote:
Did vim6 had 'smartcase' option ? I am sorry, I do not
access to vim6 at the moment to check it myself.
Thanks
Yakov
21 matches
Mail list logo