On Tue, 06 Mar 2007 22:29:35 +0100
Tobias Pflug [EMAIL PROTECTED] wrote:
Looking at :
http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox/Tip_1:_the_super_star
my thoughts:
1. focus/structure:
At the moment there is a bit of a lack of focus when I look at the
page.
On Wed, 18 Oct 2006 23:30:15 +0200
Bram Moolenaar [EMAIL PROTECTED] wrote:
SourceForge has fixed the VHOST service, www.vim.org is back!
Still doesn't work from my ISP, but works from other ISPs, so I guess
it will take a bit time before it trinkles down to all dns servers...
Preben
On Thu, 19 Oct 2006 18:29:19 +0200
Preben Randhol [EMAIL PROTECTED] wrote:
Still doesn't work from my ISP, but works from other ISPs, so I guess
it will take a bit time before it trinkles down to all dns servers...
Works now.
Hi
I get a blank page when I go to www.vim.org. If I go to vim.sf.net I
get the vim pages.
A problem with the alias?
Preben
On Mon, 16 Oct 2006 22:02:25 +0200
Preben Randhol [EMAIL PROTECTED] wrote:
Hi
I'm using Vim to write Greek text. I found a nice tip at:
http://betabug.ch/blogs/ch-athens/270
on how to get Vim to accept greek letters as commands. Just using maps
basicly so it is quite easy.
Forgot to say
Hi
On feature I miss in gvim is to be able to open recently edited files. I
have tried the MRU plugins in vim.org, but they tend to break if I open
more than one gvim open at the same time.
Does anybody have sucess with these or other plugins to recommend?
Thanks in advance
Preben
A.J.Mechelynck [EMAIL PROTECTED] wrote on 21/08/2006 (23:08) :
The function definition must not be in a script or function which is
called from an autocommand which is triggered by opening a file for editing.
Ah! Thanks! I understand. I was testing the code by just adding it to my
ftplugin
Hi again
I have another question...
I'm trying to make a function to open files for editing from a function.
however I keep getting an error. I have included a very simple functions
that gives the same error message. I understand that one cannot do it
this way, but I don't know how to do it:
Hi
The new menu that pops up when one use a omni-completoin, what is the
name for it? I'm trying to search the vim documents to learn more about
it. I see that popup is something else. The reason for asking is that I
was wondering if it was possible to use such a menu for other things.
One such
On Mon, 14 Aug 2006 15:41:10 -0700
Diwaker Gupta [EMAIL PROTECTED] wrote:
My favorite actually is Dokuwiki
(http://wiki.splitbrain.org/wiki:dokuwiki)
Interesting. From this link I found:
http://www.wikimatrix.org/
Which can be nice to use to compare wikis.
Hi
I'm trying to make a function that wraps some text around a block like
this:
bla bla bla bla
bla bla bla bla
bla bla bla bla
bla bla bla bla
bla bla bla bla
So it becomes:
header text
bla bla bla bla
bla bla
A.J.Mechelynck [EMAIL PROTECTED] wrote on 15/08/2006 (10:59) :
Have you tried :set paste? Or rather, since it's inside a function,
let save_paste = paste
set paste
do your stuff
if ! save_paste
set nopaste
endif
No, I
A.J.Mechelynck [EMAIL PROTECTED] wrote on 15/08/2006 (11:22) :
let save_paste = paste
if ! paste
set paste
endif
do your stuff
if ! save_paste
set nopaste
endif
Thanks. This works, but I got other side
On Sun, 13 Aug 2006 00:04:02 +0200
Bram Moolenaar [EMAIL PROTECTED] wrote:
We have PHP on the server, thus a PHP based wiki would work.
Under I have made a list of PHP wikis found by searchinf
www.freshmeat.net and www.sf.net. Some requires MySQL, some don't
have login, some do. MySQL looks to
Vincent Wang [EMAIL PROTECTED] wrote on 11/08/2006 (03:57) :
That's great! In fact, I don't want to learn vim's tips from dozens of
website, that is not good to propagate the knowledge. Wiki is better
than the official vim tips page. I will be glad to enjoy others'
smart tips and share my
On Wed, 9 Aug 2006 09:30:36 -0400
Benji Fisher [EMAIL PROTECTED] wrote:
It is not clear from what you have written: if the def line is
indented, does the cursor get indented too? It does not for me, so I
will assume that all the indent was removed and that you indented the
whole
Hi
This is probably a stupid question, but does anybody have a setup for
folding vimscripts? In most other languages the folding are either
included or one can download scripts from vim.org. However, I cannot
find any script for folding vimscripts.
I'm interested mostly in folding:
Hi
I made some functions to use with Python programming. I noticed however
a problem with indentation. The functions are called from insert mode.
An generic example is given below.
imap \sf c-o:call insert_text()CR
function! insert_text()
let pos = getpos('.')
On Fri, 04 Aug 2006 10:02:55 -0500
Tim Chase [EMAIL PROTECTED] wrote:
Well, you mention not wanting to manually yank the
text...however, if it was automatically yanked into a register
for you, would that be okay? Or do you not want to touch the
unnamed register at all? If the former is
On Sat, 05 Aug 2006 10:28:13 +0200
Preben Randhol [EMAIL PROTECTED] wrote:
:vnoremap f4 yyic-r=Template(@y)cresc
However, this works:
vmap f4 y:call Template('c-r=@@CR')CR
Preben
On Sat, 05 Aug 2006 09:05:56 -0500
Tim Chase [EMAIL PROTECTED] wrote:
The zero is what is the return value of the function which is
used as the replacement text. By default, if you don't specify a
return-value for a function, it returns 0.
I was expecting your function's return
On Sat, 5 Aug 2006 18:11:04 +0200
Andrei A. Voropaev [EMAIL PROTECTED] wrote:
Hm. I didn't have neither of these files and didn't know how
to create them.
I assume you don't use Windows.
vim ~/.gtkrc-2.0
and write this in the file:
gtk-font-name = Sans 9
gtk-can-change-accels=1
Preben
hi
I have a function like this:
function! template(text)
Do something with the text and return the result
What I would like to do now is to be able to press a key let say F5 in
visual mode and the text that I have selected should be passed into the
text variable of the template
Hi
As I mentioned in another thread I'm collecting and evaluating all
script and tips concerning python programming in vim. I have noticed
that there are many scripts just named python.vim. That is syntax,
indent, compiler etc... I also saw Bram saying he preferred that in the
autoload directory
On Sun, 30 Jul 2006 11:11:33 +0200
A.J.Mechelynck [EMAIL PROTECTED] wrote:
IIUC, this would break compatibility with the present scheme which is
syntax/python.vim, indent/python.vim, etc. Lots of scripts and
vimrc's would cease to work.
I did not intend to remove the directory structure.
Hi
I'm trying to make a small function which should search for a pattern
in the current buffer. I want that all matches are highlighted by
hlsearch and that I can jump to the next by pressing 'n'
Is this possible? When I try to use execute or normal it searches, but
neither hlsearch work or 'n'
On Sun, 30 Jul 2006 20:43:24 +0200
A.J.Mechelynck [EMAIL PROTECTED] wrote:
:helpgrep hlsearch would have brought you to it (match 3 of 82).
Helptag completion and the :helpgrep command are GREATâ„¢ tools to
use when searching the Vim help haystack for your needle. ;-)
Thanks again! I didn't
Hi
I'm looking for a vimscript where I can easily test out my Python code
by pressing say F9 or some other function key. I have used the
runscript.vim script (http://www.vim.org/scripts/script.php%3Fscript_id=127)
This script has some nice things, but the main problem is that when an
error
Marc Weber [EMAIL PROTECTED] wrote on 28/07/2006 (13:27) :
I can't see your problem. Why not just create some mappings:
compiler python
set makeprg=python
:make mypyfile
or :make % ?
What's wrong with this?
lack of a propper efm. But I just managed to fix an old python compiler
script
Hi
When one use :make and one get a list of errors, is it possible to get
vim to display the errors in reverse order? The reason is that python
gives the traceback of the error like:
Traceback (most recent call last):
File unittests/dbfacadeTest.py, line 89, in testFoo
On Sun, 9 Jul 2006 00:11:26 +0200
Michael Naumann [EMAIL PROTECTED] wrote:
Hi
sounds like a good job for :grep for me.
After
:grep FIXME *
use
:copen
to browse the results.
Brilliant! Thanks!
Hi
Is there any script for vim which can extract all TODOs, FIXMEs or
BUGs from a set of source code files and display them in a window. If
one could click on a FIXME/TODO and then jump to the right source code
file and line would be great.
Thanks in advance
Preben
Hi
I use the script pydoc.vim (http://www.vim.org/scripts/script.php?script_id=910)
to pull out the documentation of functions in python. It is a great
script. One can use \pW or \pw to get the documentation of the function
under the cursor (by using Word, word).
Problem is that if one has the
Preben Randhol [EMAIL PROTECTED] wrote on 30/06/2006 (13:01) :
Hi
I use the script pydoc.vim
(http://www.vim.org/scripts/script.php?script_id=910)
to pull out the documentation of functions in python. It is a great
script. One can use \pW or \pw to get the documentation of the function
34 matches
Mail list logo