First, thanks for your guys. I didn't think I whould receive response so quick. As Yakov suggested, before I execute the abbreviation, I add '<' to ... BTW, I...
71037
x x
dimstore@...
Jul 4, 2006 11:53 am
Hi, I've file with proprietary format. The file has plugin file, which defines indentation by means of indentexpr. I noticed that after the file is indented,...
71038
Dima
dimstore@...
Jul 4, 2006 11:58 am
Hi, I've file with proprietary format. The file has plugin file, which defines indentation by means of indentexpr. I noticed that after the file is indented,...
71039
Yakov Lerner
iler.ml@...
Jul 4, 2006 12:27 pm
... Yakov...
71040
Matthias-Christian Ott
matthias.christian@...
Jul 4, 2006 12:36 pm
Hi, I'm trying to execute a ruby script which is located in ~/.vim/plugin. How can I get the path of the script (if it's not in ~/.vim/plugin? -- ...
71041
drchip@...
Jul 4, 2006 1:51 pm
... Sure -- unmap it first. Regards, Chip Campbell...
71042
Yakov Lerner
iler.ml@...
Jul 4, 2006 1:57 pm
... let script_dir=expand("<sfile>:p:h") ... Yakov...
71043
Mikolaj Machowski
mikmach@...
Jul 4, 2006 2:28 pm
... Looks like a bug. eval.txt explicitly mentions List with *2* or three items. m....
71044
John R. Culleton
john@...
Jul 4, 2006 4:09 pm
At present if syntax is on and the filetype is e.g., cbl and the file is a legacy cobol app then any number in columns 1-6 causes an error and the entire line...
71045
Maciej Kalisiak
mkalisiak@...
Jul 4, 2006 4:17 pm
I'm using Vim 7 under WinXP, and the standard plugin "netrw" v98. According to the help docs I can limit the directory browser display to files which match a...
71046
Gary Johnson
garyjohn@...
Jul 4, 2006 4:24 pm
... I think that should be ... Gary -- Gary Johnson | Agilent Technologies garyjohn@... | Wireless Division...
71047
Matthias-Christian Ott
matthias.christian@...
Jul 4, 2006 6:41 pm
... Expands to the current working directory when calling it with my function. It was supposed to expand to the directory of the plugin. -- Matthias-Christian...
71048
hermitte@...
Jul 4, 2006 7:26 pm
Hello, ... Store the result in a script-local variable, outside functions. => let s:script_dir = expand('<sfile>:p:h') fun! s:Foo() echo s:script_dir ...
71049
hermitte@...
Jul 4, 2006 8:07 pm
Hello, ... Finally I had a look at your pointers. It seems quite complex as we have to: - either hack in the standard syntax files - or do a :syn-clear to...
71050
Yakov Lerner
iler.ml@...
Jul 4, 2006 8:18 pm
... I believe if you define highlighting group with gui=undercurl, then vim will just add the curly underline to the current highlighting, no ? Yakov...
71051
Michael Naumann
michael@...
Jul 4, 2006 10:35 pm
... In fact it will only work correctly with normal, as in> function! UpperOrWord() normal /\u\|\W^M endfunction ... Note: the ^M is entered by ctrl-v ctrl-m I...
71052
Yakov Lerner
iler.ml@...
Jul 4, 2006 11:02 pm
... Another working solution to using search(): function! CamelCase() call search('\u\|\W39;) endfunction ... Yakov...
71053
Peter Hodge
toomuchphp-vim@...
Jul 4, 2006 11:32 pm
Hi, ... and ... ... for more information. regards, Peter ... ____________________________________________________ Do you Yahoo!? Check out gigs in your area on...
71054
Kamaraju Kusumanchi
kamaraju@...
Jul 5, 2006 2:32 am
Let's say I have a .filename.swp as the swap file. Is it possible to automatically recover and store the recovered file as filename.recovered? I would like to...
71055
John Orr
john.orr@...
Jul 5, 2006 3:25 am
... A great question I think - maybe vim has a way to handle these files simply, but I don't know of it. If it helps, below is the perl script I use to find...
71056
Kamaraju Kusumanchi
kamaraju@...
Jul 5, 2006 4:55 am
... Your script is a life saver! Thank you very much for posting it. raju -- This email account uses challenge-response system. Contact me only if you are...
71057
Yakov Lerner
iler.ml@...
Jul 5, 2006 9:17 am
Let's say I start vim with multiple files on the command line. Is there any plugin, similar to directory browser, that show vim arguments (vim arguments file)...
71058
Jürgen Krämer
jkr@...
Jul 5, 2006 10:16 am
Hi, with 'encoding39; set to "utf-8" there is a quite confusing (to me) difference between the column number and my expectations (supported by the virtual column...
71059
James Vega
jamessan@...
Jul 5, 2006 1:35 pm
... Column number n is really the nth byte on that line. This is described at ":help /\%c". This description should explain all the behavior you're seeing....
71060
Jürgen Krämer
jkr@...
Jul 5, 2006 2:43 pm
Hi, ... yes, it does *explain* the behaviour. But it makes things even worse. Suppose I have some lines with aligned data (just like a table) where I want to...
71061
Yakov Lerner
iler.ml@...
Jul 5, 2006 3:26 pm
... Yes ... There's yet another reason for col()!=virtcol(). It's unprintable characters like ^A ^@ ^[ Granted, they occur rarely in textfiles, but if they do,...
71062
Yakov Lerner
iler.ml@...
Jul 5, 2006 3:49 pm
... And additional remark. As James noted, \%c is not character offset (in case of multibyte chars), but the bytes offset. In case you want to match not by...
71063
Hari Krishna Dara
hari_vim@...
Jul 5, 2006 7:48 pm
... I was just about to upload a new version of my lookupfile plugin when I saw your question, so I added an LUArgs command just for you. By default you have...
71064
Bram Moolenaar
Bram@...
Jul 5, 2006 8:19 pm
... I don't know why you call this a column count, in most places it's called a byte count. Perhaps in some places in the docs the remark about this actually...
71065
Cesar Romani
andalou@...
Jul 6, 2006 2:04 am
... I'm using utl.vim to open url under the cursor. When I press \gu under an url, it opens the url but it appears at the ... How can it be hidden? Many thanks...