Currently, if you try to assign a value to a variable with a different type, you get: E706: Variable type mismatch To make it work, you have to first unlet the...
justin constantino
goflyapig@...
Jul 1, 2006 9:40 pm
44119
... I think we should just remove the whole restriction. nikolai...
Nikolai Weibull
now@...
Jul 2, 2006 10:06 am
44120
... I was thinking of some pragma/option, like Perl's "strict" where you could choose the behavior. As far as I'm concerned, I'd rather have the convenience...
Eric Arnold
eric.p.arnold@...
Jul 2, 2006 7:26 pm
44121
... I'd like to see how current :let is so super-intelligent so that it prevents assignment of what you call "absurd setting" to the &options. Consider...
Yakov Lerner
iler.ml@...
Jul 2, 2006 7:28 pm
44122
... Excuse me, I was wrong in this sentence. Justin and Nikolai didn't advocate silent type conversion between lists and strings. Yakov...
Yakov Lerner
iler.ml@...
Jul 2, 2006 7:34 pm
44123
... Definitely not. I was thinking about suggestion of :let! few times before and each time I was throwing it away. For example :let allows to change settings....
Mikolaj Machowski
mikmach@...
Jul 2, 2006 7:35 pm
44124
hi, i have the strange behavior the if i type "ESC" to leave insert-mode the cursor move on letter the the left... for example if i have the the text "abc" and...
Jochen Baier
email@...
Jul 2, 2006 8:16 pm
44125
... This is how it's supopsed to be. Try a instead of i for something different. Yakov...
Yakov Lerner
iler.ml@...
Jul 2, 2006 8:26 pm
44126
... ah ok i see it. its a feature ;) thanks jochen...
Jochen Baier
email@...
Jul 2, 2006 9:02 pm
44127
... And in any case, setting an option using let is very different from setting a user variable to a value. This is a case of "Trying Too Hard". When exactly...
Nikolai Weibull
now@...
Jul 2, 2006 9:20 pm
44128
... And here's my fix for this malfeature, which is so obviously one of the many, many bugs in Vi that has sadly stuck around far too long: ...
Nikolai Weibull
now@...
Jul 2, 2006 11:09 pm
44129
... I recently sent a question to vim list about the same restriction. The restriction doesn't make any sense to me either. -- Thanks, Hari ...
Hari Krishna Dara
hari_vim@...
Jul 3, 2006 1:26 am
44130
... Nikolai, It is a matter of preference, not a malfeature. It would take months of retraining for me to adapt if the cursor was 'fixed' so that it does not...
Peter Hodge
toomuchphp-vimdev@...
Jul 4, 2006 3:01 am
44131
... I'm sorry, but I don't have access to a Win64 system at the moment, so there's no easy way for me to check out what you're saying. I don't know if it's a...
George V. Reilly
george@...
Jul 5, 2006 8:49 am
44132
Hi Jochen, i use the following mappings: inoremap <Esc> <Esc>`^ inoremap <C-C> <C-C>`^ They leave the cursor where it was when leaving insert mode. Of...
Helmut Stiegler
mailings@...
Jul 6, 2006 9:35 am
44133
Bug or feature? While editing this e-mail, ... filetype=log syntax=log ... "/tmp/mutt-localhost-19331-88" "/tmp/mutt-localhost-19331-88" 7L, 108C ... ...
Benji Fisher
benji@...
Jul 6, 2006 1:22 pm
44134
... Dr BF! You forgot one of your favorite answers! :) Try ... (it was probably set via a modeline at the bottom of the help page) Regards, Chip Campbell...
Charles E Campbell Jr
drchip@...
Jul 6, 2006 5:31 pm
44135
Hi All, In Vim 7, there seems to be a bug in netrw plugin behavior. It looks like it wipes out clipboard register (mine is set to unnamed). That is, I yank...
Alexei Alexandrov
alexei.alexandrov@...
Jul 6, 2006 8:05 pm
44136
... Please try the latest netrw, available at my website: http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs see "Network Oriented Reading, Writing,...
Charles E Campbell Jr
drchip@...
Jul 6, 2006 8:21 pm
44137
... hi, atm i use my script to toggle the mode: http://www.vim.org/tips/tip.php?tip_id=1275 as a surprising side effect the cursor do not move anymore regards...
Jochen Baier
email@...
Jul 6, 2006 8:51 pm
44138
I haven't been very happy with using vim in an xterm with various settings of "mouse=", "selectmode=" and others. Part of this may be that the Fedora build is...
Sean Reifschneider
jafo@...
Jul 7, 2006 4:37 am
44139
[CCing the Vim and Vim-Dev lists. Not that it did any good the last time I raised this subject.] It is NOT me, dammit! Someone on the Vim list is infected with...
George V. Reilly
george@...
Jul 7, 2006 6:02 am
44140
To make this a little more concrete, here's some data from the last few such emails that I've received. First, typical headers: From - Thu Jul 6 18:56:35 2006...
George V. Reilly
george@...
Jul 7, 2006 7:44 am
44141
... help files are handled a bit special. The filetype is automatically set to "help" when loading the file. 'syntax' stays at "log", because setting...
Bram Moolenaar
Bram@...
Jul 7, 2006 7:50 am
44142
... How about this ... and similar thing for imap -- untested Yakov...
Yakov Lerner
iler.ml@...
Jul 7, 2006 8:50 am
44143
... I believe that's what vim does when you do "set mouse". I would like to be able to do that when I do not have "set mouse", based on number of characters...
Sean Reifschneider
jafo@...
Jul 7, 2006 4:31 pm
44144
... and ... nikolai...
Nikolai Weibull
now@...
Jul 7, 2006 5:15 pm
44145
... Right you are. Thanks! --Benji Fisher...
Benji Fisher
benji@...
Jul 7, 2006 7:12 pm
44146
... That doesn't seem to do the job. I'm not quite sure what you're trying to accomplish here, so I can't tell where it's going wrong. Thanks, Sean -- ...
Sean Reifschneider
jafo@...
Jul 7, 2006 9:33 pm
44147
... Even with "<MiddleMouse>" in the second line, it's not doing anything that I can see. It probably needs "set mouse=" for it to do anything, and as I said...