--- Alan G Isaac <[EMAIL PROTECTED]> wrote:
>
> Quoting from :h :bd ::
>
> Actually, the buffer isn't completely deleted, it is
> removed from the buffer list |unlisted-buffer| and
> option values, variables and mappings/abbreviations
> for the buffer are clear
What I wanted to know is could the same functionality have been achieved by a
better sequence of commands? Can an experienced 'vimmer' do better?
There is a comments plugin that I yanked off the Internet a while ago
that can do the same for several different languages.
From the file header:
"
> Alan G Isaac wrote:
>> Suppose I have defined::
>> imap ;fn %\footnote{%}%-i
>> in my tex_ai.vim file in my local ftplugin directory.
>> I create the buffer ``:e c:\temp.tex``
>> then I leave the buffer by deleting it ``:bd``
>> and then later I decide to reopen it ``:e c:\temp.tex``.
Hi,
While we are at the subject of tips for budding Vim scripters -
I had created this mapping -->
nmap com ^:if search('\/\*.*\*\/','c',line("."))!=0
:.s/\/\*\(.*\)\*\//\1/g :else
:.s/\(\s*\)\(.*\)\(\s*\)/\1\/\*\2\*\/\3/g :endif :noh
this command basically toggles C-style commenting on a line i
On Tue, 5 Dec 2006, Michael Phillips apparently wrote:
> What does the I-CTRL_R command do?
:h i_ctrl-r
hth,
Alan Isaac
Towards the bottom of Luc Hermitte message, the following was said:
> substitute(), match*(), exists(), ...
> But also :exe, :normal!, I-CTRL_R, :s, ... which are not functions
> indeed.
What does the I-CTRL_R command do?
TIA
Michael
--- Luc Hermitte <[EMAIL PROTECTED]> wrote:
> Hello,
>
> *
On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote:
Vim may very well be able to do that with built-in commands. I use
the external paragraph reformatter 'par-1.52' for this:
For example, to format and justify this reply in vim, I used:
:'<,'>!par 66j
No, this doesn't answer my question.
My question
Hello,
* On Sat, Dec 02, 2006 at 07:05:40PM +0100, Kim Schulz <[EMAIL PROTECTED]>
wrote:
> It you should give one (or more) tips to a person who was going to
> start creating scripts for vim, then what would it be?
Tough question.
> ideas could be:
> Do's and dont's
* Do know the various kin
Vim may very well be able to do that with built-in commands. I use
the external paragraph reformatter 'par-1.52' for this:
http://www.nicemice.net/par/
For example, to format and justify this reply in vim, I used:
:'<,'>!par 66j
A patch for 'par' also exists to make it work with Unicode UTF
Hi
I know vim understands character sequences that delimit comments in
various programming languages and gqap formats them appropriately.
However, while typing a reply to an e-mail, the gqap command doesn't
seem to identify the end of a paragraph in the original message because
empty lines are
Good question. I only had problems with vcscommand at the time at least.
/Joakim
On tis, 2006-12-05 at 10:08 -0600, Bob Hiestand wrote:
> On 11/30/06, Joakim Olsson <[EMAIL PROTECTED]> wrote:
> > I solved the problem by setting shell to cmd.exe in my .vimrc.
> >
> > The problem stems from the fa
I tested it with '*svn*' and on cygwin grep which is:
grep (GNU grep) 2.5.1
and it worked.
Strangely enough if I put '*.svn*' it didn't work.
bob
Gary Johnson wrote:
Hi Bob,
That doesn't seem to work either. I executed the following:
cd ~/.vim
grep -Rli --exclude=\*syntax\* mainta
Jean-Rene David wrote:
* Lev Lvovsky [2006.12.05 13:53]:
how can I align text under and after the cursor
position to a specific column number?
:.,$s/^\s*/ /g
will align the first non-blank on the fourth
column, from the cursor's line to the end of the
file.
and probably just as importan
Hello,
Lev Lvovsky <[EMAIL PROTECTED]> wrote:
> how can I align text under and after the cursor position to a
> specific column number? and probably just as important, how can I
> find out which column number a cursor is at ;)?
In an unreleased plugin, I have the following definitions
- >
On Tue, 5 Dec 2006, Alan G Isaac wrote:
On Mon, 4 Dec 2006, Bill McCarthy apparently wrote:
Instead of using an autocmd, you could place those maps in a
file called tex.vim in your local ftplugin directory. Place
this single line in such a file:
map :echo 'It worked!'
I did this. It wor
On 2006-12-05, Lev Lvovsky <[EMAIL PROTECTED]> wrote:
> how can I align text under and after the cursor position to a
> specific column number? and probably just as important, how can I
> find out which column number a cursor is at ;)?
:set ruler
will show you the cursor's line and colum
Alan G Isaac wrote:
On Mon, 4 Dec 2006, Bill McCarthy apparently wrote:
Instead of using an autocmd, you could place those maps in a
file called tex.vim in your local ftplugin directory. Place
this single line in such a file:
map :echo 'It worked!'
OK, I did this.
But there is still
* Lev Lvovsky [2006.12.05 13:53]:
> how can I align text under and after the cursor
> position to a specific column number?
:.,$s/^\s*/ /g
will align the first non-blank on the fourth
column, from the cursor's line to the end of the
file.
> and probably just as important, how can I
> find
On Mon, 4 Dec 2006, Bill McCarthy apparently wrote:
> Instead of using an autocmd, you could place those maps in a
> file called tex.vim in your local ftplugin directory. Place
> this single line in such a file:
> map :echo 'It worked!'
OK, I did this.
But there is still a problem.
Su
how can I align text under and after the cursor position to a
specific column number? and probably just as important, how can I
find out which column number a cursor is at ;)?
thanks!
-lev
2006/12/5, KLEIN Stéphane <[EMAIL PROTECTED]>:
Hi,
Can I open "data.fs" file in R/W with ZODB in two programs (two
process, no thread) at the same time ? If not, is there storage system
to do that ?
I'm mistaken of mailing list, sorry for the disturbance.
Stephane
Hi,
Can I open "data.fs" file in R/W with ZODB in two programs (two
process, no thread) at the same time ? If not, is there storage system
to do that ?
Thanks for your help,
Stephane
striker wrote:
My OS is Mac OS X 10.4.8, so yes, it is Unix/Linux based.
After I sent my original e-mail, I did think to check where
$VIMRUNTIME was located. I removed all instances of anything vim*
related.
I then attempted the :Nread command and got what I expected... E492:
Not an edi
My OS is Mac OS X 10.4.8, so yes, it is Unix/Linux based.
After I sent my original e-mail, I did think to check where
$VIMRUNTIME was located. I removed all instances of anything vim*
related.
I then attempted the :Nread command and got what I expected... E492:
Not an editor command: Nrea
On 11/30/06, Joakim Olsson <[EMAIL PROTECTED]> wrote:
I solved the problem by setting shell to cmd.exe in my .vimrc.
The problem stems from the fact that I set the SHELL environment variable
to /usr/bin/bash to make rxvt work for Cygwin. Vim sees that and set shell
to the same value of course.
[ post reordered to conform with mailing list no-top-posting conventions ]
Jeffrey Robertson wrote:
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 4:07 PM
To: Robertson, Jeffrey (CAR:QW32)
Cc: Sean Plank; vim@vim.org
Subject: Re: I can'
striker wrote:
I am having some trouble with Netrw in Vim 7.
I had been using it to ftp to a web server and update files.
I recently began receiving the following error(s) when running :Nread
ftp://[EMAIL PROTECTED]/public_html/
ftp://[EMAIL PROTECTED]/public_html/ [not edited] --no lines in
Hi
Just wanted to thank those involved in colouring syntax.
I've just had a case where I foolishly "ignored" the fact that colouring
was indicating an error! . I often have Javascript, html, mixed up with Php
or Coldfusion and yet the colouring works.
And to think when I moved from Vi to VIM I t
I am having some trouble with Netrw in Vim 7.
I had been using it to ftp to a web server and update files.
I recently began receiving the following error(s) when running :Nread
ftp://[EMAIL PROTECTED]/public_html/
ftp://[EMAIL PROTECTED]/public_html/ [not edited] --no lines in buffer--
If I t
* On Mon, Dec 04, 2006 at 12:09:34PM -0800, Gary Johnson <[EMAIL PROTECTED]>
wrote:
> On 2006-12-04, [EMAIL PROTECTED] wrote:
> > > I tried '-' and '_' in user-defined command name, both are not accepted
> > > (like X_Y, X-Y). Is there maybe some [other] separator that is
> > > allowed in user-d
On 2006-12-05, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Greg Matheson wrote:
> > On Tue, 05 Dec 2006, A.J.Mechelynck wrote:
> >
> >> KLEIN Stéphane wrote:
> >>> Hi,
> >
> >> This is actually OT for Vim, since grep is an external program; but you
> >> can use
> >
> >>grep -r --exclude=PATT
31 matches
Mail list logo