On 2007-03-13, Peng Yu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Suppose I use p to paste something, the cursor always goes to the end
> of the pasted text. Is there any other key to paste will keep the
> cursor before the pasted text?
See
:help `[
You could either type `[ after the p to move th
On 3/13/07, John Wiersba <[EMAIL PROTECTED]> wrote:
When I use
:e file*
under cygwin (a Unix emulator running on
Windows), I get an error saying "E77: Too many filenames". But in fact
there is only one such file. However, there are other files matching
FILE*. How can I turn off this behavi
Michael F. Lamb wrote:
Hello,
I'm using the 'dwm' window manager in "tiled layout," which enforces a
fixed-size window. http://www.suckless.org/wiki/dwm
Using gtk+ gvim 7.0.122, with some combinations of guifont and
guioptions settings, the vim command line ends up half-outside its
window.
Luc Hermitte wrote:
Hello,
* On Tue, Mar 13, 2007 at 11:29:28PM +0100, A.J.Mechelynck <[EMAIL PROTECTED]>
wrote:
How can a Vim script know if we're running without an X connection?
Of course, some cases are obvious, such as
if has('unix') && !has('x11')
meaning we're on Unix with no
Hello,
I'm using the 'dwm' window manager in "tiled layout," which enforces a
fixed-size window. http://www.suckless.org/wiki/dwm
Using gtk+ gvim 7.0.122, with some combinations of guifont and
guioptions settings, the vim command line ends up half-outside its
window. It seems like it miscalc
Hello,
* On Tue, Mar 13, 2007 at 11:29:28PM +0100, A.J.Mechelynck <[EMAIL PROTECTED]>
wrote:
> How can a Vim script know if we're running without an X connection?
>
> Of course, some cases are obvious, such as
>
> if has('unix') && !has('x11')
>
> meaning we're on Unix with no X11 suppor
Cameron Simpson wrote:
On 13Mar2007 23:29, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
| How can a Vim script know if we're running without an X connection?
| Of course, some cases are obvious, such as
| if has('unix') && !has('x11')
| meaning we're on Unix with no X11 support compiled-in.
|
On 13Mar2007 23:29, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
| How can a Vim script know if we're running without an X connection?
| Of course, some cases are obvious, such as
| if has('unix') && !has('x11')
| meaning we're on Unix with no X11 support compiled-in.
|
| But what about an X-en
Kamaraju S Kusumanchi schrieb:
Andy Wokula wrote:
Ok tabpages are included in the session per default. Try
:set sessionoptions-=tabpages
first.
Awesome! Thanks a lot!
:help 'sessionoptions'
The help is a bit confusing. It says
There is no option to include tab pages yet, only
How can a Vim script know if we're running without an X connection?
Of course, some cases are obvious, such as
if has('unix') && !has('x11')
meaning we're on Unix with no X11 support compiled-in.
But what about an X-enabled Vim running in console mode, either with the -X
command-line
Hi,
Suppose I use p to paste something, the cursor always goes to the end
of the pasted text. Is there any other key to paste will keep the
cursor before the pasted text?
Thanks,
Peng
Andy Wokula wrote:
> Ok tabpages are included in the session per default. Try
> :set sessionoptions-=tabpages
> first.
>
Awesome! Thanks a lot!
> :help 'sessionoptions'
>
The help is a bit confusing. It says
There is no option to include tab pages yet, only the current tab page
When I use
:e file*
under cygwin (a Unix emulator running on
Windows), I get an error saying "E77: Too many filenames". But in fact
there is only one such file. However, there are other files matching
FILE*. How can I turn off this behavior so that vim under cygwin performs
case-sensitive
Kamaraju S Kusumanchi schrieb:
Andy Wokula wrote:
Simple way (recommended or not, at least quick) with sessions:
:mks
" use ! to overwrite existing Session.vim
:tabnew
:so Session.vim
Just guessed it might work and it works.
Now I think sessions don't include tabpages.
This works although I
Greetings, Vim users!
The ICCF Holland foundation is Vim's charity. Vim users are asked to
consider helping needy children in Kibaale, Uganda. Since April 2006
the Vim sponsorship and registration is also destined for this project.
The financial report for 2006 is now available. You can find
Andy Wokula wrote:
>
> Simple way (recommended or not, at least quick) with sessions:
>
> :mks
> " use ! to overwrite existing Session.vim
> :tabnew
> :so Session.vim
>
> Just guessed it might work and it works.
> Now I think sessions don't include tabpages.
>
This works although I use tabe in
Michael Wookey wrote:
> > OTOH, the svn repository is known to "lag behind" the other
> > repositories, sometimes by a week or more: diffing against it runs
> > the risk of forking the code. IIUC, the "latest on nluug.nl" is also
> > the "latest official version" at any point in time. You can com
Kamaraju S Kusumanchi schrieb:
Let's say I opened a 6 files in a 3X2 grid inside vim. Now I want to clone
this and have all the files at the same position, same window sizes etc.,
and put it into a new tab under the same vim session. Is there a command to
do this?
commands like tabe etc., open o
Thanks for replying. The examples you gave me has help me to understand the
command. I may not every use it.
Thanks for the info
Michael
--- Tim Chase <[EMAIL PROTECTED]> wrote:
> > Would someone please explain the usage of @=. I am getting
> > confuse from the help file.
> >
> > [EMAIL PROTE
Let's say I opened a 6 files in a 3X2 grid inside vim. Now I want to clone
this and have all the files at the same position, same window sizes etc.,
and put it into a new tab under the same vim session. Is there a command to
do this?
commands like tabe etc., open only a single file. But I want to
Would someone please explain the usage of @=. I am getting
confuse from the help file.
[EMAIL PROTECTED] Matches the preceding atom with zero width. {not in Vi}
Like "(?=pattern)" in Perl.
Example matches ~
foo\(bar\)[EMAIL PROTECTED] "fo
Am Dienstag 06 März 2007 schrieb Tobias Pflug:
> If I might add my impression:
>
> Generally I think it is indeed quite likable. Just some thoughts :
>
> Looking at :
> http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox/Tip_1:_
>the_super_star
Hello,
The first thing I noticed it
I flip between ex commands and macros for semi-automated file
conversion and most of what I'd say has been covered, but I'll toss in
a personal quirk from my .vimrc.
By default, both ` and ' do approximately the same thing in that they
jump to a mark (' is a linewise `, it positions the cursor at
fREW wrote:
Does anyone here know if there is anyone trying to set up
omnicompletion for C#/.NET? I know that you can get vim for visual
studio, but that doesn't work with the express editions, which is what
I am stuck with when I code almost anywhere other than my personal
computer.
Thanks in
Would someone please explain the usage of @=. I am getting confuse from the
help file.
[EMAIL PROTECTED] Matches the preceding atom with zero width. {not in Vi}
Like "(?=pattern)" in Perl.
Example matches ~
foo\(bar\)[EMAIL PROTECTED] "foo
Peng Yu wrote:
Hi,
Suppose I have horizontal splited window1 and window2, is there any
way to change them into vertical split and vice versa?
Thanks,
Peng
To change *two* vertically split windows to horizonally split
^Wt^WK
Horizontally to vertically:
^Wt^WH
where ^W mean
Am Dienstag 06 März 2007 schrieb Tobias Pflug:
> If I might add my impression:
>
> Generally I think it is indeed quite likable. Just some thoughts :
>
> Looking at :
> http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox/Tip_1:_
>the_super_star
Hello,
The first thing I noticed it
Akbar wrote:
Hi,
I have this part of html file:
haha
The cursor is in first line (the opening div). When I hit certain key,
the cursor will go to the third line (the closing div). There is a
script to achieve this. I just forgot the name. Could you tell me the
name?
Thank you.
matchit. I
Does anyone here know if there is anyone trying to set up
omnicompletion for C#/.NET? I know that you can get vim for visual
studio, but that doesn't work with the express editions, which is what
I am stuck with when I code almost anywhere other than my personal
computer.
Thanks in advance!
-fRE
Mr. Shawn H. Corey wrote:
fREW wrote:
What you may want to do is look into your GNOME documentation. Most
window managers have options on what to do with certain apps when they
run. For instance I have firefox load in one virtual desktop, and I
have amaroK load in another, and I have eclipse r
Mr. Shawn H. Corey <[EMAIL PROTECTED]> words
on 13.03.2007 - 09:28 (-0400 Zulu-Time):
> I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any
> command I can put inn my .gvimrc that will maximize the window at
> startup? I tried:
>
> :autocmd GUIEnter * simalt
>
> But s
Mr. Shawn H. Corey wrote:
François Ingelrest wrote:
Because it's managed by the window manager, not by the app itself. You
may be able to set the size to what your screen is able to display,
but I don't think you'll be able to "really" maximize the window.
Yes, but I thought there is a comman
Mr. Shawn H. Corey wrote:
> François Ingelrest wrote:
> >Because it's managed by the window manager, not by the app itself. You
> >may be able to set the size to what your screen is able to display,
> >but I don't think you'll be able to "really" maximize the window.
>
> Yes, but I thought there i
Mr. Shawn H. Corey wrote:
A.J.Mechelynck wrote:
The portable way to maximize gvim at startup (well, with maybe at
times a one-character-cell rounding error in the size of the Vim
screen) is
if has("gui_running")
set lines= columns=
endif
The above (which is in my .vim
François Ingelrest wrote:
Because it's managed by the window manager, not by the app itself. You
may be able to set the size to what your screen is able to display,
but I don't think you'll be able to "really" maximize the window.
Yes, but I thought there is a command in the window manager API
fREW wrote:
What you may want to do is look into your GNOME documentation. Most
window managers have options on what to do with certain apps when they
run. For instance I have firefox load in one virtual desktop, and I
have amaroK load in another, and I have eclipse run fullscreen.
Surely there
Matchit seems to come standard with all versions of Vim I have had the
pleasure to use these days. On the standard Vim 7.0 you get for
Windows, as well as for Gentoo, I have had matchit included, with
specific instructions in the help using matchit as the typical example
for plugins.
From us
* Peng Yu [2007.03.13 12:15]:
> Suppose I have horizontal splited window1 and
> window2, is there any way to change them into
> vertical split and vice versa?
CTRL-W H
CTRL-W J
Note the capital "H" and "J".
--
JR
* Albie Janse van Rensburg [2007.03.13 10:00]:
> You are looking for %. In order to enable the
> use of it, you need to enable the matchit
> plugin. See :help matchit
matchit is an external plugin.
http://www.vim.org/scripts/script.php?script_id=39
--
JR
Hi,
Suppose I have horizontal splited window1 and window2, is there any
way to change them into vertical split and vice versa?
Thanks,
Peng
What you may want to do is look into your GNOME documentation. Most
window managers have options on what to do with certain apps when they
run. For instance I have firefox load in one virtual desktop, and I
have amaroK load in another, and I have eclipse run fullscreen.
Surely there are options
On 3/13/07, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
Why it's there a command to simply maximize the window?
Because it's managed by the window manager, not by the app itself. You
may be able to set the size to what your screen is able to display,
but I don't think you'll be able to "really
Hello Akbar
You replied to my address only, so I'm copying the list in on this. In
future, use "Reply to list" if your mail client supports it, or "Reply
to All", just so we all can share.
Have you set the filetype correctly in your HTML file? Matchit works
off the filetype definitions to
A.J.Mechelynck wrote:
The portable way to maximize gvim at startup (well, with maybe at times
a one-character-cell rounding error in the size of the Vim screen) is
if has("gui_running")
set lines= columns=
endif
The above (which is in my .vimrc) used to work for me on W
I still have problem. % does perfectly in C source code (mathing curly
braces). But it does nothing in html tag for html file. Any idea?
Sorry for double post for Albie.
On 3/13/07, Albie Janse van Rensburg <[EMAIL PROTECTED]> wrote:
You are looking for %. In order to enable the use of it, you
Mr. Shawn H. Corey wrote:
Hi,
I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any
command I can put inn my .gvimrc that will maximize the window at
startup? I tried:
:autocmd GUIEnter * simalt
But simalt does not work in Linux.
I may not know much about GUIs but ever one
Zarko Coklin wrote:
And Tony does it again ;-)
Thanks Tony!
~~~
Zarko Coklin wrote:
Is it possible to have a setup in .vimrc so that
every
time I select tag either through "CTRL-]" or by
holding CTRL and pressing left mouse click to open a
You are looking for %. In order to enable the use of it, you need to
enable the matchit plugin. See :help matchit
Regards
Albie
Akbar wrote:
Hi,
I have this part of html file:
haha
The cursor is in first line (the opening div). When I hit certain key,
the cursor will go to the third lin
Hi,
I have this part of html file:
haha
The cursor is in first line (the opening div). When I hit certain key,
the cursor will go to the third line (the closing div). There is a
script to achieve this. I just forgot the name. Could you tell me the
name?
Thank you.
Hi,
I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any
command I can put inn my .gvimrc that will maximize the window at
startup? I tried:
:autocmd GUIEnter * simalt
But simalt does not work in Linux.
I may not know much about GUIs but ever one I read so far has an API
c
> Ok. So a possible shortcut to type this could be:
>*:%s///&_/gc
> Then: yn to accept/reject substitutions.
Definitely, if that's good with your workflow. I find
it disturbing to jump to another location (triggered by
the initial "*") so I tend not to use it, but your way
is certainly parsi
"Tim Chase" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
: > While editing a file, I decide to rename "someIdentifier" to
: > "someIdentifier_" - I will need to append the underscore to
: > several (but usually not all) instances of the word.
:
: The typical way to do this would be
52 matches
Mail list logo