Re: setting global options from a modeline

2012-01-19 Thread Radu Grigore
On Tuesday, January 17, 2012 3:34:27 PM UTC, Ben Fritz wrote: You could include a line like: local_vimrc: relative/path/to/config/file.vim in your TODO file, with a BufRead autocmd to find such a line Thanks, this does what I wanted! I use a slightly simpler variant. In .vimrc I have

Re: setting global options from a modeline

2012-01-19 Thread Radu Grigore
Thank you for your help. I chose the solution suggested by Ben Fritz because ... On Tuesday, January 17, 2012 3:42:17 PM UTC, Gary Johnson wrote: au BufRead TODO set option1=value1 option2=value2 This does not give different settings for different projects. The settings that I want all

Re: What did I do?

2012-01-19 Thread Eric Weir
On Jan 18, 2012, at 5:50 PM, Phil Dobbin wrote: I've never used vim-addon-manager but from a previous post to the list tonight on a similar subject it looks pretty much as if pathogen/vundle are based on its concept. Here's the relevant extract of the said post: `Its Giacomo task to add

Re: What did I do?

2012-01-19 Thread Eric Weir
On Jan 18, 2012, at 6:21 PM, Michael Ludwig wrote: On 18/1/12 16:52, Eric Weir eew...@bellsouth.net wrote: A little concerned at the requirement of use of a fontpatcher and patched font. The font patching is optional. Guess it's about the funky chars (FT and LN) you can see on the

Re: elinks.vim

2012-01-19 Thread Giacomo 'giotti' Mariani
Marc Weber marco-owe...@gmx.de Jan 18 02:03PM +0100 Is it possible? Use this as name : github:danchoi/elinks.vim I'll improve documentation. Its there but not that obvious. Marc Weber Hello Marc, thanks for your suggestion. It worked perfectly. Anyway, I have a problem: if I go on

Re: elinks.vim

2012-01-19 Thread Marc Weber
Excerpts from Giacomo 'giotti' Mariani's message of Thu Jan 19 11:41:06 +0100 2012: I'm on kubuntu 11.10. I can't give support for individual plugins. This Readme introduces debugging: https://github.com/c9s/vim-dev-plugin That's a question you have to ask the plugin author. Marc Weber --

Re: Problem loading plugins in Linux Mint

2012-01-19 Thread Maicon
If :scriptnames shows all your plugins, then what behavior makes you think that only one plugin loads? Because VCSCommand is the only that works. Example: the session.vim plugin should let me save sessions, but the command doesnot work, and the option in the toolbar of gvim for this plugin

Re: elinks.vim

2012-01-19 Thread Daniel Choi
On Jan 19, 5:41 am, Giacomo 'giotti' Mariani gia.gio...@gmail.com wrote: Anyway, I have a problem: if I go on an URL and stroke \o or \O, the plugin says Opened lik in elinks in the status bar... but it is not true: nothing happens! I'm on kubuntu 11.10. Do you have elinks open in another

balloneval: balloonexpr over empty lines

2012-01-19 Thread lith
Hi, I noticed that bexpr doesn't seem to get called when the mouse pointer hovers over an empty line. This can be easily be tested with: vimrc: set nocp set beval set bexpr=MyBalloonExpr() function! MyBalloonExpr() return 'Cursor is at line ' . v:beval_lnum . \', column ' .

Caught deadly signal

2012-01-19 Thread Phil Dobbin
Hi, all. For the first time since I seriously started using Vim about six months ago I got this message on startup: `Vim: Caught deadly signal ABRT Vim: Finished. Abort trap` I'd been using it all day had just come back to it. This version of Vim (7.3 Included patches: 1-244, 246-353) is on OS

Question about command-line mode mapping

2012-01-19 Thread Benoit Thomas
Hi, I'm trying to add some shortcuts in the command-line mode, mainly I want C-B to jump backward by word The closer I was able to do was :cnoremap C-B S-LEFT which jump backwards by WORD or use C-W which delete backward by word Is there anyway to do something like :cnoremap C-B do jump

Re: Caught deadly signal

2012-01-19 Thread Charles Campbell
Phil Dobbin wrote: Hi, all. For the first time since I seriously started using Vim about six months ago I got this message on startup: `Vim: Caught deadly signal ABRT Vim: Finished. Abort trap` I'd been using it all day had just come back to it. This version of Vim (7.3 Included patches:

Re: elinks.vim

2012-01-19 Thread Charles Campbell
Marc Weber wrote: Excerpts from Giacomo 'giotti' Mariani's message of Thu Jan 19 11:41:06 +0100 2012: I'm on kubuntu 11.10. I can't give support for individual plugins. This Readme introduces debugging: https://github.com/c9s/vim-dev-plugin That's a question you have to ask the

Re: Caught deadly signal

2012-01-19 Thread Phil Dobbin
On 19/1/12 15:59, Charles Campbell charles.e.campb...@nasa.gov wrote: Phil Dobbin wrote: Hi, all. For the first time since I seriously started using Vim about six months ago I got this message on startup: `Vim: Caught deadly signal ABRT Vim: Finished. Abort trap` I'd been using it all

Re: balloneval: balloonexpr over empty lines

2012-01-19 Thread Sergey Khorev
I noticed that bexpr doesn't seem to get called when the mouse pointer hovers over an empty line. This can be easily be tested with: See below for relevant lines in function get_beval_info in gui_beval.c. I am not sure we should change this as not all users of beval might like empty text (esp.

Anti-aliasing (font smoothing) on Windows

2012-01-19 Thread Michael Ludwig
Been wasting some time exploring this nice font collection: http://hivelogic.com/articles/top-10-programming-fonts/ Some fonts look better with anti-aliasing (font smoothing) enabled; others look worse. Which makes you want to find a way to toggle the system setting for anti-aliasing. It would

Re: Caught deadly signal in Mac Vim

2012-01-19 Thread George V. Reilly
Adding the Mac Vim mailing list. On Thu, Jan 19, 2012 at 8:27 AM, Phil Dobbin phildob...@gmail.com wrote: On 19/1/12 15:59, Charles Campbell charles.e.campb...@nasa.gov wrote: Phil Dobbin wrote: Hi, all. For the first time since I seriously started using Vim about six months ago I got this

Re: Retrieve the argument of a prior Ex mode command

2012-01-19 Thread Chris Jones
Hello Paul, Sorry for delay.. I didn't have the time to look into this further. On Wed, Jan 18, 2012 at 03:12:18AM EST, Paul Isambert wrote: Chris Jones cjns1...@gmail.com a écrit: At the bash prompt, I often use the [Alt+.] keyboard action to retrieve the argument of a prior command from

Re: vim with gui on Solaris 11, x86

2012-01-19 Thread Danek Duvall
On Fri, Jan 13, 2012 at 08:41:40PM +, Amitava Dutta wrote: I installed gvim and it does startup, however, it looks terrible ;-( In the main window, the white background have coloured lines, and all text, both in the edit window and the text on the menu have the same colour (bluish

Re: Retrieve the argument of a prior Ex mode command

2012-01-19 Thread Chris Jones
On Wed, Jan 18, 2012 at 08:42:51PM EST, Tim Chase wrote: [..] I think the biggest impediment to making a simple mapping to do this would be that in bash, commands are almost always of the form command [optional args]. In Vim, you have a variety of patterns, so extracting the args portion or

Re: Retrieve the argument of a prior Ex mode command

2012-01-19 Thread Tim Chase
On 01/19/12 21:24, Chris Jones wrote: On Wed, Jan 18, 2012 at 08:42:51PM EST, Tim Chase wrote: let item = histget(getcmdtype(), -1) Incidentally, I rather like the ‘cnoremapexpr...’ syntax and I need to evaluate it against the ‘cnoremap C-\eMyFunc()CR’ form. In my case they do the

Re: Retrieve the argument of a prior Ex mode command

2012-01-19 Thread Paul Isambert
Chris Jones cjns1...@gmail.com a écrit: Hello Paul, Sorry for delay.. I didn't have the time to look into this further. No problem with me. [...] I came up with this: | let g:indx=histnr(cmd) | | function! GetArg() | let g:indx -= 1 | let s:cmdl = split(histget(cmd, g:indx))

Re: balloneval: balloonexpr over empty lines

2012-01-19 Thread lith
Hi, Am Donnerstag, 19. Januar 2012 17:54:29 UTC+1 schrieb Sergey Khorev: Out of curiosity, what would you do show for empty lines? The quickfixsigns plugin uses balloons to display additional information about a sign when the mouse pointer hovers over a sign. This is especially useful,