Re: Fold by timestamp?

2011-03-24 Thread c b
On Wed, Mar 23, 2011 at 8:32 AM, Tim Chase v...@tim.thechases.com wrote: On 03/23/2011 10:05 AM, Benjamin R. Haskell wrote: On Wed, 23 Mar 2011, Tim Chase wrote: set

Can a macro be executed while in insert mode?

2011-03-24 Thread E
Can a macro be executed while in insert mode? Let file equal: ---start file- wordword word word 1 wordword word word 2 wordword word word 3 wordword word word 4 wordword word word 5 wordword word word 6 wordword word word 7

line continuation errors caused by php.vim syntax file

2011-03-24 Thread Niek Dekker
Hi group, I hope this is the right place to ask this question and if not, due apologies. I am using vim 7.3.121 in FreeBSD 8.1 amd64, installed from ports. Syntax coloring works. However, the syntax coloring configuration files generate errors caused by the line continuation character '\' at the

Fwd: folding

2011-03-24 Thread Wojciech Brański
Hi With default vim setting the folowing code: a) void fun(){ ... b) void fun() { is folding as: a) +--- x lines: void fun() --- ... b) void fun() +--- x lines: --- Is there any possibility to treat both code statement same. ie

Re: Compiling vim7.3 with python-interp support

2011-03-24 Thread bill lam
If you really want to install python-dev, then you may need to downgrade python to satisfy the requirement, sudo aptitude install python:2.6.6-2ubuntu1 HTH -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net

Re: Odd behavior auto Scroll Up when I save the file

2011-03-24 Thread carlosvillu
Hi Ben, Thank for your answer, at the end I could found which was the problem. I had to removed the MRU plugin because i guess that have a any kind of Buffer Write. When I removed the plugin the problem was resolved. Thank for all. Now i have recovered my VIM other time. And i don´t have

Re: Compiling vim7.3 with python-interp support

2011-03-24 Thread Christian Brabandt
Hi neophilic! On Mi, 23 Mär 2011, neophilic wrote: It's for windows, but you can see if there's anything useful here: http://vim.wikia.com/wiki/Build_Python-enabled_Vim_on_Windows_with_MinGW or maybe here: http://vim.wikia.com/wiki/Category:Building_Vim I am on Ubuntu 10.10. I

vimrc options only if running gvim

2011-03-24 Thread statquant2
Hello guys, I have some options in my vimrc that I only want to be executed when running gvim. I created a gvimrc and vimrc but it seems that when I run vim it is picking the gvimrc now. Is there a way to say to vim please execute this only if gvim ? Cheers Colin -- View this message in

Re: Scrolling by timestamp

2011-03-24 Thread Malte Forkel
Am 24.03.2011 02:00, schrieb Gary Johnson: If you suppress the display of the missing lines by removing filler from 'diffopts', then the two diff windows will no longer track. Of course that's true. I finally realized that diff'ing allows synchronized scrolling by timestamp in terms of

Re: vimrc options only if running gvim

2011-03-24 Thread Karol Samborski
Hi, Just put this if statement: if has(gui_running) Best Regards, Karol Samborski 2011/3/24 statquant2 statqu...@gmail.com: Hello guys, I have some options in my vimrc that I only want to be executed when running gvim. I created a gvimrc and vimrc but it seems that when I run vim it is

Re: vimrc options only if running gvim

2011-03-24 Thread Marc Weber
Excerpts from statquant2's message of Thu Mar 24 10:53:22 +0100 2011: Is there a way to say to vim please execute this only if gvim ? a) use .gvimrc b) has(gui_running) Marc Weber -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: vimrc options only if running gvim

2011-03-24 Thread Karthick Gururaj
On Thu, Mar 24, 2011 at 3:23 PM, statquant2 statqu...@gmail.com wrote: Hello guys, I have some options in my vimrc that I only want to be executed when running gvim. I created a gvimrc and vimrc but it seems that when I run vim it is picking the gvimrc now. Have you by any chance sourced the

Re: vimrc options only if running gvim

