When maps for mouse clicks are executed, can we have the location (in
the form of line and column number) made available through v: variables?
I just observed that getchar() works even with mouse clicks, but this is
almost useless without knowing where the user clicked. Capturing mouse
clicks
Hari Krishna Dara wrote:
When maps for mouse clicks are executed, can we have the location (in
the form of line and column number) made available through v: variables?
I just observed that getchar() works even with mouse clicks, but this is
almost useless without knowing where the user clicked.
When using |completion-function|, Vim is marking the buffer as modified,
as soon as the popup is triggered. When a plugin offers matches using
'completefunc' the user should be able to cancel by pressing C-E
and this shouldn't leave the buffer as modified.
Here is a sample function to show what
Hari Krishna Dara wrote:
When maps for mouse clicks are executed, can we have the location (in
the form of line and column number) made available through v: variables?
I just observed that getchar() works even with mouse clicks, but this is
almost useless without knowing where the user
Hari Krishna Dara wrote:
When using |completion-function|, Vim is marking the buffer as modified,
as soon as the popup is triggered. When a plugin offers matches using
'completefunc' the user should be able to cancel by pressing C-E
and this shouldn't leave the buffer as modified.
Here is
Bill McCarthy wrote:
When I open a session created by mksession, a [No Name]
buffer is created for each tab that is created. My
'sessionoptions' contains all the options except sesdir,
slash and unix. I checked buffers with 'ls!' before saving
the session. I startup with:
gvim -S
Gary Johnson wrote:
I don't think that's true. Vim :help comprises two manuals:
Vim User Manual - :help user-manual
Vim Reference Manual - :help reference
This is even discussed in :help 01.1. The User Manual is written
in a different style than the Reference Manual and is more readable.
I
On 10/20/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote:
The above problem with the quickfix window and the 'switchbuf' option
set to 'usetab' is now fixed by patch 7.0.146.
- Yegappan
Thanks, I will check it out.
Marius
On Sat, 21 Oct 2006 at 1:59pm, Bram Moolenaar wrote:
Hari Krishna Dara wrote:
When using |completion-function|, Vim is marking the buffer as modified,
as soon as the popup is triggered. When a plugin offers matches using
'completefunc' the user should be able to cancel by pressing C-E
Gary Johnson wrote:
I don't think that's true. Vim :help comprises two manuals:
Vim User Manual - :help user-manual
Vim Reference Manual - :help reference
This is even discussed in :help 01.1. The User Manual is written
in a different style than the Reference Manual and is more readable.
On Sat 21-Oct-06 6:59am -0600, Bram Moolenaar wrote:
This happens when the edited file already is in the buffer list.
I'll fix it by using tabedit instead of tabnew | edit.
Ah, thanks for explaining that. I knew that making that
replacement solved the problem but didn't know why.
I had used
On Sat, 21 Oct 2006 at 11:19am, Hari Krishna Dara wrote:
On Sat, 21 Oct 2006 at 1:59pm, Bram Moolenaar wrote:
Hari Krishna Dara wrote:
When maps for mouse clicks are executed, can we have the location (in
the form of line and column number) made available through v: variables?
Hi ...
When there is no empty lines bellow the long line (at the end of file)
you can't format the line using gq option...
Also it would be less annoying when opening file and swap file is found
(another vim is running in this case). Then you click on Quit and you
have to press a key! IMHO
On Sat, 21 Oct 2006 22:40:32 +0200
Pero Brbora [EMAIL PROTECTED] wrote:
Hi ...
When there is no empty lines bellow the long line (at the end of file)
you can't format the line using gq option...
This one I completely agree with. I always start out by adding a lot of
empty lines to the
On Sat 21-Oct-06 3:40pm -0600, Pero Brbora wrote:
When there is no empty lines bellow the long line (at the
end of file) you can't format the line using gq option...
What are you doing? If I use this test file:
=== testfile ===
vim: set tw=10 fo=tcq2:
this
On Sat, Oct 21, 2006 at 10:40:32PM +0200, Pero Brbora wrote:
Hi ...
When there is no empty lines bellow the long line (at the end of file)
you can't format the line using gq option...
I agree with one of the other replies: gqq works for me.
Also it would be less annoying when opening
I agree with one of the other replies: gqq works for me.
Ok, my bad. It works for me too... :)
I learned gqCR and didn't know about gqq -
much better...
Thanks
_
Express yourself instantly with MSN Messenger! Download
Hi,
Suppose I need to regular expression replacement for a bunch of files.
Of cause, I can use sed. However, it seems that sed is not fully
compatible with vim. I'm more familiar with vim. I know the vim
commands that I should use to do the replacements.
I'm wondering if there is any automatic
On Sat 21-Oct-06 8:37pm -0600, Peng Yu wrote:
Suppose I need to regular expression replacement for a bunch of files.
Of cause, I can use sed. However, it seems that sed is not fully
compatible with vim. I'm more familiar with vim. I know the vim
commands that I should use to do the
On Oct 21, 2006, at 11:46 AM, Java Bob wrote:
Gary Johnson wrote:
I don't think that's true. Vim :help comprises two manuals:
Vim User Manual - :help user-manual
Vim Reference Manual - :help reference
This is even discussed in :help 01.1. The User Manual is written
in a different style
From: Benji Fisher [EMAIL PROTECTED]
Subject: Re: Plain TeX support ?
Date: Fri, 20 Oct 2006 15:31:33 -0400
On Mon, Sep 25, 2006 at 08:07:22PM +0200, Meino Christian Cramer wrote:
[snip]
After I wrote my first TeX-text without Emacs/AucTeX spontaneous I
would say the following things
Hi,
I wrote this snippet:
fun! Ffunchdr()
let date = strftime( %F )
put='/*-*/'
put='/**'
put=' * desc'
put=' *'
Olaf Hering wrote:
The shell syntax highlighting does not work for the bash 'left bitwise shifts'.
I have uploaded the example script and screen show to
http://www.aepfle.de/linux/vim/
The offending line is:
(( of_disk_addr = ( (of_disk_scsi_chan16) | (of_disk_scsi_id8)
|
* A.J.Mechelynck antoine.mechelynck@ [061021 08:01]:
IMHO, the way to configure it is not by hacking Vim but (at
least in console Vim) by having a properly-built
termcap/terminfo which tells Vim which codes correspond to
which keys.
IIRC, only user can tell what will Meta+Key send and it has
Igor Dvorkin wrote:
Many windows apps support a clipboard pasting format of HTML. This is
how you can copy code in Visual Studio 2005 and paste it into outlook
and see syntax highlighting.
I recommend something similar be done for VIM. Today, we have toHTML,
that's reasonable, but ideally
Alexey I. Froloff wrote:
* A.J.Mechelynck antoine.mechelynck@ [061021 08:01]:
IMHO, the way to configure it is not by hacking Vim but (at
least in console Vim) by having a properly-built
termcap/terminfo which tells Vim which codes correspond to
which keys.
IIRC, only user can tell what will
Hello *
What is the added value of marking
it as HTML on the clipboard?
The added value is that you are able to paste the text into a word
processing program like AbiWord, MS Word or StarWriter in a way that
the HTML-Tags are not shown, but are interpreted by the word
processing program in
Mathias Michaelis wrote:
Hello *
What is the added value of marking
it as HTML on the clipboard?
The added value is that you are able to paste the text into a word
processing program like AbiWord, MS Word or StarWriter in a way that
the HTML-Tags are not shown, but are interpreted by the
Mathias Michaelis wrote:
What is the added value of marking
it as HTML on the clipboard?
The added value is that you are able to paste the text into a word
processing program like AbiWord, MS Word or StarWriter in a way that
the HTML-Tags are not shown, but are interpreted by the word
Hello Tony
To achieve this know, I only see one way: Convert your text to HTML,
then save it as HTML, open it with a web browser, copy it from here
into the clipboard and paste it into a word processing program.
What about opening the HTML file directly as RTF in a word processor?
I guess
On Sun, Oct 22, 2006 at 01:31:09AM +0400, Alexey I. Froloff wrote:
Vim should _support_ Meta-Sends-Escape mode which is A Must Have
for non-ascii 8-bit locales
Patch attached.
New option - 'eightbitmeta' ('em'), default on. If unset, two
things happen:
I like the idea, but did not test
31 matches
Mail list logo