... I'm afraid I have no clue why this would happen. Best is to compile Vim for debugging, run it in a debugger and find out where that error message is...
Bram Moolenaar
Bram@...
Mar 1, 2005 10:55 am
56853
Hi All, I'm trying to write a simple vim function that prompts me for a filename and then calls an external shell script with the entered filename, and then...
Shaw Vrana
shawv@...
Mar 1, 2005 9:58 pm
56854
... With the above, both the script and the ":e" command will get "myfilename" (i.e., the name, not the contents, of the Vim variable). Try exe "!my_script"...
A. J. Mechelynck
antoine.mechelynck@...
Mar 1, 2005 10:16 pm
56855
... Good response time! I love this list. Your tipped worked great. After adding a silent before the exec, I get exactly what I want. Thanks! Shaw...
Shaw Vrana
shawv@...
Mar 1, 2005 10:25 pm
56856
Hello In gvim, in the Edit->Global Settings menu, Toggle Toolbar will kill the toolbar and icons for me which is desired, but this setting is not preserved...
Angelina Carlton
brat@...
Mar 1, 2005 10:40 pm
56857
... Simply put the following line in your gvimrc (either .gvimrc or _gvimrc depending on your platform) set guioptions-=T You can also get rid of the menu,...
Tim Chase
vim@...
Mar 1, 2005 10:44 pm
56858
... Of course it is. You just need the proper setting in your vimrc. In this case one possibility is if exists("+guioptions") set guioptions-=T endif HTH, ...
A. J. Mechelynck
antoine.mechelynck@...
Mar 1, 2005 10:54 pm
56859
Perfect...Thanks so much for the speedy replies :-) -- Angelina Carlton...
Angelina Carlton
brat@...
Mar 1, 2005 11:13 pm
56860
After I added these entries explicitly in my .vimrc, the dreadful phenomenon disappeared. set encoding=japan set fileencodings=utf-8,euc-jp,sjis My guess is...
Hiroshi Iwatani
HGA03630@...
Mar 2, 2005 3:38 am
56861
On Fecora Core 3 and Gnome environment, gvim(6.3.62) invoked from command line always emits the same error: BadWindow (invalid Window parameter) Vim: X error...
Hiroshi Iwatani
HGA03630@...
Mar 2, 2005 3:52 am
56862
Apologies if this double posts. Vim 6.3.60 WinXP If I create a function called Test and create a mapping for it: nnoremap \aa call Test() Is there anyway from...
David Fishburn
fishburn@...
Mar 2, 2005 4:16 am
56863
Hello David, A secret is that map command maps one key sequence to another, so you "\aa" sequence will be translated to "call Test" (this will try to start...
Wind
sonic_wind@...
Mar 2, 2005 8:51 am
56864
Hello, ... May be you can provide a command of your own. The command will be used in ... The command will delegate its work to an internal function, which will...
hermitte@...
Mar 2, 2005 9:35 am
56865
VIM 6.3.62 WINDOWS XP SP2 Hi * In my _vimrc file I put this lines: let $temp = substitute($TMPDIR, ';', ',', 'g') let $temp = substitute($temp, '\\', '/', 'g')...
Mathias Michaelis
michaelis@...
Mar 2, 2005 10:05 am
56866
... Since it works OK for most people, this is either something in your environment or a problem in the GUI libraries used. What GUI is it compiled with, GTK+...
Bram Moolenaar
Bram@...
Mar 2, 2005 11:13 am
56867
... It's indeed possible that there is a problem with conversion. Can you see what the values for 'encoding' and 'fileencodings' are when the problem appears?...
Bram Moolenaar
Bram@...
Mar 2, 2005 11:14 am
56868
Around about 02/03/05 10:04, Mathias Michaelis typed ... ... Just as a test case, could you set 'temp' correctly *in* the environment before calling vim, and...
Neil Bird
neil@...
Mar 2, 2005 12:43 pm
56869
Hello Neil Bird ... As I said: TEMP is set correctly, but is converted into 8.3 convention -- not by vim, but by Billy's Software. I can do nothing against it....
Mathias Michaelis
michaelis@...
Mar 2, 2005 1:21 pm
56870
A laboratory colleague has just shown me how to reformat a latex paragraph with the command alt-q under emacs. I could not answer if such a command exist under...
Carlos Beltran
cbeltran@...
Mar 2, 2005 2:55 pm
56871
... I'm not sure what type of formatting that does, but you may want to look into the 'gq' command. You can rewrap a paragraph via 'gqap'. Check out the...
jamessan@...
Mar 2, 2005 3:09 pm
56872
It formats the paragraph to stay into the textwidth. And yes, gq options work perfectly, moreover I have discovered the autoformat option "set fo+=a" that...
Carlos Beltran
cbeltran@...
Mar 2, 2005 3:25 pm
56873
VIM 6.3.62 WINDOWS XP SP 2 Hello * In my _vimrc file I have autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \...
Mathias Michaelis
michaelis@...
Mar 2, 2005 4:38 pm
56874
... http://www.catb.org/~esr/jargon/html/S/screen-scraping.html ... screen scraping was quite common in the 80's and 90's -- a lot of old cobol programs wrote...
Scott C
scott2237@...
Mar 2, 2005 6:00 pm
56875
Hi All, I'd like to hold the output of a shell command in a local variable. I'm trying to do something like this: let myfile = silent exec '!find . -name'...
Shaw Vrana
shawv@...
Mar 2, 2005 6:11 pm
56876
... My first take on the matter would be to 0) create a new window/buffer 1) use "0r! find ..." (or "sil! exec '!find...'") 1.5) optionally save "a" and...
Tim Chase
vim@...
Mar 2, 2005 6:24 pm
56877
... You can do it on Unix Vim, see ":help backtick-expansion"; but on Windows it's harder (there I guess you'd have to use ":r !" to read the output of the...
A. J. Mechelynck
antoine.mechelynck@...
Mar 2, 2005 6:38 pm
56878
let myfile=system('find . -name '.myfile) ... regards, -Arun...
Arun Easi
aeasi@...
Mar 2, 2005 6:55 pm
56879
... That's what I usually do, too, except that I also use substitute() to remove the trailing newline from the output: let myfile=substitute(system('find ....
Gary Johnson
garyjohn@...
Mar 2, 2005 7:14 pm
56880
... A bunch of helpful answers here. I had not known of the 'system' command- this will come in very handy. Thanks you all for helping me further along the...