2011-03-24 Thread Marc Weber
use strace -o /tmp/trace vim -c 'q' grep gvimrc /tmp/trace to find out whether your .gvimrc is read at all. If that's the case use vim -V20/tmp/log or such and grep that file. This logs all VimL commands to the log file. Marc Weber -- You received this message from the vim_use maillist. Do

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread Tim Chase
On 03/23/2011 11:24 PM, E wrote: Can a macro be executed while in insert mode? The short answer is yes, in insert-mode you can use control+O to execute one normal-mode command (such as a macro) without leaving insert-mode (capital-oh, not zero if your font doesn't distinguish that clearly)

Call user created command, select all lines and copy them to global buffer

2011-03-24 Thread Sapfeer
Is there a simple way to do this?.. Say I've created command QuoteAllLines, that puts specific symbol at the end of the line and a mapping that copies selected text into global, OS-level clipboard. Now, I want to issues these in one move, but select all lines before copying. Can I somehow run

Re: line continuation errors caused by php.vim syntax file

2011-03-24 Thread Jean-Rene David
* Niek Dekker [2011.03.24 03:40]: I am using vim 7.3.121 in FreeBSD 8.1 amd64, installed from ports. [...] However, the syntax coloring configuration files generate errors caused by the line continuation character '\' at the beginning of lines. For instance, in php.vim syntax file are a lot

Re: Odd behavior auto Scroll Up when I save the file

2011-03-24 Thread Ben Fritz
On Mar 24, 3:28 am, carlosvillu carlosvi...@gmail.com wrote: Hi Ben,     Thank for your answer, at the end I could found which was the problem. I had to removed the MRU plugin because i guess that have a any kind of Buffer Write. When I removed the plugin the problem was resolved.    

Re: line continuation errors caused by php.vim syntax file

2011-03-24 Thread Ben Schmidt
On 24/03/11 2:30 PM, Niek Dekker wrote: Hi group, I hope this is the right place to ask this question and if not, due apologies. I am using vim 7.3.121 in FreeBSD 8.1 amd64, installed from ports. Syntax coloring works. However, the syntax coloring configuration files generate errors caused by

Re: Call user created command, select all lines and copy them to global buffer

2011-03-24 Thread Ben Fritz
On Mar 24, 6:38 am, Sapfeer sapf...@gmail.com wrote: Is there a simple way to do this?.. Say I've created command QuoteAllLines, that puts specific symbol at the end of the line and a mapping that copies selected text into global, OS-level clipboard. Now, I want to issues these in one move,

Re: Odd behavior auto Scroll Up when I save the file

2011-03-24 Thread carlosvillu
Hi Ben, I removed the version 0.32 it is not the most update version. But I guess that the problem can be the interaction with other plugin. Sorry for not be more helpful. Cheers, Carlos. On 24 mar, 13:26, Ben Fritz fritzophre...@gmail.com wrote: On Mar 24, 3:28 am, carlosvillu

Re: line continuation errors caused by php.vim syntax file

2011-03-24 Thread Niek Dekker
Thanks for all of the replies. This single question has provided a lot of useful information. Thanks to the helpful clue of :help cpo-C it is clear now that the line continuation with backslashes problem has to do with compatibility options. Adding 'set nocp' to my .vimrc solved the issue with the

vim leaves zombies behind , part 2

2011-03-24 Thread Spiros Bousbouras
This is a continuation of https://groups.google.com/group/vim_use/browse_thread/thread/1312b6962f9f0431 I have now switched to Debian GNU/Linux and my vim version is 7.1 If I do :!! some_executable the executable becomes a zombie after it terminates and remains a zombie until I exit vim. The

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread Ben Fritz
On Mar 24, 10:46 am, Ben Fritz fritzophre...@gmail.com wrote: 1. select the lines you wish in any visual mode (not necessarily visual block, but this will work; I normally use linewise visual) 2. Hit ':' to enter Ex mode and automatically insert a range of ',' (last visual selection) 3.

Re: snipMate destructive tab

2011-03-24 Thread Adam Monsen
On 03/23/2011 10:16 PM, Marc Weber wrote: 1. If default placeholder text is left alone, a subsequent TAB key destroys it! Is this expected behavior? Is there any way to just *leave* the default placeholder text? snipmate is simple. Consider using one of the alternatives. Eg see bottom of

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread Ben Fritz
On Mar 23, 11:24 pm, E emile.twca...@gmail.com wrote: Can a macro be executed while in insert mode? [Snip] Let MACRO (@r) have resulting action that can be represented by this kind of: ^{IF $foo[Number adjacent to EOL] } or insert the desired additional text on each line with the

obtaining spell files for vim

2011-03-24 Thread Andrey Voropaev
Hi! There's some problem with obtaining spell files for vim. In most of docs the directory for .spl files is supposed to be http://ftp.vim.org/pub/vim/runtime/spell/ but currently there are no .spl files. It looks like it contains scripts for building them. But what are the instructions for

Re: Fwd: folding

2011-03-24 Thread Charles Campbell
Wojciech Brański wrote: Hi With default vim setting the folowing code: a) void fun(){ ... b) void fun() { is folding as: a) +--- x lines: void fun() --- ... b) void fun() +--- x lines: --- Is there any possibility to treat both code statement same. ie to fold both to

