I tried adding this as comment but the autoformatting feature i annoying when
trying to post vim commands.
I was to lazy to look for a description how to do pre formatting.. (That's the
downside on wikis.. You have to find out how to do something again and again)
I added it for you. AmiFormat is
all,
rtfm didn't help ... I'd like to *always* make my regexes behave like
perl, but I find no way to set it as a default. will I have to always
use \v ??
I tend to think that if I can't get vim to do something it's because I
don't know why, not because it is not possible ... so how do I do th
On Thu, Aug 10, 2006 at 10:22:11AM +0800, Vincent Wang wrote:
> Good idea and I am sure it will help many persons!
> One suggestion, why not put your tips to www.vim.org's tips page and
> post a notification in this maillist? That will make your tip well
> archived and easier to reach.
This tip
martin kraegeloh wrote:
all,
rtfm didn't help ... I'd like to *always* make my regexes behave like
perl, but I find no way to set it as a default. will I have to always
use \v ??
I tend to think that if I can't get vim to do something it's because I
don't know why, not because it is not possi
Patch Unofficial
Problem:Menu and toolbar: Doesn't display properly when using
zh_CN.GBK encoding under Linux.
Solution: Use gb2312 to generate the menu and toolbar to get proper
display, then use cp936 instead of GBK which is a correct alias under
Linux.
Files: runtime/menu.vim
*** ru
I would agree with Marc.
The vim tips currently does not have any structured organisation.
May be, we can organize using wiki.
Regards,
Shankar
>-Original Message-
>From: Marc Weber [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 10, 2006 3:08 PM
>To: vim@vim.org
>Subject: Re: Tips f
Hi Martin,
Unfortunately, I don't think there's any way to use \v by default for every
pattern.
It may help to remember that when you have the default 'magic' option set, Vim
only recognizes 5 special characters without backslash:
^
$
.
*
[ (if there is a matching ] to make a collection
I am about to fix the bug that is mentioned in the todo.
There is one remaining ambiguity on which I need to consut the
community. The testcase that illustrates the bug is at the end.
First, about the bug that needs to be fixed. It is in handling of \\ when
\\ precedes th whitespace. I was bitte
On Wed, 9 Aug 2006 23:03:12 -0400, Alan G Isaac <[EMAIL PROTECTED]>
wrote:
> On Thu, 10 Aug 2006, "A.J.Mechelynck" apparently wrote:
> > What is "the raw string notation from Python" ?
> > IMHO it would only create one additional type of string. We already have
> > single-quoted 'raw' strings i
On Thu, 10 Aug 2006, Matthew Winn apparently wrote:
> But "..." versus '...' is just as explicit.
Ah, that explains why the question keeps coming up on this
list and never in a Python forum ... Or not?
> In fact, apart from Python and XML I can't think of any
> languages that don't make a dist
Hi Hari:
I detailed compared ido.el and lookupfile.vim today, below are some
of the ido features that I personally think more convenient than the
current
lookupfile plugin:
- Ido don't need user to generate & update tagfile (and don't have things
like LookupFile_MinPatLength and performance
Hi
Am 10.08.2006 16:02:54 schrieb Alan G Isaac:
> On Thu, 10 Aug 2006, Matthew Winn apparently wrote:
> > But "..." versus '...' is just as explicit.
>
> Ah, that explains why the question keeps coming up on this
> list and never in a Python forum ... Or not?
>
> > In fact, apart from Python
Hi,
Very often, I open a lot of files to edit. When I exiting vim, vim
prompt me to save every file which contain changes not saved yet. So,
- Is there plugin that could highlight the
changed-yet-not-saved-lines (possibly with yellow background), so that
I could easily locate and check those c
Mike Bradley wrote:
I would like to be able to open up a vim instance from
anywhere with my vim settings.
One way I can think to do this is by editing my .vimrc
file to load my colors, plugings, autoloads etc. and
then putting all those files on the internet so that I
can source it from anywhere
On 8/10/06, Eddy Zhao <[EMAIL PROTECTED]> wrote:
Hi,
Very often, I open a lot of files to edit. When I exiting vim, vim
prompt me to save every file which contain changes not saved yet. So,
- Is there plugin that could highlight the
changed-yet-not-saved-lines (possibly with yellow backgrou
- Is there plugin that could highlight the
changed-yet-not-saved-lines (possibly with yellow background), so that
I could easily locate and check those changes and decide whether to
save it or not.
I've done something like this in the past that is roughly like:
:diffthis
:belo
martin kraegeloh wrote:
rtfm didn't help ... I'd like to *always* make my regexes behave like
perl, but I find no way to set it as a default. will I have to always
use \v ??
I tend to think that if I can't get vim to do something it's because I
don't know why, not because it is not possible ..
Hi all,
The ability to split windows is an absolute essential; however, there are times when I want to focus on one buffer in one window and
hide all of the other windows. But, I don't know of any show/hide feature that hides all windows but the current window. As a
workaround, I resize all o
Hey everyone,
Is there a way to make it so that when I am editing something like this:
function foo() {
$blah;
$blah2;
}
And then I decide that I want to remove $blah2, so I start to press
backspace from here:
fucntion foo() {
$blah;
$blah2; <- cursor here
}
and then when I get
And then I decide that I want to remove $blah2, so I start to press
backspace from here:
fucntion foo() {
$blah;
$blah2; <- cursor here
}
and then when I get to the beginning of the line, it stops. Can I make
it so that it will follow up to the end of $blah on the previous line?
S
The problem is your setting of backspace. It sounds like currently bs is
equal to "indent,start" or something similar. You need
"indent,start,eol". The easiest way to do this is simply put this in
your .vimrc file:
:set bs=2
That should do it!
Max
> -Original Message-
> From: Ben lemasu
Today (Thu, 10 Aug 2006), Ben lemasurier wrote:
> And then I decide that I want to remove $blah2, so I start to press
> backspace from here:
>
> fucntion foo() {
>$blah;
>$blah2; <- cursor here
> }
>
> and then when I get to the beginning of the line, it stops. Can I
> make it so tha
Yes there is a way in Vim without additional plugins. Take a look
at :help :mksession and :help :mkview
The way I use it is to set up 3-4 open windows with the files I
frequently visit. Then
:mksession myview.vim
Then when I want to go back to that configeration I use:
:so myview.vi
I personally have never found the need to actually hide the other
windows, but I do always keep the current window maximised. One way to
do this is to set wh=10, but this kills the quickfix window. If you
use the quickfix window a lot (that's the one which shows compile errors
or grep results),
From: "Christian J. Robinson" <[EMAIL PROTECTED]>
Subject: Re: delete lines
Date: Thu, 10 Aug 2006 12:00:45 -0600 (MDT)
Hi,
> Today (Thu, 10 Aug 2006), Ben lemasurier wrote:
>
> > And then I decide that I want to remove $blah2, so I start to press
> > backspace from here:
> >
> > fucntion foo()
is it also possible to enable the backspace key in normal mode --
the delete key is working in normal, so why should I miss the
backspace key ?
:nnoremap X
(all typed literally with greater-than and less-than signs included)
should do the trick.
-tim
Steve Amerige wrote:
The ability to split windows is an absolute essential; however, there
are times when I want to focus on one buffer in one window and hide
all of the other windows. But, I don't know of any show/hide feature
that hides all windows but the current window. As a workaround
From: Tim Chase <[EMAIL PROTECTED]>
Subject: Re: delete lines
Date: Thu, 10 Aug 2006 13:22:27 -0500
> > is it also possible to enable the backspace key in normal mode --
> > the delete key is working in normal, so why should I miss the
> > backspace key ?
>
>
> :nnoremap X
>
> (all typed lite
Alan G Isaac wrote:
On Thu, 10 Aug 2006, Matthew Winn apparently wrote:
But "..." versus '...' is just as explicit.
Ah, that explains why the question keeps coming up on this
list and never in a Python forum ... Or not?
In fact, apart from Python and XML I can't think of any
languages that
On 8/10/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Type ctrl-w o to toggle between maximizing one window and restoring
to all. By maximizing, I mean that the current
window will take over the entire display, not leaving a lot of status
bars around.
Actually, Ctrl-w o will close
He means when using the script that he wrote and which he was discussing
in the same email, which remaps ctrl-w o to do something else.
Max
> -Original Message-
> From: Rodolfo Borges [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 11:43 AM
> To: vim@vim.org
> Subject: Re: Sho
On Thu, Aug 10, 2006 at 11:02:50PM +0800, Eddy Zhao wrote:
> Hi,
>
> Very often, I open a lot of files to edit. When I exiting vim, vim
> prompt me to save every file which contain changes not saved yet. So,
>
> - Is there plugin that could highlight the
> changed-yet-not-saved-lines (possibly
Charles E Campbell Jr wrote:
martin kraegeloh wrote:
rtfm didn't help ... I'd like to *always* make my regexes behave like
perl, but I find no way to set it as a default. will I have to always
use \v ??
I tend to think that if I can't get vim to do something it's because
I don't know why, no
Hi Chip,
Perhaps ZoomWin will do what you want...
http://vim.sourceforge.net/scripts/script.php?script_id=508
Thank you for this... it's just what I was hoping for! And, thanks for the
other responses. It shows how great Vim is!
Enjoy,
Steve Amerige
Adobe Systems Incorporated
On Thu, 10 Aug 2006 11:43:56 -0700
"Max Dyckhoff" <[EMAIL PROTECTED]> wrote:
> He means when using the script that he wrote and which he was
> discussing in the same email, which remaps ctrl-w o to do something
> else.
and it works perfectly :-) Use it a lot here.
--
Kim Schulz| Private
Alexander 'boesi' Bösecke wrote:
Hi
Am 10.08.2006 16:02:54 schrieb Alan G Isaac:
On Thu, 10 Aug 2006, Matthew Winn apparently wrote:
But "..." versus '...' is just as explicit.
Ah, that explains why the question keeps coming up on this
list and never in a Python forum ... Or not?
In fact,
On Thu, Aug 10, 2006 at 02:42:57PM EDT, Rodolfo Borges wrote:
> On 8/10/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> >Type ctrl-w o to toggle between maximizing one window and restoring
> >to all. By maximizing, I mean that the current
> >window will take over the entire display, not
:nnoremap X
with this I cannot cross lines (delete $ between line and line
coming from line while backspacing and it is not possible to
delete the last (or in other words the first char after ^ ) char of a
line.
Something perhaps like
:nnoremap i
might do the trick. One edge-c
On 8/10/06, Marc Weber <[EMAIL PROTECTED]> wrote:
On Thu, Aug 10, 2006 at 11:02:50PM +0800, Eddy Zhao wrote:
> Hi,
>
> Very often, I open a lot of files to edit. When I exiting vim, vim
> prompt me to save every file which contain changes not saved yet. So,
>
> - Is there plugin that could high
I had some trouble but I was able to try ido.el. At first, emacs that
came with cygwin didn't start at all, even when I had X running, so I
downloaded it separately from gnu.org. I installed ido.el directly under
lisp directory, as I don't know how to put it in a user directory. Next
I had trouble
Hello,
I'd like to know if there's a way to get rid of the top horizontal
window that appears while we're using omnicompletion.
Right now, after I Ctrl_X Ctrl_O and find the one I want I just type
it. While the balloon list disappears the horizontal window with the
info stays, so I have to
Ctr_
>>I agree with Chip and have a recommendation. Since you have been
>>using Vim, Perl will be much easier to learn.
>>When I first began studying programming Perl was over my head and
>>seemed very difficult.
>I found it incredibly easy to learn Perl. I was faced with a large
>data-reformatt
Zitat von Tim Chase <[EMAIL PROTECTED]>:
:nnoremap X
with this I cannot cross lines (delete $ between line and line
coming from line while backspacing and it is not possible to
delete the last (or in other words the first char after ^ ) char of a
line.
Something perhaps like
:n
I don't think this should replace vim.org but it might link to the tips/
scripts there
Benefits: Its easier to keep it up to date (on vim.org you'll get
still outdated matches..
IMO this is an excellent idea. I am a web developer and willing to help.
4mir
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Hello Vim List,
The function reltimestr() return a string which may have
leading spaces. Is that a bug or a feature?
A workaround for this is:
function Reltimestr(t)
return matchstr(reltimestr(a:t),'[0-9.]\+')
endfunction
--
Best regards,
Bill
On Thu, Aug 10, 2006 at 03:28:22PM EDT, Charles E Campbell Jr wrote:
> cga2000 wrote:
>
> >On Thu, Aug 10, 2006 at 02:42:57PM EDT, Rodolfo Borges wrote:
> >
> >>On 8/10/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> >>
> >>>Type ctrl-w o to toggle between maximizing one window and r
Edward L. Fox wrote:
> Patch Unofficial
> Problem:Menu and toolbar: Doesn't display properly when using
> zh_CN.GBK encoding under Linux.
> Solution: Use gb2312 to generate the menu and toolbar to get proper
> display, then use cp936 instead of GBK which is a correct alias under
> Linux.
>
Bram, you have an overflow in your signature :)
Max
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 1:44 PM
> Subject: Re: Patch (Unofficial): Malformed characters in menu and
toolbar
> when using zh_CN.GBK encoding under Linux
>
>
> I am assuming that you have output like this:
>
> ---
> | Field1 | Field2 | Field3 | Field4 | ... |
> ---
> | Value1 | Value2 | Value3 | Value4 | ... |
> ---
Exact
Marc Weber wrote:
On Thu, Aug 10, 2006 at 10:22:11AM +0800, Vincent Wang wrote:
Good idea and I am sure it will help many persons!
One suggestion, why not put your tips to www.vim.org's tips page and
post a notification in this maillist? That will make your tip well
archived and easier to
Currently I'm using win XP.
I just install dual OS with fedora core 5 and I installed vim 7
mannually from source. installation successful.
I created .gvimrc in my home folder and I put gvimrc.vim.example in to
this folder but vim seems not detected this file.
Could anyone tell me what's the exact
Hi vimmers,
Sorry for sending this mail for the second time because my previous
mail with attachment was rejected by the mail daemon. :-(
On 8/11/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
[...]
The menu.vim file should never change 'encoding'. It should load menus
that are appropriate fo
Vu The Cuong wrote:
Currently I'm using win XP.
I just install dual OS with fedora core 5 and I installed vim 7
mannually from source. installation successful.
I created .gvimrc in my home folder and I put gvimrc.vim.example in to
this folder but vim seems not detected this file.
Could anyone tel
Hi,
Max Dyckhoff wrote:
> Bram, you have an overflow in your signature :)
>
> Max
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, August 10, 2006 1:44 PM
>> Subject: Re: Patch (Unofficial): Malformed characters in menu and
> toolbar
>> whe
Hi Hari:
I tried the new plugin. Excellent! Exactly what I want. There are
several missing features I think could make lookupfile even more
effecient & useful. Can you evaluate these features also ?
- include opened buffer as matching target (ido feature)
- order matching files by mru first, f
Seems vim still lack of these two features.
Thanks everybody
Eddy
2006/8/11, Bob Hiestand <[EMAIL PROTECTED]>:
On 8/10/06, Marc Weber <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 10, 2006 at 11:02:50PM +0800, Eddy Zhao wrote:
> > Hi,
> >
> > Very often, I open a lot of files to edit. When I exitin
Thanks you for quick answer
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 12:22 PM
To: Vu The Cuong
Cc: vim@vim.org
Subject: Re: _vimrc in fedora core 5
Vu The Cuong wrote:
> Currently I'm using win XP.
> I just install dual OS with fedo
57 matches
Mail list logo