Reread the file

2007-02-19 Thread Bin Chen
Hi, Can VIM configured to reload the opened file in a constant interval? Thanks. ABAI

Re: perl questioin.

2007-02-19 Thread Matthew Winn
On Mon, 19 Feb 2007 23:28:08 -0800, ayoub890 <[EMAIL PROTECTED]> wrote: > I am running a perl script in a command inside make. I am trying to pass > an environment variable to perl, modify it inside perl and see it > changed inside make after returning from the perl script. > > What is happenin

indexing in a latex file

2007-02-19 Thread C.G.Senthilkumar.
Hi, I want to create an index with the makeindex program. So, I have to markup my latex document with \index{index_term}. Is there a script or some mechanism to do this effeciently? For example, when I search a term, vim should take the cursor to the term and prompt a confirmation(y/n) to index t

perl questioin.

2007-02-19 Thread ayoub890
Hi, I am running a perl script in a command inside make. I am trying to pass an environment variable to perl, modify it inside perl and see it changed inside make after returning from the perl script. What is happening is that perl see the environment variable and tries to modify it but make

Cursor position - file history

2007-02-19 Thread David Woodfall
Is there any way of getting vim to remember more previously opened file cursor positions? Searching for history only yields command history. -- It's easier to get forgiveness for being wrong than forgiveness for being right. Cheers! Dave

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Kim Schulz
On Mon, 19 Feb 2007 23:11:16 +0100 Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Yongwei Wu wrote: > > > > Bin Chen wrote: > > > > > > > Thanks. I am also looking forward to this talk. But > > > > unfortunately the google video is blocked in some countries, > > > > could some one put the video t

Re: indenting and json

2007-02-19 Thread g b
On 2/19/07, Marc Weber <[EMAIL PROTECTED]> wrote: On Sat, Feb 17, 2007 at 09:57:57PM -0200, g b wrote: > Any way to indent json correctly on vim? > Obj = { > att1: 'val1', > att2: 'val2', > } I don't know. But it shouldn't be that hard to use folding on { } and set indentexpr to a function r

Re: show only filenames in tabs

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: is there anyway to only show the name of the file up in the tabs rather than the entire path? example: this.. index.html instead of this.. \M\s\g\h\e\n\f\index.html Sure. You can customise the tabline however you will. See: - for Console Vim, or when 'guioptions' does

show only filenames in tabs

2007-02-19 Thread Simon Jackson
is there anyway to only show the name of the file up in the tabs rather than the entire path? example: this.. index.html instead of this.. \M\s\g\h\e\n\f\index.html

RE: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Michael Wookey
> cRaig - > > > On 2/19/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > ... > > > I'll ask if I can get the video in a portable format and put it on > the > > > Vim ftp server. > > > > If you choose "Download" from a Linux workstation, you can save the > > video as an AVI file. The presentation

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Bram Moolenaar
cRaig - > On 2/19/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > ... > > I'll ask if I can get the video in a portable format and put it on the > > Vim ftp server. > > If you choose "Download" from a Linux workstation, you can save the > video as an AVI file. The presentation is approx. 500 MB

Re: limited fonts in gVim

2007-02-19 Thread cRaig
On 2/19/07, Simon Jackson <[EMAIL PROTECTED]> wrote: Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine? If you are looking for high-quality, free (as in beer) fonts for programming, the following will

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Bin Chen
Bram Moolenaar 写道: Yongwei Wu wrote: Bin Chen wrote: Thanks. I am also looking forward to this talk. But unfortunately the google video is blocked in some countries, could some one put the video to the vim official site? and this can make this video seems more official ^&^.

Dos runtime files adjusted

2007-02-19 Thread Bram Moolenaar
I have changed the script that uploads the runtime files to the ftp server. It now better matches the list of files in the archives. The "runtime/dos/spell" directory now exists and contains the English spell files, just like the distribution. This means you can use "rsync --delete" without del

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread cRaig
On 2/19/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: ... I'll ask if I can get the video in a portable format and put it on the Vim ftp server. If you choose "Download" from a Linux workstation, you can save the video as an AVI file. The presentation is approx. 500 MB (and well worth it, I mi

Re: Re : Omni Confusion

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 6:14am -0600, Vissale NEANG wrote: > To use cpp completion with c files you can copy > ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim This apparently doesn't work with C. I've installed it and copied cpp.vim to c.vim as instructed above. It automatically goes into

Re: limited fonts in gVim

2007-02-19 Thread Bernhard Walle
* Simon Jackson <[EMAIL PROTECTED]> [2007-02-20 01:04]: > Im on a windows machine and the choice of fonts to use is VERY > limited, is there a way to use any true type font i have installed on > the machine? I think vim can only deal with monospaced fonts. And I really don't think that proportinal

Re: limited fonts in gVim

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine? Gvim can only use fixed-width fonts. Some fixed-width fonts (such as Courier New) are TrueType or OpenType, and can be used. V

limited fonts in gVim

2007-02-19 Thread Simon Jackson
Im on a windows machine and the choice of fonts to use is VERY limited, is there a way to use any true type font i have installed on the machine?

Re: auto closing tags in HTML

2007-02-19 Thread A.J.Mechelynck
Simon Jackson wrote: how do i tell vim to close html tags as i'm writing them and place the cursor in between the 2 tags? example: if i type.. then vim replaces it with and places my cursor should be between '>' and '<' To do exactly that, you would have to write, probably, an insert-mod

