system and user variables

2012-09-10 Thread eNG1Ne
I'd like to be able to include a couple of variables in my mup source files, so that when they're compiled the output shows the system date and the filename. What's the simplest way to approach that? Thanks in advance! -- You received this message from the "vim_use" maillist. Do not top-post! T

Re: How to execute script from cmdline without Vim window

2012-09-10 Thread lith
> I would like to execute a Vim script from the command line, for example > to build a vimball archive from a Makefile. You can use the -c command line option, e.g.: gvim -u NONE -U NONE -c "YOUR COMMANDS HERE" With respect to vimball: There are also (at least) c-based (http://www.drchip.org/as

Re: Oracle 11g SQL + PL/SQL + SQL*Plus + RDBMS syntax support

2012-09-10 Thread 葛布林
I see, and I am starting trying. Very thanks! It is much better than the original plsql.vim. It is very handy that the color will change from white to blue after I close a quotation. But in my codes there are some occasions like v_sql_where := v_sql_where ||' AND a.col1 =

How to execute script from cmdline without Vim window

2012-09-10 Thread Timothy Madden
Hello I would like to execute a Vim script from the command line, for example to build a vimball archive from a Makefile. But when I do that the Vim window always pops up and then immediately disappears (as the script completes). Even if there are errors in the window. Is there a way to ex

Re: bufexplorer is opening files in two windows

2012-09-10 Thread Tim Johnson
* Tim Johnson [120910 16:32]: > I'm using macVim 7.3.315 on Mac OSX 10.7 > > I have recently starting using bufexplorer. Unexpectedly bufexplorer > is opening (some but not all) files in two windows. This is deeply > unsettling and unproductive. I can't find any option in the help > feature or in

bufexplorer is opening files in two windows

2012-09-10 Thread Tim Johnson
I'm using macVim 7.3.315 on Mac OSX 10.7 I have recently starting using bufexplorer. Unexpectedly bufexplorer is opening (some but not all) files in two windows. This is deeply unsettling and unproductive. I can't find any option in the help feature or in bufexplorer.txt that might be causing this

Re: cal in a doc

2012-09-10 Thread Chris Jones
On Mon, Sep 10, 2012 at 02:46:55PM EDT, sc wrote: [..] > I had to install it and was slightly miffed when a man page didn't > come down with it. Calendars are a complicated matter and a man page is probably not the most suitable format. See this instead: http://www.gnu.org/software/gcal/manu

Re: VIM Syntax Highlighting - new vim does it wrong?

2012-09-10 Thread sc
On Mon, Sep 10, 2012 at 08:59:24AM -0400, Benjamin R. Haskell wrote: > On Mon, 10 Sep 2012, ChLange wrote: > >Another question: My Cursor is hidden when moving (for example, > >holding down on of the arrow keys). It's visible again when the > >movement stops. But again, this seems only to be a wit

Re: cal in a doc

2012-09-10 Thread sc
On Mon, Sep 10, 2012 at 01:23:24PM +, Reid Thompson wrote: > On Mon, 2012-09-10 at 06:35 -0500, sc wrote: > > > > in the Who Cares!?! department we have this: Bee might conceivably be > > interested in a slightly fancier calendar, one with today's date > > "circled", with the time of day unde

Re: understanding v_p when cb=unnamed on Gvim

2012-09-10 Thread Alexandre Provencio
On Mon, Sep 10, 2012 at 12:28 PM, Ben Fritz wrote: > On Monday, September 10, 2012 8:22:33 AM UTC-5, Alexandre Provencio wrote: >> Hello guys, >> >> >> >> I would like to know why Gvim is not replacing the selected text with >> >> the contents of the register. This does not happen with regular Vim

Re: understanding v_p when cb=unnamed on Gvim

2012-09-10 Thread Ben Fritz
On Monday, September 10, 2012 8:22:33 AM UTC-5, Alexandre Provencio wrote: > Hello guys, > > > > I would like to know why Gvim is not replacing the selected text with > > the contents of the register. This does not happen with regular Vim or > > when cb=unnamedplus or cb=unnamed,unnamedplus. >

Re: cal in a doc

2012-09-10 Thread Reid Thompson
On Mon, 2012-09-10 at 06:35 -0500, sc wrote: > > in the Who Cares!?! department we have this: Bee might conceivably be > interested in a slightly fancier calendar, one with today's date > "circled", with the time of day under it, thrown into insertmode, all > by just pressing shift-F7 > > of cou

understanding v_p when cb=unnamed on Gvim

2012-09-10 Thread Alexandre Provencio
Hello guys, I would like to know why Gvim is not replacing the selected text with the contents of the register. This does not happen with regular Vim or when cb=unnamedplus or cb=unnamed,unnamedplus. What I'm doing is using the unnamed register with the usual 'y' and 'p' not specifying it directl

Re: VIM Syntax Highlighting - new vim does it wrong?

2012-09-10 Thread Benjamin R. Haskell
On Mon, 10 Sep 2012, ChLange wrote: Hi there, I am using VIM 7.3 on my new development PC. On the old one, I used VIM 7.0. But something has changed in syntax highlighting (see https://www.dropbox.com/s/hd3skcnidhbb89b/vim_colors.png). Till now, I only recognized this when programming in HTM

Re: cal in a doc

2012-09-10 Thread sc
On Mon, Sep 10, 2012 at 05:56:52AM -0500, Tim Chase wrote: > On 09/10/12 02:31, William Robertson wrote: > > On Monday, September 10, 2012 2:45:48 AM UTC+1, Tim Chase wrote: > >>> !cal > >>> How can I get it placed in the current document? > >> > >> :r! cal > > > > Interesting - I've always used

Re: cal in a doc

2012-09-10 Thread Tim Chase
On 09/10/12 02:31, William Robertson wrote: > On Monday, September 10, 2012 2:45:48 AM UTC+1, Tim Chase wrote: >>> !cal >>> How can I get it placed in the current document? >> >> :r! cal > > Interesting - I've always used "!!" (possibly that's from classic vi), as in > > !!cal > > which I see

Re: Apply different setting to file belonging to a perticular location

2012-09-10 Thread Jean-Michel Pichavant
ansuman wrote: Hi I work with python. I want to use 4 space indentation personally for python files created by me (not associated with project). I know I can achieve this by: set ts=4 sts=4 sw=4 expandtab. Now the twist is that I am having a project folder always at D:\Projects\MyProject . Th

VIM Syntax Highlighting - new vim does it wrong?

2012-09-10 Thread ChLange
Hi there, I am using VIM 7.3 on my new development PC. On the old one, I used VIM 7.0. But something has changed in syntax highlighting (see https://www.dropbox.com/s/hd3skcnidhbb89b/vim_colors.png). Till now, I only recognized this when programming in HTML/Mason. The new VIM puts a red backgr

Re: cal in a doc

2012-09-10 Thread William Robertson
On Monday, September 10, 2012 2:45:48 AM UTC+1, Tim Chase wrote: > On 09/09/12 20:43, Bee wrote: > > > cal in a doc > > > From within terminal vim I can issue the command: > > > !cal > > > and it will display the current month. > > > How can I get it placed in the current document? > > > >