Op woensdag 30 mei 2007, schreef wangxu:
I want to have this function:
formatting my xml file automatically.
or,indent xml element and attributes.
is there any plugin like this?
thanks!
Well, if you're on a unix machine with xmllint installed, you
could do the following:
[EMAIL PROTECTED]
Sent: 05/14/2007 02:51 PM EST
To: David Fishburn [EMAIL PROTECTED]; vim@vim.org
Subject: RE: mouse-wheel scrolling with vertically split windows
It happens every time for me. I just have to open a file and then do a
:vsplit.
It really shows up and is annoying with using the taglist
try the same thing?
Dave
- Original Message -
From: Waters, Bill [EMAIL PROTECTED]
Sent: 05/14/2007 05:56 PM EST
To: David Fishburn; vim vim@vim.org
Subject: RE: mouse-wheel scrolling with vertically split windows
What happens if you start vim using:
Gvim -u NONE -U NONE
Same
-Original Message-
From: David Fishburn [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 1:12 PM
To: vim@vim.org
Subject: Vim OLE and C#
I have the following VB code:
Dim Vim As Object
Set Vim = CreateObject(Vim.Application)
Vim.SendKeys ESC:e
I
-Original Message-
From: alebo [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 2:51 PM
To: [EMAIL PROTECTED]
Subject: delete buffer questions
I need som things explained about the automatic delete buffers 1-9.
When I delete rows using dd the deleted text is put in
Vim 7
WinXP
I can set the font in gvim using:
Set guifont=
But how do I do the same with console vim?
Help, helpgrep and searching this list hasn't found me an aswer.
TIA,
Dave
I have the following VB code:
Dim Vim As Object
Set Vim = CreateObject(Vim.Application)
Vim.SendKeys ESC:e
I want to do the samething in C# (of which my skills are quite weak). I
have the following:
object Vim;
Vim =
-Original Message-
From: Karl Guertin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 6:42 AM
To: vim@vim.org
Subject: Re: bracket completion
On 3/31/07, Greg Fitzgerald [EMAIL PROTECTED] wrote:
Anyone know of a way to achieve bracket completion?
I've been sitting
-Original Message-
From: Sebastian Menge [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 1:12 PM
To: David Fishburn
Cc: vim@vim.org
Subject: RE: Reannouncing vimplugin: A vim plugin for Eclipse
Am Freitag, den 30.03.2007, 12:24 -0400 schrieb David Fishburn:
The README
-Original Message-
From: Sebastian Menge [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 11:49 AM
To: vim@vim.org; vim-dev@vim.org
Subject: Reannouncing vimplugin: A vim plugin for Eclipse
Hi all
After a long time of no activity we restarted the work on a
small
This has been happening for a little while (at least a month).
I have been routinely building Vim on Win XP SP2 for a couple of years now.
Now when I build it and try to run it I get:
C:\OpenSrc\vim7\srcgvim.exe
The system cannot execute the specified program.
Unforutunately, the error
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 6:42 PM
To: Charles E Campbell Jr
Cc: Waters, Bill; vim@vim.org
Subject: Re: gVim and Cygwin
Charles E Campbell Jr wrote:
Waters, Bill wrote:
Does anyone have experience with
(Had to top post)
I am the author of ftplugin/sql.vim which defines b:match_words.
It was set this way so that the following will not match.
begin
end if
I didn't realize plsql allowed your case.
I think this could be addressed by saying the end cannot be followed by the
known end statements
-Original Message-
From: Bin Chen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 08, 2007 9:44 PM
To: vim@vim.org
Subject: replace upper-case with lower-case
I want to replace below scheme within one command, that is
left the capitalization the same but replace the word.
-Original Message-
From: Peng Yu [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 10:38 PM
To: vim@vim.org
Subject: How to paste without replace the content in buffer
Hi,
Suppose I want to replace string1 with string2 in a file from vim.
1. Highlight string1 (in
Read http://vim.sourceforge.net/tips/tip.php?tip_id=80 ,
Restore cursor to file position in previous editing session.
This tip does most of what I want thanks to the additional notes section.
I have realized, this only returns us to the row we were on. Does anyone
know if it is also
I wonder why some people use :wq instead of ZZ. Maybe they
just don't know about ZZ? Obviously that's not the case with Bram.
I added the following to my vimrc:
Exit VIM, but prompt if any changes to save
nnoremap ZX :conf qaCR
I routinely have many files open at the sametime (hidden is
Vim 7 WinXP SP2
I have a file with folding enabled.
What I would like to do is use something like this:
:v/dave/d
But I only want this to operate on folds.
I can do this manually by moving to the fold and pressing V (linewise visual
mode) followed by x to delete it. That deletes all lines
-Original Message-
From: Tim Chase [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 21, 2007 11:08 PM
To: David Fishburn
Cc: vim@vim.org
Subject: Re: Substitute tabs for specific column locations
So for each row, replace the tab with an appropriate number of
spaces
Vim 7
WinXP SP2
I have a string in this format:
\nr1c1\tr1c2\tr1c3\t\nr2c1\tr2c2\tr2c3\t\nr3c1\tr3c2\tr3c3\t\n
r1 = row 1
c1 = column 1
I also have this information and requirement:
c1 should display at column 1
c2 should display at column 20
c3 should display at column 25
So for each row,
Vim 7
WinXP SP2
Is it possible to return a Perl hash as a Vim List or Dictionary?
I am pretty new to Perl but need it's features for my extension. I need to
return rows and columns of data which is perfect for a Vim List or
Dictionary.
Thanks,
Dave
I just searched through the help and didn't find anything to get me started.
I have written many Vim plugins using VimL, but in this case I need to write
one using Perl.
I also want to use Perl's DBI interface. Does anyone have a perl/vim plugin
that I can use as a template to get me started?
I'd like to:
1. Select some text
2. Hit a key sequence such as ;t
3. Be prompted for a tag (I'll input something like 'b' or 'h1')
4. The text selection will be wrapped in -- say --
btext selection/b
I created a tip for this:
Tip #346: Wrap text in HTML/XML tags
What's the quickest way to enclose the current line the
cursor is on in, say, li/li tags?
Wow, 2 emails in the same day.
I created a tip for this:
Tip #346: Wrap text in HTML/XML tags after prompting for the tag name
http://www.vim.org/tips/tip.php?tip_id=346
With some refinements at the
Calvin Waterbury asked on Sunday, October 01, 2006 3:04 PM
for a pasteboard feature.
This is a feature that automatically captures clipboard
content to a
text file that has been designated as the Pasteboard.
Perhaps an example would clarify. If I had this feature
implimented in
I am trying to get the (magnificent, by the way) dbext plugin
to give me context-sensitive omni-completion for table/stored
procedure names.
Thank you for the praise.
This plugin contains functions/mappings/commands to enable Vim to access
several databases. Currently Mysql, PostgreSQL,
-Original Message-
From: Thomas Michael Engelke [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 16, 2006 10:42 AM
To: vim-Mailingliste
Subject: Upcase every keyword while editing
Hello!
I am looking for a way to mimic a functionality I've seen in
the editor ED4Win
-Original Message-
From: John Degen [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 9:25 AM
To: victor NOAGBODJI; vim@vim.org
Subject: Re: about fonts : from ubuntu to windows
- Original Message
From: victor NOAGBODJI [EMAIL PROTECTED]
To: vim@vim.org
Sent:
-Original Message-
From: Lev Lvovsky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 5:04 PM
To: vim@vim.org
Subject: search visual block
Is it possible to search for a string by selecting that
string in visual mode? Meaning, if I highlight something,
and then
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nikolai Weibull
Sent: Friday, October 13, 2006 2:48 PM
To: Martin Krischik
Cc: vim-dev; vim@vim.org
Subject: Re: VimL and Exuberant tags - Suggestions please
On 10/13/06, Nikolai Weibull [EMAIL
-Original Message-
From: Peter Hodge [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 11:24 PM
To: David Fishburn; vim@vim.org
Subject: Re: VimL and Exuberant tags - Suggestions please
Hello David,
Can I suggest support for these commands:
:set/setlocal
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nikolai Weibull
Sent: Friday, October 13, 2006 2:48 PM
To: Martin Krischik
Cc: vim-dev; vim@vim.org
Subject: Re: VimL and Exuberant tags - Suggestions please
On 10/13/06, Nikolai Weibull [EMAIL
I have taken over maintenance of the VimL exuberant tags component.
For the vim plugin writers, are there any outstanding bugs or new feature
requests you have for ctags.exe?
Hari just mentioned Vim7 introduces some additional syntax items to function
names:
function mydict.len() dict
-Original Message-
From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 11, 2006 9:18 PM
To: vim@vim.org
Subject: ctags for new Vim scripting features
Is anyone working or planning to work on enhancing exuberant
ctags to recognize the dict and
I gave the demo a whirl.
When you enter the State field the omni completion pops up.
You cannot hit escape to get out of this.
In fact you must choose something, even if you didn't want to.
Entering the Country field.
If you cursor is on U, press C. I wanted to just type Canada, but of
course
Vim 7.0 patches 1-106
WinXP SP2
In an attempt to debug one of my scripts, I added some debug statements in
my VimL. When I did that, Vim will crash and produce the stack trace listed
below. I can reproduce this every time, and I know the person who reported
the problem (with my script) also
-Original Message-
From: Karl Guertin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 4:10 PM
To: [EMAIL PROTECTED]
Cc: VIM Help
Subject: Re: Detecting when in omnicomplete
On 9/26/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
If you have a look at
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Monday, October 02, 2006 7:44 AM
To: Marius Roets
Cc: vim@vim.org
Subject: Re: Uppercase keywords
Marius Roets wrote:
Hi Vimmers,
I have a big a (3000+ lines) source code file. The syntax
Running this command:
echo inputdialog(Choose # of database type:\n1. None\n2. ASA\n3. MYSQL\n4.
SQLSERVER\n5. DB2,1,-1)
On Windows and Linux will correctly size the inputdialog box so that the
entire text is displayed.
On the Mac platform the inputdialog does not size appropriately and will
If you have a look at ftplugin/sql.vim it does this.
I override the ctrl-left|right keys. When pumvisible() is false I want to do
the default Vim behaviour. When it is true I want to perform special SQL
actions.
I was only able to do this via a mapping which called a function. But that does
, for example, syntax highlighting the
result set in the result window.
Bug Fixes
- Added version support with MySQL to control what SQL is sent for version 4
and 5 servers.
After installing the plugin you can use:
:h dbext.txt
:h dbext-tutorial.txt
David Fishburn
-Original Message-
From: Dmitriy Yamkovoy [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 4:06 PM
To: Vim List
Subject: Single-File Vim?
Hi all,
Is there a binary compiled for Windows which allows me to run
Vim without any of the runtime files? Long story short,
Vim 7.0.106
When I edit an HTML file and open the taglist plugin it correctly checks for
Javascript tags.
When I edit a PHP file, the taglist plugin gets only the PHP tags, when most
PHP pages would also have HTML and Javascript embedded within it.
Does anyone know if this is a feature of
-Original Message-
From: David Fishburn [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 9:56 AM
To: vim@vim.org
Subject: Taglist and html vs php vs javascript
Vim 7.0.106
When I edit an HTML file and open the taglist plugin it
correctly checks for Javascript
-Original Message-
From: Lev Lvovsky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 12:51 PM
To: vim@vim.org
Subject: previous buffer?
In regards to moving around buffers, is there any way to move
between the last two buffers that were worked on? Meaning,
if I
-Original Message-
From: Groleo Marius [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 12:11 PM
To: vim@vim.org
Subject: Open each file in newtab (without using -p)
I can't find any reference to the $subject, nor on web nor in :help.
Basically, I'm searching for a
-Original Message-
From: Stelian Iancu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 3:59 AM
To: vim@vim.org
Subject: Allow only one instance of vim on Windows
Hello there,
I've been using vim on and off for about 5 years now but now
I've decided to switch
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 20, 2006 10:15 AM
To: Lu Tan Hoa
Cc: vim@vim.org
Subject: Re: [viminfo] Vim can't remeber position
Lu Tan Hoa wrote:
Dear vim-list,
I compile Vim-7.0 from source with default config.
Glad it is all working.
Just posting this to the forum in case other users run into the same issue.
-Original Message-
From: Sibin P. Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 09, 2006 1:04 AM
To: David Fishburn
Subject: RE: Vim and cscope
Hey thanks a lot Dave
-Original Message-
From: Meino Christian Cramer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 6:27 AM
To: vim@vim.org
Subject: Saveing of a recorded macro
Hi,
is it possible and
if true
then
how()
endif
to save a recorded macro to a file ?
On Tue 1-Aug-06 1:52am -0600, Hugo Ahlenius wrote:
I just upgraded netrw to netrw 103b from Charles Campbell's
web-site.
Now it seems like opening a directory by just trying to edit it
doesn't work, like it used to:
:e c:\
I am having a similar issue, but I am using 102
-Original Message-
From: Sibin P. Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 6:25 AM
...
I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have
installed cygwin too); but whenever I try to use cscope in
Vim I get the following error -
E623: Could not
-Original Message-
From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 2:53 PM
To: vim@vim.org
Subject: a question about 'diff' setting
...
Can anyone explain why and what I should do to avoid
this (other than remembering to run :diffoff before
the plugin you can use:
:h dbext.txt
:h dbext-tutorial.txt
David Fishburn
-Original Message-
From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 8:23 PM
To: vim@vim.org
Subject: Inability to map C-N when completion popup is visible
I am trying to map C-N and C-P to behave differently when
pumvisible() returns true, but
-Original Message-
From: Silent1 [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 1:39 PM
To: vim@vim.org
Subject: omni completion, calling different types
I'm using the omni completion so far on my php scripts and
i'm wondering if there are ways i can call different
Announcing an update to the sqlcomplete.vim script which is included in
Vim7.
If you are using dbext.vim 3.0 and taking advantage of the table and column
completion capabilities the update to version 5.0 of the script makes it a
bit smarter when determine if you are entering partial column names
-Original Message-
From: Yegappan Lakshmanan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 12:16 PM
To: David Fishburn
Cc: vim@vim.org
Subject: Re: Inputdialog() broken in Vim7
Hi David,
On 6/8/06, David Fishburn [EMAIL PROTECTED] wrote:
Vim 7 and 7.1-17
-Original Message-
From: Peter Hodge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 9:38 PM
To: vim@vim.org
Subject: Updated PHP syntax file
Hello all,
I have recently been given the go-ahead to take over
maintenance of the PHP syntax file (
-Original Message-
From: Matthias Pitzl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 8:37 AM
To: vim@vim.org
Subject: Script dbext.vim no longer working with Vim 7.x?
Hello!
I just installed the dbext.vim script as it's features really
sound nice to me.
-Original Message-
From: Mikolaj Machowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 6:57 AM
To: vim@vim.org
Subject: Re: HTML editing with vim: where to start ?
Dnia wtorek, 16 maja 2006 18:37, A.J.Mechelynck napisaĆ:
Ivan Vecerina wrote:
[...]
For
-Original Message-
From: ice_2001cn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 4:48 AM
To: vim@vim.org
Subject: About CursorHoldI , pumvisible()
au! CursorHoldI *.cpp nested call PreviewWord() func! PreviewWord()
if pumvisible()
call
these plugins.
After installing the plugins you can use:
:h dbext.txt
:h dbext-tutorial.txt
:h sql.txt
:h sql-completion-tutorial
David Fishburn
-Original Message-
From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 10:06 PM
To: Benjamin Reitzammer
Cc: Benjamin Reitzammer; vim@vim.org
Subject: lookupfile.vim (WAS Re: fast file opening / find file as
you type)
...
I tried it, it
-Original Message-
From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 10:06 PM
To: Benjamin Reitzammer
Cc: Benjamin Reitzammer; vim@vim.org
Subject: lookupfile.vim (WAS Re: fast file opening / find
file as you type)
Actually, I started with the
-Original Message-
From: Kevin Old [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 09, 2006 3:46 PM
To: vim@vim.org
Subject: perlcomplete.vim -- anyone working on this?
Hello,
I was shocked that there wasn't a perlcomplete.vim in the
source and would like to create one or
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
4mir Salihefendic
Sent: Tuesday, May 09, 2006 1:08 PM
To: vim@vim.org
Subject: Vim 7 - a little graphical introduction
I just did a little blog post highlighting the new stuff in Vim 7.
I did
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 6:14 PM
To: David Fishburn
Cc: vim@vim.org
Subject: Re: 70f - Scroll wheel scrolls wrong window
David Fishburn wrote:
Though I cannot reproduce it, this has been happening
Though I cannot reproduce it, this has been happening to me throughout the
betas.
70f WinXP SP2
I have the Taglist window open (though I don't believe it is related).
So my window is split vertically.
My cursor is in normal mode in the right hand pane.
If I scroll the mouse wheel, the window in
-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.
function
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
-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
Vim70F
I use WinXP SP2.
Windows has the ability to Extend your monitor on to another monitor. So,
my laptop is plugged into an external monitor at work. I then extend the
screen to fill the secondary monitor which gives me 1 logical monitor that
is 2 screens wide.
This seems to be a new
I want to write a conditional imap that will only be active when the OMNI
completion popup window is active.
I can't quite get this to work.
I have tried a few combinations of imaps:
imap buffer c-right
C-R=pumvisible()?\ltC-Y\ltC-\\ltC-O:call
sqlcomplete#Map('column')\ltCR\ltC-X\ltC-O\ltCR:CR
You can do this in Vim.
Go to the cursor position where you want it shifted.
Press Ctrl-V (blockwise visual mode).
Move the cursor down a few lines.
So now you have a visual block 1 character wide and 3 lines down.
Press I (that is a capital I) to start insert mode.
Type as much as you want.
Press
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 1:38 PM
To: David Fishburn
Cc: vim@vim.org
Subject: Re: Building Vim7 with Visual Studio 8
David Fishburn wrote:
Has anyone attempted to build Vim using Visual Studio 8
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Einspanjer
Sent: Sunday, April 09, 2006 9:45 PM
To: vim@vim.org
Subject: Re: Getting omnicomplete to work with my SQL dialect syntax?
David.Fishburn at sybase.com writes:
In the meantime, for what you
77 matches
Mail list logo