>
> On Feb 1, 2011, at 5:33 AM, Hofmann, Joachim wrote:
>
> > Hello,
> >
> > How is the syntax to a for list with constants
> >
> > e.g.
> >
> > let mydb = "db1 db2 db3"
> > for db in mydb
> > source db.dict
> > end
>
>
> let mydb = "db1 db2 2b3"
> for db in split(mydb)
> exec 'source '.db.'.
Hi,
I want to be able to open a manpage using VIM without exiting it. For
example .. I want to able to do something like:
vim dumm.c
:tabe man ls .
Is this possible?
Regards,
Ajay.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the te
On 02/02/11 10:19, Ajay Jain wrote:
Hi,
I want to be able to open a manpage using VIM without exiting it. For
example .. I want to able to do something like:
vim dumm.c
:tabe man ls .
Is this possible?
Regards,
Ajay.
Try:
:tabnew | silent !man
Cheers,
Daniel
---
On 02/02/11 23:19, Ajay Jain wrote:
Hi,
I want to be able to open a manpage using VIM without exiting it. For
example .. I want to able to do something like:
vim dumm.c
:tabe man ls .
Is this possible?
Regards,
Ajay.
If you put the cursor on the word/statement/command for example "u
Hi,
Is there any way VimScript HIGHLIGHT statement could be teased not to clear
the screen? I have written a script that calls HIGHLIGHT many times, but
each time the screen gets cleared.
:(
Cheers, all! :D
Pablo
--
You received this message from the "vim_use" maillist.
Do not top-post! Type
On 2011-02-02 Daniel Corrêa wrote:
> Try:
>
> :tabnew | silent !man
If i execute !man ls I get the message:
WARNING: terminal is not fully functional
and the displayed man page looks distorted in gvim. Why? I opened up
(gnome-terminal, urxvt, xterm) opened gvim and executed !man ls
If
On 02/02/2011 03:19 PM, Ajay Jain wrote:
I want to be able to open a manpage using VIM without exiting it.
Have you tied to find answer by yourself?
I've newer thought to read man from vim, but have found answer in five
seconds:
:help :Man
It it not very difficult, right?
--
sergio.
--
Y
2011/2/2 Marco :
> On 2011-02-02 Daniel Corrêa wrote:
>
>> Try:
>>
>> :tabnew | silent !man
>
> If i execute !man ls I get the message:
>
> WARNING: terminal is not fully functional
>
> and the displayed man page looks distorted in gvim. Why?
This is not (exactly) a vim issue but man pager'
has() is good, problem is If your in a terminal (gnome-terminal), your
not running any "gui" vim.
I personally would try to check outside vim, maybe env $TERM ?
On Feb 1, 4:23 am, Steve Laurie wrote:
> Hi,
>
> I've searched Vim help and Google as well as done lots of
> experimentation with no luc
On Wed, February 2, 2011 3:04 pm, Joan Miquel Torres Rigo wrote:
> Did you try to run gvim from terminal and try again?
>
> In any case, you could avoid this problem by specifying TERM value in
> command line or setting this environment variable from within vim (I
> don't know, but must be possible
Ajay Jain wrote:
Hi,
I want to be able to open a manpage using VIM without exiting it. For
example .. I want to able to do something like:
vim dumm.c
:tabe man ls .
Is this possible?
Perhaps Manpageview will do what you want; :Man ls
Manpageview is available at:
http://mys
On 02/02/11 02:01, Alan Young wrote:
[...]
if has( 'perl' )
perl<< EOP
[...]
This use of if has() together with a here-document doesn't work because
a Vim without Perl can't properly parse the here-document when trying to
find the *matching* endif.
See
:help script-here
about how t
Hi.
I read about the -S command line flag, as well as the --cmd flag.
Problem is, I need to source an arbitrary vimscript right after all
vimrc files have been read, but before the first file has been read.
So --cmd is too early for me, while -S is too late.
What I need is a flag --foo, such tha
Dun Peal wrote:
Hi.
I read about the -S command line flag, as well as the --cmd flag.
Problem is, I need to source an arbitrary vimscript right after all
vimrc files have been read, but before the first file has been read.
So --cmd is too early for me, while -S is too late.
What I need is a fl
On Wed, 2 Feb 2011, Dun Peal wrote:
Hi.
I read about the -S command line flag, as well as the --cmd flag.
Problem is, I need to source an arbitrary vimscript right after all
vimrc files have been read, but before the first file has been read.
So --cmd is too early for me, while -S is too lat
On 02/02/11 12:03, sergio wrote:
On 02/02/2011 03:19 PM, Ajay Jain wrote:
I want to be able to open a manpage using VIM without exiting it.
Have you tied to find answer by yourself?
I've newer thought to read man from vim, but have found answer in five
seconds:
:help :Man
It it not very d
Reply to message «Re: Sourcing an arbitrary vimscript right after all vimrc
files have been executed?Z»,
sent 21:09:50 02 February 2011, Wednesday
by Benjamin R. Haskell:
> " careful of 'special' chars in filename (including spaces)
> vim --cmd 'let g:extrasource='./path/to/extra.vim
It won't wo
On 02/02/11 17:51, Dun Peal wrote:
Hi.
I read about the -S command line flag, as well as the --cmd flag.
Problem is, I need to source an arbitrary vimscript right after all
vimrc files have been read, but before the first file has been read.
So --cmd is too early for me, while -S is too late.
On 2011-02-02 Joan Miquel Torres Rigo wrote:
> Gvim isn't terminal application and you probably did'nt call it from
> terminal
Yes, I did call it from gnome-terminal, urxvt and xterm.
> aren't terminals and doesn't export any value for TERM environment
> variable.
TERM is set to xterm.
> Did yo
Hi Jonas!
On Mi, 02 Feb 2011, Jonas Geiregat wrote:
> Hello,
>
> You have to excuse me if this is a silly question. But as you might
> have guessed I'm new to vim.
>
> I've defined a variable s:nfile and want to use it in the following
> expression.
>
> !stylus < '%:p' > s:nfile
>
> This does
Thanks a lot, guys. I think I'll use the solution proposed by Mr.
Haskell.
D
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
On Wed, Feb 2, 2011 at 07:59, Tony Mechelynck
wrote:
> See
> :help script-here
> about how to make it work.
Thank you.
I've come up with the following as a way to deal with not having to
re-index lines on an un-modified buffer. Is there anything else I can
do? I realize this will probab
2011/2/2 Marco :
> On 2011-02-02 Joan Miquel Torres Rigo wrote:
>
>> Gvim isn't terminal application and you probably did'nt call it from
>> terminal
> Yes, I did call it from gnome-terminal, urxvt and xterm.
>
>> aren't terminals and doesn't export any value for TERM environment
>> variable.
> TE
This probably doesn't apply to Vim (whose FTP servers are in the
Netherlands) — or is it? (who contributed the Blowfish encryption code?
Wasn't it a US programmer? Or where did he copy the code from?) Anyway,
there are no more restrictions on exporting encryption code from the US
as part of an
On Thu, Feb 03, 2011 at 03:22:59AM +0100, Tony Mechelynck wrote:
> This probably doesn't apply to Vim (whose FTP servers are in the
> Netherlands) ? or is it? (who contributed the Blowfish encryption code?
> Wasn't it a US programmer? Or where did he copy the code from?) Anyway,
> there are no m
On Wed, Feb 2, 2011 at 19:31, Erik Falor wrote:
> Seriously? It's about time! Maybe the sanity is catching, and the
> Patriot Act and the DMCA will go away, too.
I've got a great bridge I'd like to sell you too!
--
Alan Young
--
You received this message from the "vim_use" maillist.
Do not top
Thanks for all of the suggestions. The default gvim works great so far. I
found out you have to save the file as .cpp before it will do syntax
highlighting. It even indents things for me too.
The only problem I have now is with MinGW. I installed it, and it works
great, but the process that I am
Hello,
I want to do something like this
word => ,
becomes
word => word,
with search and replace. Any suggestions?
Thank,
Colin
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://ww
On Feb 2, 2011, at 11:37 PM, Colin Beighley wrote:
> Hello,
>
> I want to do something like this
>
> word => ,
>
> becomes
>
> word => word,
>
:%s/^word\ze => ,/& => &,/
% => whole file
^ => Beginning of line
\ze => end of text to be replaced
& => matched text
Replace 'word' with '\
29 matches
Mail list logo