I see. Probably I'd found rare word combinations and the hyphen-suggestion
works very good with the best and double internal method.
I was used to the Ispell program and its spelling and vocabulary. There were
always some suggestion with hyphen which suited the wrong words in right way.
There is
Hello Vim-Dev,
In :help 'spellsuggest' these lines are written about the number of the
suggestions:
'spellsuggest' 'sps'string (default best)
.
.
{number} The maximum number of suggestions listed for |z=|.
Not used for |spellsuggest()|. The number of
suggestions is
On Wed, Apr 26, 2006 at 10:35:30AM +0800, Linsong wrote:
My main point is: I don't want to select entry in the completion menu by
pressing CTRL-N or CTRL-P, instead, I want to input enough characters to
make correct entry become the first entry and it is highlighted, then I
can use
Martin Stubenschrott wrote:
On Wed, Apr 26, 2006 at 10:35:30AM +0800, Linsong wrote:
My main point is: I don't want to select entry in the completion menu by
pressing CTRL-N or CTRL-P, instead, I want to input enough characters to
make correct entry become the first entry and it is
Milan Berta wrote:
In :help 'spellsuggest' these lines are written about the number of the
suggestions:
'spellsuggest' 'sps' string (default best)
.
.
{number} The maximum number of suggestions listed for |z=|.
Not used for |spellsuggest()|. The number of
Vincent Linsong wrote:
This is by design. Some people mentioned that when using the longest
common string the first entry should not be selected. Now you can use
CTRL-N to select the first entry. Previously you would need to do
CTRL-N CTRL-P to get the first entry.
I use the
Linsong wrote:
Martin Stubenschrott wrote:
But I am still not very clear why the first entry in the menu is not
highlighted? Is it not reasonable? I don't get any point that
highlighting the first entry will make the behavior unreasonable. I
think there shoud be an very good reason and I
a readkeys() can't be far behind. Having a readkey() - singular
probably makes more sense - function would allow us (i.e., me) to do
something like this:
function! s:DeleteComment(inclusive)
Delete a language-specific comment
:
:
endfunction
function! s:Delete()
let key = readkey()
Nikolai Weibull wrote:
a readkeys() can't be far behind. Having a readkey() - singular
probably makes more sense - function would allow us (i.e., me) to do
something like this:
We already have getchar(), that basically does this.
function! s:DeleteComment(inclusive)
Delete a
On 4/26/06, Aaron Griffin [EMAIL PROTECTED] wrote:
On 4/26/06, Nikolai Weibull [EMAIL PROTECTED] wrote:
That is, the input sequence dac would delete a comment. Entering
something else would just be fed to Vim as always.
Couldn't you use :omap for something like that?
(I hope it's OK that
Bram Moolenaar wrote:
Vincent Linsong wrote:
This is by design. Some people mentioned that when using the longest
common string the first entry should not be selected. Now you can use
CTRL-N to select the first entry. Previously you would need to do
CTRL-N CTRL-P to get the first entry.
I can't get Vim to read any symbolically linked plugins during
startup. I notice that when Vim starts, I can edit the linked file,
but Vim has modified the file name as Myfile.vim.lnk.
My helpgrepping through the doc.s only picked up options regarding
backup/swap etc.
On 4/26/06, Eric Arnold [EMAIL PROTECTED] wrote:
I can't get Vim to read any symbolically linked plugins during
startup. I notice that when Vim starts, I can edit the linked file,
but Vim has modified the file name as Myfile.vim.lnk.
Windows shortcuts are different things than cygwin
Georg Dahn wrote:
This behavior of C-N and C-P is not new, it was the same befor, too,
not only in Vim 7. It is not wise to change it and BTW, it is a good
behavior for most people.
My main point is: I don't want to select entry in the completion menu
by pressing CTRL-N or CTRL-P, instead, I
Windows shortcuts are different things than cygwin symlinks.
There is an option though to make cygwin symlinks be windows shortcuts
but these need some attribute (R I think) to be set. I don't know if
this help in this situation though.
Thomas.
Thanks Gerald and Eric,
I now greped for browsefilter.
I could get hold of it in verilog.vim inside ftplugin dir
I removed the b:browsefilter from the unlet portion, the error is not coming
now.
Thanks a lot guys
Shankar
-Original Message-
From: Gerald Lai [mailto:[EMAIL PROTECTED]
Vincent Linsong wrote:
This behavior of C-N and C-P is not new, it was the same befor, too,
not only in Vim 7. It is not wise to change it and BTW, it is a good
behavior for most people.
My main point is: I don't want to select entry in the completion menu
by pressing CTRL-N or
Vincent Linsong wrote:
This is by design. Some people mentioned that when using the longest
common string the first entry should not be selected. Now you can use
CTRL-N to select the first entry. Previously you would need to do
CTRL-N CTRL-P to get the first entry.
I use the
On Tue, Apr 25, 2006 at 10:38:08PM -0700, Gerald Lai wrote:
On Tue, 25 Apr 2006, Salman Khilji wrote:
[snip]
What I am looking for is that when I hit the 'n' key,
VIM should move the cursor to the next match AND
highlight it as well using, for example, the 'Search',
or 'IncSearch', or the
On Wed, Apr 26, 2006 at 02:34:02PM +0300, Eddy Petrişor wrote:
Hello,
Is there a way to detect the OS on which Vim is running?
You can use has() and the list of features under :help feature-list to
determine what type of Vim (and therefore under which OS is running).
if has('win32')
On Wed, Apr 26, 2006 at 02:00:07AM -0600, Eric Arnold wrote:
On 4/26/06, Gerald Lai [EMAIL PROTECTED] wrote:
Yes, I have seen it, and can reproduce it. I never thought I could find
a simple test case to illustrate it until now:
fun! InsVis()
exe normal! \C-wwv
BTW, I don't
On Sat, Apr 22, 2006 at 01:10:56PM -0600, Robert Dodier wrote:
I have created a syntax colorization file for scripts written for the
Maxima computer algebra system (http://maxima.sf.net). [...] PS.
Here is the syntax file I created:
http://maxima.sourceforge.net/misc/maxima.vim
Wow, good
On Tue, Apr 25, 2006 at 11:00:37PM -0600, Eric Arnold wrote:
On 4/25/06, Benji Fisher [EMAIL PROTECTED] wrote:
I think the problem is that \%5l is a zero-width pattern. I do not
know whether the docs say this, or if it is supposed to work this way,
but perhaps the point is that
On Thu, Apr 20, 2006 at 07:59:31PM +0200, Meino Christian Cramer wrote:
snip
It is the same version I got from their homepage and a even newer
version of the cvs snapshot is included in the vim-6.4 distro.
No significant changes occurred between the last release of vim-ruby and
the release
Eddy Petri??or [EMAIL PROTECTED]:
Is there a way to detect the OS on which Vim is running?
Hello Eddy,
take a look at
:help feature-list
There are features like amiga, beos, unix and others, which correspond
to the currently running version of vim.
Regards, Frank
I use the extreme version:
vnoremap silent * yy:let @/='\(' . substitute( escape( @y,
'$*^[]~\/.' ), '\_s\+', '\\_s\\+', 'g' ) . '\)'cr:set hlscr
This escapes a lot of stuff, including replacing any whitespace with a
generic expression that includes newlines. I like it because if you
highlight
I am in the middle of line in insert mode and want to break out of the line
and start a new line (above or below)
What I want is effectively
ESCo or ESCO
But does Vim7 have a native command for this?
I cant imagine such a command being added in Vim7 in some
sort of native fashion, given
Around about 25/04/06 17:11, Bram Moolenaar typed ...
Perhaps someone wants to make a cpp completion script? I rather not add
all kinds of C++ stuff to the C completion, it will get messy.
How many more additions would be needed? Any ideas, anyone?
--
[EMAIL PROTECTED] ~]# rm -f
Benji Fisher wrote:
On Wed, Apr 26, 2006 at 02:00:07AM -0600, Eric Arnold wrote:
On 4/26/06, Gerald Lai [EMAIL PROTECTED] wrote:
Yes, I have seen it, and can reproduce it. I never thought I could find
a simple test case to illustrate it until now:
fun! InsVis()
exe
Meino Christian Cramer wrote:
No, I didn't mean map or command.
Think of an vim started without .vimrc loaded.
I am looking for a command, function or whatever, which
lists something like this (I dont look for a text file,
which lists those keys and functions) :
Key Function
Daniel Einspanjer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Tim, there is also the :norm command..
:norm of
Err.. that should be
:norm o
My spell checker thought it knew better than me. :)
-Original Message-
From: Benji Fisher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 12:48 PM
To: vim@vim.org
Subject: Re: Vim70f crash - omnicompletion
On Wed, Apr 26, 2006 at 11:18:35AM -0400, David Fishburn wrote:
I am using vim70f on WinXP SP2.
Simple bug report. When editing a .vim file and using the new feedkeys()
function with vim70f, the syntax highlighter flags it as an error. Looks
like it hasn't been added to the list of known functions yet.
call feedkeys(\C-X\C-O)
Dave
I'm using win32 gvim70f. If I use the externan Cygwin grep
grep -i -r vimgrep .
it returns the results in under a second.
:vimgrep vimgrep **
takes about 20 seconds.
On 4/26/06, Benji Fisher [EMAIL PROTECTED] wrote:
On Sun, Apr 23, 2006 at 10:03:26AM -0600, Eric Arnold wrote:
Am I doing
In Vim 6.3, hitting ^X in insert mode when the cursor is on the number:
08)
produced:
03778)
This is a bug which seems to be fixed in Vim 7.0f, but it doesn't work
right, as it now produces:
7)
instead of:
07)
If the string is say,
07)
both versions correctly produce,
06)
--
On Wed, 26 Apr 2006, Hari Krishna Dara wrote:
In Vim 6.3, hitting ^X in insert mode when the cursor is on the number:
08)
produced:
03778)
This is a bug which seems to be fixed in Vim 7.0f, but it doesn't work
right, as it now produces:
7)
instead of:
07)
If the string is say,
On Wed, 26 Apr 2006, Benji Fisher wrote:
On Wed, Apr 26, 2006 at 05:17:01PM +0200, Bram Moolenaar wrote:
Benji Fisher wrote:
This mode seems to be similar to Insert mode, but Esc takes me to
Visual mode instead of Normal mode. AFAICT this is undocumented.
This is a really weird mode,
David Fishburn [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This seems to be a new behaviour / annoyance of Vim7.
:set columns+=30
At this point, Vim will reposition itself to be in the main screens area,
so
it will move from 1 monitor to the other. I then have to drag it back
Eric Arnold wrote:
It occured to me that it would be nice to have
startsearch (forward/back)
startex(begin :ex mode)
etc.
since there doesn't seem to be (?) any way to start modes other than
insert from Vim scripts.
Well, there's startreplace !
Regards,
Chip Campbell
I use the extreme version:
vnoremap silent * yy:let @/='\(' . substitute( escape( @y,
'$*^[]~\/.' ), '\_s\+', '\\_s\\+', 'g' ) . '\)'cr:set hlscr
This escapes a lot of stuff, including replacing any
whitespace with a
generic expression that includes newlines. I like it
because
David Fishburn wrote:
Simple bug report. When editing a .vim file and using the new feedkeys()
function with vim70f, the syntax highlighter flags it as an error. Looks
like it hasn't been added to the list of known functions yet.
call feedkeys(\C-X\C-O)
The Vim highlighting always lags
-Original Message-
From: Suresh Govindachar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 1:00 AM
To: vim@vim.org
Subject: Making * search for strings
Hello,
By default, * searches for words: /\stuff_below_cursor\
but I would like it to search for
On Wed, 26 Apr 2006, Halim, Salman wrote:
I use the extreme version:
vnoremap silent * yy:let @/='\(' . substitute( escape( @y,
'$*^[]~\/.' ), '\_s\+', '\\_s\\+', 'g' ) . '\)'cr:set hlscr
This escapes a lot of stuff, including replacing any whitespace with a
generic expression that includes
Gerald Lai wrote:
On Wed, 26 Apr 2006, Benji Fisher wrote:
On Wed, Apr 26, 2006 at 05:17:01PM +0200, Bram Moolenaar wrote:
Benji Fisher wrote:
This mode seems to be similar to Insert mode, but Esc takes me to
Visual mode instead of Normal mode. AFAICT this is undocumented.
44 matches
Mail list logo