Hi Bram,
Here's a patch to make virtcol([123, '$']) do the right thing.
If it looks good to you, can you include it?
Alvast bedankt,
– Michael
Index: eval.c
===
--- eval.c (revision 238)
+++ eval.c (working copy)
@@
Michael Schaap wrote:
Here's a patch to make virtcol([123, '$']) do the right thing.
If it looks good to you, can you include it?
Looks good, I'll include it. Thanks!
--
It is illegal to rob a bank and then shoot at the bank teller with a water
pistol.
[real standing law in
Here is an experimental patch for a new feature for gvim on MS Windows.
I'm glad to hear any feedback about the code or the feature itself. I've
tried to follow the conventions in the vim source code. I call the
feature ClipboardWatch.
The new feature triggers an event ClipboardChanged
Hi,
In VHDL I many times need to change the following code:
component AAA
port (
i1 : in std_ulogic;
i2 : in std_ulogic;
o1 : out std_ulogic;
o2 : out std_ulogic);
end component AAA;
into:
inst_AAA : AAA
port map (
i1 = in ,
i1 = in ,
After numerous attempts I've declared Vim 7's spell support the victor.
Perhaps someone can help me out, any suggestions would be helpful.
I have Vim spelling working in general, but I would like to incorporate
a rather special configuration. I'd like to use a personalized
rare-word dictionary
Hi!
On 3/26/07, Keith Hellman [EMAIL PROTECTED] wrote:
Has anyone else setup such a configuration? Got any tips or hints on
how to debug this? Or perhaps (probably :^( ) I've really misunderstood
Vim spelling support.
Try to end rare words with /? in *.add file.
their/?
they're/?
lose/?
On 3/26/07, Keith Hellman [EMAIL PROTECTED] wrote:
The words I should be using are they're and lose. I'd like to have
these highlighted as rare words (not because they are rare, rather
because I rarely use rare words, so this seems a reasonable pigeon-hole
to shoehorn this functionality) --- in
Hello,
I wanted to try out omnicompletion with Python 2.5, and I get the
following:
Error detected while processing function SNR62_DefPython:
line 517:
Traceback (most recent call last):
Error detected while processing function SNR62_DefPython:
line 517:
File string, line 1, in module
Error
A.J.Mechelynck wrote:
fREW wrote:
So is there a way we could swap the ; and : keys? I hardly ever
use ; but it would be nice to still have it available as :
The following lines in your vimrc should do it:
noremap ; :
noremap : ;
Except that you still have to type : in
In VHDL I many times need to change the following code:
component AAA
port (
i1 : in std_ulogic;
i2 : in std_ulogic;
o1 : out std_ulogic;
o2 : out std_ulogic);
end component AAA;
into:
inst_AAA : AAA
port map (
i1 = in ,
i1 = in ,
o1
[deleted]
You may have to clarify. I'm not sure how this mapping is taking
place. It looks like you start with two inputs (i1 and i2)
and two outputs (o1, and o2) and you want to map them to two
inputs (i1 and i1 again) and *three* outputs (o1, o2, and
o2 again).
My stupidity
I've made two
[deleted]
component AAA
port (
i1 : in std_ulogic;
i2 : in std_ulogic;
o1 : out std_ulogic;
o2 : out std_ulogic);
end component AAA;
to become:
inst_AAA : AAA
port map (
i1 = in ,
i2 = in ,
o1 = out,
o2 = out);
[deleted]
I too had problems with omnicomplete in Vim. Built-in
functionality was only good for function
auto-completions but not for data members. However,
all problems were gone after I started using following
script
(http://www.vim.org/scripts/script.php?script_id=1520).
Read carefuly and follow
I'd like to add a question to Keith's:
Once this is working, is there something like ]s that lets you go
through the file just visiting the rare words, rather than all the
spelling errors?
Michael
:g/^component\s\+\w+/,/^end component/fold
The use of regexps can give you more flexibility for nailing them down.[snip]
Yes please explain, as I get the message:
E486: Pattern not found ^component\s\+\w+
This is missing a \ before the final +, so unless your identifier is a
word
On 3/26/07, Christian Ebert [EMAIL PROTECTED] wrote:
Hello,
I wanted to try out omnicompletion with Python 2.5, and I get the
following:
Error detected while processing function
Try the following in vim:
:python import sys; print sys.version
Hi
I need to search for a word 'condition' (without quotes) and exclude
hits containing 'condition number'.
On a shell I can do
grep -sir condition *F90 | grep -v 'condition number'
How do I do it the vim way?
thanks
raju
--
Kamaraju S Kusumanchi
* Kamaraju S Kusumanchi [EMAIL PROTECTED] [2007-03-26 18:36]:
I need to search for a word 'condition' (without quotes) and exclude
hits containing 'condition number'.
[...]
How do I do it the vim way?
/condition\( number\)[EMAIL PROTECTED]
See also :help pattern-overview and :help /[EMAIL
* Aaron Griffin on Monday, March 26, 2007 at 10:39:24 -0500:
On 3/26/07, Christian Ebert [EMAIL PROTECTED] wrote:
I wanted to try out omnicompletion with Python 2.5, and I get the
following:
Error detected while processing function
Try the following in vim:
:python import sys; print
* Aaron Griffin on Monday, March 26, 2007 at 13:54:19 -0500:
Hmmm, well, I don't really know what to say w.r.t. all that. The best
I can do is push a new pythoncomplete out that isn't dependent on
cStringIO. I think it may have been a pre-optimization anyway.
But cStringIO is faster ;)
Hello,
I'm using gVim on Windows and like it so far. There is one minor annoyance:
when I scroll with the mouse wheel (I'm trying to use only keyboard but
it'll take me a lot of time trying to break habit of using mouse to scroll),
the cursor moves with the screen. Is there a setting I can set
On 3/26/07, Michael Wookey [EMAIL PROTECTED] wrote:
I have the following in my .vimrc:
filetype plugin indent on
autocmd FileType c,h,cpp,hpp,cs setlocal cindent number cursorline
If I have a new buffer and set the filetype as follows, everything works
just fine:
:set filetype=c
On 3/26/07, Some user [EMAIL PROTECTED] wrote:
Hello,
I'm using gVim on Windows and like it so far. There is one minor annoyance:
when I scroll with the mouse wheel (I'm trying to use only keyboard but
it'll take me a lot of time trying to break habit of using mouse to scroll),
the cursor
I have the following in my .vimrc:
filetype plugin indent on
autocmd FileType c,h,cpp,hpp,cs setlocal cindent number
cursorline
If I have a new buffer and set the filetype as follows, everything
works
just fine:
:set filetype=c
However, if I have a new buffer
It looks like it might take a script to do this. I would need to check
if any open gvim window contains the tag being searched for. If so, I
would make that window active and jump to the tag. If not and the tag
reference exists, I would open a new gvim window at the tag location.
Anyone have
Yakov Lerner-3 wrote:
On 3/26/07, Some user [EMAIL PROTECTED] wrote:
Hello,
I'm using gVim on Windows and like it so far. There is one minor
annoyance:
when I scroll with the mouse wheel (I'm trying to use only keyboard but
it'll take me a lot of time trying to break habit of using
Thanks for the reply. I'll work on it next weekend.
Leonardo Fontenelle
2007/3/26, Bram Moolenaar [EMAIL PROTECTED]:
Leonardo Fontenelle wrote:
Er... does it make a big difference if I send a regular shell script?
I don't know how to write scripts in any other language. That said, if
Hi Aaron,
* Aaron Griffin on Monday, March 26, 2007 at 13:54:19 -0500:
Hmmm, well, I don't really know what to say w.r.t. all that. The best
I can do is push a new pythoncomplete out that isn't dependent on
cStringIO. I think it may have been a pre-optimization anyway. I'll
make a note of
I attempted to map this code :set nobackup to an 'Fx' key,
(as a line in my .vimrc) with no good results; the formats I
attempted were:
map F3 :set nobackup return map F3 :set nobackup
return
Actually, I just yanked/put the preceding line* (which I KNOW
works), and modified it:
*map
Thanks for the response. But, I gotta apologize...
Reading over my original question, I realize that it was awfully obtuse and
confusing. The 'nohlsearch' line is the one that is already in my .vimrc and
works. I yanked/put it to the next line down to use it as a template, modifing
it to:
Thanks for the replies.
OK, I renamed my .add file to ~/.vim/spell/en.latin1.add,
added '/?' to the end of my rare words,
and ran :mkspell on it.
Still no dice.
I'm wondering, how do I make sure that the 'latin1' portion of the name
is correct?
I run ':setlocal spell spelllang=en', when
Forgive my obvious ineptitude here, on many fronts. Firstly, I don't know how
to respond to previous responses correctly (capturing the preceding dialog) so
I have to start from scratch each time.
Secondly, of course it works...and for me also. Here is what I was doing wrong
(somehow?).
Hi,
Michael Wookey schrieb:
I have the following in my .vimrc:
filetype plugin indent on
autocmd FileType c,h,cpp,hpp,cs setlocal cindent number cursorline
If I have a new buffer and set the filetype as follows, everything works
just fine:
:set filetype=c
However, if
33 matches
Mail list logo