Bram Moolenaar wrote:
Why at the end of mch_FullName()? I would guess it needs to be done
before this line:
/* expand it if forced or not an absolute path */
if (force || !mch_isFullName(fname))
Ok.
Luca.
diff --recursive --unified vim70/src/os_unix.c vim70-patch/src/os_unix.c
Dear Vim gods,
Please consider adding the following command to Vim:
:bc (for buffer close)
It acts just like :bd , except that if the buffer is in a split window,
it does not remove the window.
Thank you.
Sincerely,
dave
You may even try (untested)
:inoremap CRCR.BS
With the mapping above, you don't have to add a character then delete it: you
hit the Return key, and Vim (with 'nopaste') maps it to hit Return, hit dot,
hit backspace, i.e., the insertion-deletion game is played automatically
Gary Johnson schrieb:
On 2007-04-16, fREW [EMAIL PROTECTED] wrote:
On 4/16/07, Tom Whittock [EMAIL PROTECTED] wrote:
What I need is to always keep the auto-indented spaces. So next time
I can start to insert from the spaced cursor.
Alternatively use cc to edit the ostensibly blank line.
Hi,
I'm using gvim 7.0 the word-completion function activated by CTRL-N.
When selecting the right word by pressing CTRL-N to step trough the list I
select the wanted word with pressing enter.
This results in the right word, but also an extra carriage return.
Is it possible to select the right
On 4/17/07, Eric Leenman [EMAIL PROTECTED] wrote:
Is it possible to select the right word with another key then the enter-key,
and thus staying on the same line before CTRL-N was pressed at all?
Any key expect selection movement keys works. In particular, space key
is my favorite. ;-)
--
On Tue, Apr 17, 2007 at 08:09:06AM +, Eric Leenman wrote:
Hi,
I'm using gvim 7.0 the word-completion function activated by CTRL-N.
When selecting the right word by pressing CTRL-N to step trough the list I
select the wanted word with pressing enter.
This results in the right
On Tue, 10 Apr 2007, Jon Combe wrote:
The following snippet of code, when saved with a .pl file extension
breaks the colour coding in Vim
@split = split ( / |-|\/|\/ , $surname , -1 );
This sometimes annoys me, too. To work around it, use the 'm' operator
specifically, thus:
@split =
Hi vimmers,
I have a very strange problem and couldn't figure out what's going on.
I use the following function for commenting out a line or a block of
lines:
function! Komment2(commentLeader, commentTrailer)
if match( getline(.), ^\ *$ ) 0
let save_cpo = cpoptions
let
On Mon, 2007-04-16 at 19:43 -0700, Barnaby Robson wrote:
Specifically, if anyone would like to help I want to set Tab
Expansion to always be on. Currently any time I switch windows, Tab
Expansion turns itself off. (It remains checked in the menu,
however)
Turn on AutoWrap, this sets
[Apologies, I just realized this message was to the Vim list.]
Barnaby, Cream uses a separate lists:
http://cream.sourceforge.net/about.html
We try to avoid using Vim bandwidth on Cream configuration.
On Tue, 2007-04-17 at 08:15 -0400, Steve Hall wrote:
On Mon, 2007-04-16 at 19:43 -0700,
* Eric Leenman [2007.04.17 04:15]:
Is it possible to select the right word with
another key then the enter-key, and thus staying
on the same line before CTRL-N was pressed at
all?
Yes, just continue typing...
See:
:h popupmenu-keys
It defines the only keys which are special in the
popup
Guido Milanese wrote:
I am sorry to ask such a stupid question, but I'm really puzzled.
I have been using vim for ages now, and for some tasks, not always, I prefer a
GUI. I use a Mandriva Linux distribution and it's all right.
Suddendly the menu bar (not the toolbar with icons, the menu bar
Recently gvim has had the annoying habit of inserting messages in the
text of the document being edited, such as
:confirm wqa
Sometimes they are longer.
Here is my user .gvimrc:
version 7.0
if cp | set nocp | endif
let s:cpo_save=cpo
let cobol_legacy_code = 1
set cpovim
set syntax=auto
imap
On Tuesday 17 April 2007 11:45, Tim Chase wrote:
Recently gvim has had the annoying habit of inserting messages in
the text of the document being edited, such as
:confirm wqa
Sometimes they are longer.
I don't see anything glaringly obvious in your supplied vimrc
files that would
Recently gvim has had the annoying habit of inserting messages in the
text of the document being edited, such as
:confirm wqa
Sometimes they are longer.
I don't see anything glaringly obvious in your supplied vimrc
files that would trigger such behavior. However, there's a
possiblity
-does this happen in one particular type of file but not in
others (such as in *.tex or *.xyz but not in others)
Most of the files I edit are *.tex files so that is not much of a
distinguishing mark.
Ah well...perhaps a tex-filetype mapping?
-does it only happen in one mode? (only in
Hi,
I recently upgraded from vim 6 to vim 7 on my Linux system at work.
Because of how they have stuff configured here at the office, I had to
install to my home directory instead of installing to the system.
This, I don't think, has anything to do with the difficulty I'm
having.
int main( ) {
Daniel Nogradi schrieb:
Hi vimmers,
I have a very strange problem and couldn't figure out what's going on.
I use the following function for commenting out a line or a block of
lines:
function! Komment2(commentLeader, commentTrailer)
if match( getline(.), ^\ *$ ) 0
let save_cpo =
How do I search in a document to the next line that doesn't contain a
specific string? Something along the lines of grep -v.
Thanks,
Kevin.
Using Vim/Gvim 7.0
This email communication and any files transmitted with it may contain
confidential and or proprietary information and is provided for
Hale Boyes, Kevin wrote:
How do I search in a document to the next line that doesn't contain a
specific string? Something along the lines of grep -v.
I suggest trying the LogiPat plugin. To do what you're asking with it:
:LP !string
It takes Boolean logic (!=not |=or =and ()s ) plus
On Tuesday 17 April 2007 12:25, Tim Chase wrote:
-does this happen in one particular type of file but not in
others (such as in *.tex or *.xyz but not in others)
Most of the files I edit are *.tex files so that is not much of a
distinguishing mark.
Ah well...perhaps a tex-filetype
With that knowledge, I'd go spelunking in the $VIMRUNTIME/
folders for the tex-related plugins/syntax/filetype files to see
if there are map commands that should be nnoremap commands.
Or perhaps you have some of your own additions under $HOME/.vim/
that might be bunging matters.
-tim
And what
Hi,
i have a html-file with footnotes converted to plain text and like
to replace the footnotes in the text with the footnotetext many
pages later, eg. the occurrence of [12] with the later definition
(many pages later) like [12] bla bla bla. Does anybody has an
idea, how to achieve this?
Thanks
On 4/17/07, Tim Chase [EMAIL PROTECTED] wrote:
With that knowledge, I'd go spelunking in the $VIMRUNTIME/
folders for the tex-related plugins/syntax/filetype files to see
if there are map commands that should be nnoremap commands.
Or perhaps you have some of your own additions under
i have a html-file with footnotes converted to plain text and
like to replace the footnotes in the text with the
footnotetext many pages later, eg. the occurrence of [12] with
the later definition (many pages later) like [12] bla bla
bla. Does anybody has an idea, how to achieve this?
Without
I like to keep the name in, so that when later changes
are suggested we know who wrote the original.
I don't mind that either :)
after the pointer line. That way, the unused error
text between doesn't break vim's notion of a
multi-line message and also doesn't force us to
Hi,
I would like to filter the results that cscope find sends using some
pipe. For example, here's what I would like to do
:cs find e word | grep -w word
This way I can easily add in some things which cscope find doesn't do,
sadly. What would be the best way to achieve this? Changing vim
Hi all,
When type '(',how to autocommplete ')'?And move the cursor in the (_).
Also the '{', autocommplete the '}' in a new line. And insert the
cursor in a new line.
Like this:
{
_
}
Thanks.
---
Best regards
陈方荣
On 2007-04-17, Ashwin Bharambe [EMAIL PROTECTED] wrote:
Hi,
I would like to filter the results that cscope find sends using some
pipe. For example, here's what I would like to do
:cs find e word | grep -w word
This way I can easily add in some things which cscope find doesn't do,
hello,
I know that both vim and gvim can jump from one window to another by
clicking the mouse, also many other easy facilities.
Here I am using cygwin under XP and my gvim works fine with mouse, but
the vim doesn't in both cmd.ext environment and xterm cases.
Please help me.
Best Regards,
sun
sun wrote:
hello,
I know that both vim and gvim can jump from one window to another by
clicking the mouse, also many other easy facilities.
Here I am using cygwin under XP and my gvim works fine with mouse, but
the vim doesn't in both cmd.ext environment and xterm cases.
Please help me.
Best
David Howland wrote:
Dear Vim gods,
Please consider adding the following command to Vim:
:bc (for buffer close)
It acts just like :bd , except that if the buffer is in a split window,
it does not remove the window.
Thank you.
Sincerely,
dave
You mean if the buffer is displayed it would
On 4/18/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
David Howland wrote:
Dear Vim gods,
Please consider adding the following command to Vim:
:bc (for buffer close)
It acts just like :bd , except that if the buffer is in a split window,
it does not remove the window.
Thank you.
A.J.Mechelynck wrote:
You mean if the buffer is displayed it would do nothing?
No. Delete the buffer, but keep the window open.
I often find myself in this situation:
- Split window, two buffers open.
- Open a new file, look at it, then want to close it.
- i would expect to :bd to delete the
Hi David,
On 4/18/07, David Howland [EMAIL PROTECTED] wrote:
A.J.Mechelynck wrote:
You mean if the buffer is displayed it would do nothing?
No. Delete the buffer, but keep the window open.
I often find myself in this situation:
- Split window, two buffers open.
- Open a new file, look at
Please search before you ask.
http://tech.groups.yahoo.com/group/vim/message/29162
37 matches
Mail list logo