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
Thanks for all the explanations everyone. I do see your points, and will
try to add 's' to my weaponry :)
Wim
On 6/30/06, Wim R. Crols [EMAIL PROTECTED] wrote:
Hi,
Not really a request for help, but I was wondering if you guys ever use
the 's' command.
It's just a shortcut for 'cl', which
On Mon, Jul 03, 2006 at 12:20:37PM +0300, Giorgos Gaganis wrote:
Hello
I was wondering if it is possible to have a motion command that would be
aware of the Cammel Notation (eg BufferedInputStreamReader) so that the
cursor would stop on the capital letters.
I would particularly want to
I would particularly want to use it with the 'c' command.
[cut]
I'm using c quite often. I wouldn't remap it ;)
I think the OP wants an (in vim nomenclature) operator pending
mode mapping, so that it can be used *with* the c command,
rather than *instead* of the c command.
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 wrote:
On 7/3/06, Vigil [EMAIL PROTECTED] wrote:
Because savevers (script #89) no longer works properly with vim 7
savevers perfectly works for me in vim7,
just as it did for vim6
Yakov
On 7/2/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
On Thu, 29 Jun 2006 at 10:50pm, Eric Arnold wrote:
Ok. For starters, it seems that you *can* call a numbered function
from anywhere:
function! s:T()
echomsg here
echomsg 'SID=' . expand( 'sfile' )
endfunction
let
You can also ctrl-v, which will prevent the , map.
On Thu, 29 Jun 2006, Zhang Le wrote:
Hi,
Most of time I want a space after a comma, so I use imap , ,
The problem is, sometime I do not want a comma inside square
brackets in some programming language such python and matlab:
a[10,:] or
Tim Chase wrote:
I would particularly want to use it with the 'c' command.
[cut]
I'm using c quite often. I wouldn't remap it ;)
I think the OP wants an (in vim nomenclature) operator pending mode
mapping, so that it can be used *with* the c command, rather than
*instead* of the c command.
Because savevers (script #89) no longer works properly with vim 7
savevers perfectly works for me in vim7,
just as it did for vim6
Weird. Tell me, do your settings differ greatly from mine?:
savevers
set backup
set patchmode=.prev
let savevers_dirs=~/backups/vim
exe set backupskip+=* .
On 7/3/06, Vigil [EMAIL PROTECTED] wrote:
Because savevers (script #89) no longer works properly with vim 7
savevers perfectly works for me in vim7,
just as it did for vim6
Weird. Tell me, do your settings differ greatly from mine?:
savevers
set backup
set patchmode=.prev
let
Can it be that my version of savevers, being not the latest savevers,
works better than the later versions of savevers ?
Weird. I guess when I pulled my latest copy (we both are using 0.8), it was
corrupt or something, because yours works. Thanks.
--
.
On 7/3/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 6/30/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
... The Funcref obtained via function('s:T') can't be
called from outside the script ... [unexpectedly]
I agree, Hari. I'd expect funcref function('s:T') to be callable
outside of the
On 7/3/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 7/3/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 6/30/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
... The Funcref obtained via function('s:T') can't be
called from outside the script ... [unexpectedly]
I agree, Hari. I'd expect
On 7/3/06, Eric Arnold [EMAIL PROTECTED] wrote:
On 7/3/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 7/3/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 6/30/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
... The Funcref obtained via function('s:T') can't be
called from outside the script
* K.S.Sreeram on Monday, July 03, 2006 at 22:57:08 +0530:
In 'set wrap' mode, say I have a single long line which wraps and forms
5 screen lines. Now when I press 'j', the cursor jumps over the 5 lines
and goes to the next physical line(6th screen line).
Is it possible for me to configure
Hi,
Am Montag, 03. Jul 2006, 12:20:37 +0300 schrieb Giorgos Gaganis:
I was wondering if it is possible to have a motion command that would be
aware of the Cammel Notation (eg BufferedInputStreamReader) so that the
cursor would stop on the capital letters.
See also tip #1016.
Bertram
--
On 7/3/06, K.S.Sreeram [EMAIL PROTECTED] wrote:
Hi All
In 'set wrap' mode, say I have a single long line which wraps and forms
5 screen lines. Now when I press 'j', the cursor jumps over the 5 lines
and goes to the next physical line(6th screen line).
Is it possible for me to configure vim, so
On 7/3/06, Giorgos Gaganis [EMAIL PROTECTED] wrote:
Tim Chase wrote:
I would particularly want to use it with the 'c' command.
[cut]
I'm using c quite often. I wouldn't remap it ;)
I think the OP wants an (in vim nomenclature) operator pending mode
mapping, so that it can be used *with*
set backup
set backupdir=~/.vim/backup
set dir=~/.vim/temp
Configuration for savevers.vim
http://www.vim.org/scripts/script.php?script_id=89
set patchmode=.prev
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let savevers_dir=backupdir
That is my config...and it doesn't work.
Robert Hicks wrote:
set backup
set backupdir=~/.vim/backup
set dir=~/.vim/temp
Configuration for savevers.vim
http://www.vim.org/scripts/script.php?script_id=89
set patchmode=.prev
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let savevers_dir=backupdir
That is my
On 7/4/06, Robert Hicks [EMAIL PROTECTED] wrote:
set backup
set backupdir=~/.vim/backup
set dir=~/.vim/temp
Configuration for savevers.vim
http://www.vim.org/scripts/script.php?script_id=89
set patchmode=.prev
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let
In C programming, I can do [[ inside a function to go to the begining of the
function (actually to the begining { ). Is there any clever way to extend
this to fortran 90 programming as well?
In fortran90 programs, the equivalent of C's functions are of the form
subroutine name
...
end
On 7/4/06, Kamaraju Kusumanchi [EMAIL PROTECTED] wrote:
In C programming, I can do [[ inside a function to go to the begining of the
function (actually to the begining { ). Is there any clever way to extend
this to fortran 90 programming as well?
In fortran90 programs, the equivalent of C's
Tim Chase wrote:
Is there a function to create a backup directory if there
isn't one when Vim tries to backup a file?
Well, you can use the following code:
--
function! EnsureDirExists(d)
let l:s = substitute(a:d, '[/\\]*$', '/', '')
let
Greetings fellow PHP developers,
You may not be aware that as of a month ago, I have taken up maintenance of the
PHP syntax file for Vim, and the latest versions can be found here:
http://www.vim.org/scripts/script.php?script_id=1571
Version 0.9 (the initial upload) is currently distributed
Recently, I need the following abbreviation:
iabbr method method name= /method
But it can not be executed successfully because I think vim consider
method as a buffer like option. I go over vim's online help, but
found nothing about how to escape this.
Any comment will be appreciated!
27 matches
Mail list logo