Re: auto closing tags in HTML

2007-02-19 Thread Pete Johns
On Mon, 2007-02-19 at 17:32:36 -0600, Simon Jackson sent: >how do i tell vim to close html tags as i'm writing them and >place the cursor in between the 2 tags? > I have been using the following plugin for the past few years: http://www.american.edu/econ/notes/html_xhb.vim Works a treat

auto closing tags in HTML

2007-02-19 Thread Simon Jackson
how do i tell vim to close html tags as i'm writing them and place the cursor in between the 2 tags? example: if i type.. then vim replaces it with and places my cursor should be between '>' and '<'

Re: The Seven Habits Of Effective Text Editing 2

2007-02-19 Thread Bram Moolenaar
Yongwei Wu wrote: > > Bin Chen wrote: > > > > > Thanks. I am also looking forward to this talk. But unfortunately the > > > google video is blocked in some countries, could some one put the video > > > to the vim official site? and this can make this video seems more > > > official ^&^. > > > > F

Re: indenting and json

2007-02-19 Thread Marc Weber
On Sat, Feb 17, 2007 at 09:57:57PM -0200, g b wrote: > Any way to indent json correctly on vim? > > I recall that on 6.4 version we needed an external syntax file for > javascript. Is it still the case? > > it's driving me nuts to have weird tabulation put allover the place... > > thanks > > ps

Re: surround.vim in AsNeeded

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 11:13am -0600, [EMAIL PROTECTED] wrote: > I think I should point out that AsNeeded provides > transparent support for plugin loading for commands and > functions -- ie. issue a command, and if the associated > plugin hasn't been loaded yet, it will be, and the command > is then ex

Re: Overview of diretories of $HOME/.vim

2007-02-19 Thread A.J.Mechelynck
Kai Weber wrote: Hello, where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for ":help ftplugin", ":help initialization" and so on. I am searching for a short overview like foo -- contains files for fi

Re: Re : Omni Confusion

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 6:14am -0600, Vissale NEANG wrote: > To use cpp completion with c files you can copy > ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim Thank you. That looks like a nice simple solution to use until ccomplete is fixed. I'll try it tonight. -- Best regards, Bill

Re: ant plugin recomendation

2007-02-19 Thread Gavin Gilmour
Hi there. You might want to check out http://everything101.sourceforge.net/docs/papers/java_and_vim.html if you haven't already - it's got some nice tips on it regarding working with ant and java in general. I wondered if I could hastily add my own question to this mix though; with the error form

Re: Overview of diretories of $HOME/.vim

2007-02-19 Thread Tim Chase
where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for ":help ftplugin", ":help initialization" and so on. I am searching for a short overview like I'm not sure such a list exists from a quick search o

Overview of diretories of $HOME/.vim

2007-02-19 Thread Kai Weber
Hello, where can I find an overview of the $HOME/.vim directory hierarchie? I have not found an overview, seems I have to read all the vim documentation for ":help ftplugin", ":help initialization" and so on. I am searching for a short overview like foo -- contains files for filetypes foo/bar --

Re: question about mapping

2007-02-19 Thread A.J.Mechelynck
shawn bright wrote: hello there all, i am very new to vim, but i really dig it. I tried out a script plugin from vim.org and when i start vim, there is an error message that says Error detected while processing /home/piv/.vim/plugin/snippetsE mu.vim: line 163: E227: mapping already exists for ^

Re: surround.vim in AsNeeded

2007-02-19 Thread drchip
Quoting Bill McCarthy <[EMAIL PROTECTED]>: > Hello Vim List, > > I just tried out surround.vim, recently updated on Vim > Online. Nice plugin! > > It works fine when placed in my plugin directory but doesn't > work if moved to my AsNeeded directory and :MkAsNeeded is > run. > > Has anyone out the

question about mapping

2007-02-19 Thread shawn bright
hello there all, i am very new to vim, but i really dig it. I tried out a script plugin from vim.org and when i start vim, there is an error message that says Error detected while processing /home/piv/.vim/plugin/snippetsE mu.vim: line 163: E227: mapping already exists for ^I i guess i need to

Re: 8 bit problem

2007-02-19 Thread Ulrich Lauther
> A problem with German Umlauts > > Under Linux I have modified my key map in a way that for instance ALT a > generates Umlaut a ("a in Tex notation). > > Now when I start vi like this: > > /usr/bin/X11 rxvt -meta8 -e vim > > I can type in Umlauts using the ALT key. > > This also worked

Problem with setting the cursor color

2007-02-19 Thread Lasse Harju
Hello, This might be FAQ material but I didn't manage to find an answer from the vim.org support pages. I'm having trouble setting the cursor color for cterm. Something is overriding the settings I give in my colorscheme definition file. No matter how i set the cursor highlighting for cterm

Re : Omni Confusion

2007-02-19 Thread Vissale NEANG
Hello, To use cpp completion with c files you can copy ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim Best regards vissale

Re: Optimum syntax file size...

2007-02-19 Thread Peter Hodge
Hello, If it is a C-style syntax where you're matching together lots of { } areas (or if/endif blocks, etc), using regions, then you should provide an option to turn it on/off, because this can be slow on large files (and get out of sync). Thousands of keywords probably isn't an issue, but if you