Thursday, July 1, 2010
Re: Feature Request...
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Re: percentage of vim users running python
You're writing code for a system you've been using. You say its not
ready for release. Still you care much about portability and other users
(?). One design goal should be : Never over engineer. Do what you have
to do because things are going to change anyway.
Such a change could be a team mate popping up who loves Emacs.
If you have a Python module he can hack the module and Emacs and reuse
your code. If you use VimL ..
Same applies if you want to offer the functionality in web application
or whatsoever.
About plugin / addon / extension? I didn't care much. I just tried to
get the job done.
Have a look from a historical point of view: VimL was great when it was
invented. That time it was ahead of the time by years. There was no
Python or X which could be used instead. However today those languages
exist. VimL can get jobs done. However its only used within Vim.
You can use Python. However the language bindings are rather limited. Eg
Vim module doesn't provide a call function which allows you to call vim
function without caring about quoting.. Nevertheless you can hack this
up fast.
When should you use VimL?
- you're going to use many Vim commands (regex, cursor movements etc)
When should you be using Python or something else?
- you're going to implement heavy stuff such as language parsers.
You want to operate on syntax trees etc.
Sometimes a solution which only gets done 90% can be implemented *much*
faster in Vim using commands you already know. So if you task is about
finding paragraphs and adding characters or joining those paragraphs
probably I'd try to get up a quick and dirty Vim script
Do whatever you feel most comfortable with.
Python:
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Re: Question to Ruby users
Hello everyone.
Does anybody need a more lovely api to write vim extensions via ruby
language?
Or this is bad idea to improve vimscript-ruby api?
I start to write this staff, and it seems what i will make much like
getting args and eval this via VIM::command;
example:
def bind_function(key,function)
VIM::command("map <expr> #{key} RubyMethod(\"#{function.to_s}\")")
end
def fu_test()
vim_print("Hello from ruby api!")
end
bind "mm", :fu_test
So, when i start to write this api i think this will be more funny but
now i understand... :)
Anybody interesting in this Ruby-Vim-Improve-Api? Or this is unusefull
work?
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Re: screen not updated after backspace
supported by the hoster.
But i will have a look at the backports or try to build my own vim. :)
Bye,
Sven
On 1 Jul., 09:46, Andrei Popescu <andreimpope...@gmail.com> wrote:
> On Mi, 30 iun 10, 12:34:21, Sven Eppler wrote:
>
> > Debian Etch, 64bit
>
> Etch doesn't have security support anymore, you should upgrade to Lenny.
>
> > Vim 7.0.305
>
> If you stay on Etch and want to try a newer version there is a backport
> of 7.1.314 (the same version as in Lenny) atwww.backports.org.
>
> Regards,
> Andrei
> --
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)
>
> signature.asc
> < 1 KBAnzeigenHerunterladen
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Re: screen not updated after backspace
this looks like the Problem:
:verbose set cpo?
cpoptions=aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>
I only get the hind, that '/usr/share/vim/vim70/plugin/zipPlugin.vim'
last changed this setting. But is there a way to debug more precisly
when all this stuff is comming into the variable? Temporaly i
overwrite cpo with the Vim-Default in my .vimrc which works just fine
now.
Thanks,
Sven
On 1 Jul., 07:35, Jürgen Krämer <jottka...@googlemail.com> wrote:
> Hi,
>
> Sven Eppler wrote:
>
> > since about a week on my server vim behaves strange. The backspace-key
> > is working correctly beside the fact, that the deleted characters are
> > not removed from the screen. Only when leaving insert-mode or switch
> > lines the screen will get updated and the deleted characters will
> > vanish from the screen.
>
> > e.g.: when backspacing 5 characters and typing 4 new, the newly typed
> > chars will be shown correctly, but the first backspaced char will stay
> > again until i leave the insert-mode or navigate into another line.
>
> in addition to the 'compatible' option you might want to look at the
> 'cpoptions' option. If it includes a lower-case 'v' Vim behaves the
> way you noticed (:help cpo-v).
>
> Regards,
> J rgen
>
> --
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us. (Calvin)
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Re: screen not updated after backspace
> Debian Etch, 64bit
Etch doesn't have security support anymore, you should upgrade to Lenny.
> Vim 7.0.305
If you stay on Etch and want to try a newer version there is a backport
of 7.1.314 (the same version as in Lenny) at www.backports.org.
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
Re: Installing Gvim with AAP (FreeBSD 8.0)
> I managed to install Vim on FreeBSD 8.0 using AAP as per the
> instructions on a-a-p.org. It worked well, except I now have a version
> without Perl or Python integration. I don´t need this urgently but I
> wonder how I could have installed the Big version with everything. Is
> this done in the configure file? And if so, how?
>
I'm surprised that this post hasn't yet got any reply.
Once you have the source, you may select compile-time options. See
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm for details.
Don't forget to "make reconfig" (or "make config" followed by "make")
after you change (or set for the first time) the environment variables
for your configure parameters.
Of course, in order to compile with Perl and Python, you will need not
only the Perl and Python interpreters installed, but also the files
needed to integrate them into C. I don't know how FreeBSD does it, but
on Linux that would mean making sure that the Perl and Python -devel
(RedHat, SuSE, etc.) or -dev (debian, Ubuntu, etc.) packages are installed.
Best regards,
Tony.
--
What makes the universe so hard to comprehend is that there's nothing
to compare it with.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php