Problem to map ALT-hjkl in InsertMode with urxvt

2011-03-24 Thread Kent
Hi, all before describing my problem, I'd list the env. applications I used here: OS:linux 2.6.37-ARCH (archlinux i686) vim: 7.2.436 Terminal emulator: urxvt (with 256colors patch) kent$ echo $TERM rxvt-256color kent$ echo $LANG en_US.UTF-8 (I need the encoding to be UTF-8, this cannot be

Problem to map ALT-hjkl in InsertMode with urxvt

2011-03-24 Thread Kent
Hi, all before describing my problem, I'd list the env. applications I used here: OS:linux 2.6.37-ARCH (archlinux i686) vim: 7.2.436 Terminal emulator: urxvt (with 256colors patch) kent$ echo $TERM rxvt-256color kent$ echo $LANG en_US.UTF-8 (I need the encoding to be UTF-8, this cannot be

close all unvisible buffers

2011-03-24 Thread Caesarmv
Hi folks. This is my first message. Can you see me? My question is: how to close all unvisible buffers? For example: I have 5 tabs opened (5 visible buffers) and many unvisible buffers (I am seeing with :ls command). 10x -- You received this message from the vim_use maillist. Do not

Indentation question with C header

2011-03-24 Thread simonl
Hi all, I'm trying to indent C header with that supports C++ linkage (somebody else' code and I don't want to remove them). The problem is that, the following code extern C { extern int foo(); } would be indented into extern C { extern int foo(); } which is OK but not what I wanted: the

Re: Compiling vim7.3 with python-interp support

2011-03-24 Thread neophilic
Where did you get python 2.6.6-2ubuntu2? From your output, it looks like it is not in the maverick repository. Something is wrong there. The update manager shows that i am downloading from the main server. So, should i degrade to python 2.6.6-2ubuntu1?? But, still is there any way I could tell

Re: which plugin management system to use?

2011-03-24 Thread ZyX
Reply to message «Re: which plugin management system to use?», sent 08:49:13 24 March 2011, Thursday by Marc Weber: We could also extend VAM to allow directory prefixes: call ActivateAddons([dir-a/snipmate,dir-b/python-support-plugin]) However there must be strong arguments making me vote

Re: which plugin management system to use?

2011-03-24 Thread Israel Chauca F.
On Mar 24, 2011, at 12:49 AM, Marc Weber wrote: Excerpts from Israel Chauca F.'s message of Wed Mar 23 19:56:42 +0100 2011: call Use(dir1, dir2) I guess that adding a vam#Use() function should take no more than 10sec. We could also extend VAM to allow directory prefixes: call

Re: Compiling vim7.3 with python-interp support

2011-03-24 Thread neophilic
If you really want to install python-dev, then you may need to downgrade python to satisfy the requirement, sudo aptitude install python:2.6.6-2ubuntu1 Ok. I will try that, meanwhile can i tell vim to use python2.7 instead, without messing up the /usr/bin/python symlink? -- You received

vimrc errors introduced with vim 7.2.330: au problems?

2011-03-24 Thread mathneuro
Hello, I have a series of commands in an old vimrc I've been using on my OS X box (vim 7.2.264): au BufRead,BufNewFile [Mm]akefile* set noexpandtab au BufRead,BufNewFile *.tex set tabstop=2 au BufRead,BufNewFile *.tex set shiftwidth=2 that are now throwing the error: Error detected while

Re: which plugin management system to use?

2011-03-24 Thread ZyX
Reply to message «Re: which plugin management system to use?», sent 20:36:11 24 March 2011, Thursday by Israel Chauca F.: It seems like I haven't been clear on this, whenever I wrote 'command line' I was referring to Vim's command line mode, not the terminal. I'm sorry for the confusion.

Re: Compiling vim7.3 with python-interp support

2011-03-24 Thread Christian Brabandt
Hi neophilic! On Do, 24 Mär 2011, neophilic wrote: Where did you get python 2.6.6-2ubuntu2? From your output, it looks like it is not in the maverick repository. Something is wrong there. The update manager shows that i am downloading from the main server. So, should i degrade to python

Re: obtaining spell files for vim

2011-03-24 Thread Christian Brabandt
Hi Andrey! On Do, 24 Mär 2011, Andrey Voropaev wrote: Hi! There's some problem with obtaining spell files for vim. In most of docs the directory for .spl files is supposed to be http://ftp.vim.org/pub/vim/runtime/spell/ but currently there are no .spl files. It looks like it contains

Beta Colorscheme - Solarized

2011-03-24 Thread Ethan Schoonover
I've been using and developing a new dual-mode selective contrast colorscheme for several months now, and I've now uploaded a beta release to vim.org/project homepage/github: Homepage: http://ethanschoonover.com/solarized Github: https://github.com/altercation/solarized Vim.org

Re: which plugin management system to use?

2011-03-24 Thread Marc Weber
line' I was referring to Vim's command line mode, not the terminal. I'm sorry for the confusion. So it looks like the wish to use /bin/sh to install plugins using shell is not as huge as I thought - so no need to rewrite parts of VAM or duplicate implementation. (lucky me) Something similar

Re: Beta Colorscheme - Solarized

2011-03-24 Thread Robert
Very nice...! The red on the dark background makes my eyes feel fuzzy. -- Bob -- 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: Beta Colorscheme - Solarized

2011-03-24 Thread Ethan Schoonover
Robert, the red is challenging. I am open to tweaking it, but I've gone through a lot of options and keep coming back to this value. The bleed over into the base03 dark tone can be reduced in some cases, but it decreases readability on the light background. I have two variations on the red that

Re: which plugin management system to use?

2011-03-24 Thread Israel Chauca F.
On Mar 24, 2011, at 4:11 PM, Marc Weber wrote: line' I was referring to Vim's command line mode, not the terminal. I'm sorry for the confusion. So it looks like the wish to use /bin/sh to install plugins using shell is not as huge as I thought - so no need to rewrite parts of VAM or

Building for Windows 7 64 bit with 64 bit dynamic perl

2011-03-24 Thread Suresh Govindachar
Hello, At present, I am downloading vim sources (using mercurial) with the view to using MinGW 64 to build for Windows 7 64 bit, huge version with OLE and with support for dynamic perl 64 bit version 5.12. I am planning to use Make_ming.mak. Are there any know issues with this attempt? Has

Re: Can a macro be executed while in insert mode?

2011-03-24 Thread E
Thats cool. I never knew I could change a macro like that. Thanks for replying. -- 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: Can a macro be executed while in insert mode?

2011-03-24 Thread E
Thanks! -- 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: Building for Windows 7 64 bit with 64 bit dynamic perl

2011-03-24 Thread Suresh Govindachar
A short time ago, I wrote: At present, I am downloading vim sources (using mercurial) with the view to using MinGW 64 to build for Windows 7 64 bit, huge version with OLE and with support for dynamic perl 64 bit version 5.12. I am planning to use Make_ming.mak. Are there any

Re: Building for Windows 7 64 bit with 64 bit dynamic perl

2011-03-24 Thread bill lam
I cannot remember clearly because I no longer compile vim myself. Last year I built vim using mingw without perl. It might be a 64-bit built but I cannot be sure. You might try by yourself since it was quite straight forward if I remember correctly. -- regards,

svn plugin for vim not work

2011-03-24 Thread coolesting
I unzip the http://www.vim.org/scripts/script.php?script_id=90rating=helpful installation package of the svn to ~/.vim/plugin, then open a vim windows on the desktop. type the command, VCSStatus, vcscommand-install, etc, but it not work, what should i do something for svn , installing it ?

enhanced asciidoc editing with exuberant ctags and taglist.vim

2011-03-24 Thread Adam Monsen
Has anyone done work on enhancing editing of asciidoc text (perhaps using exuberant ctags and taglist.vim)? I thought it might be nice to, for instance, have taglist provide an outline of an asciidoc file. signature.asc Description: OpenPGP digital signature