Re: silent not so silent...

2011-12-12 Thread Christian Brabandt
On Tue, December 13, 2011 3:25 am, Chris Lott wrote: > I have the following in my .vimrc > noremap mp :silent !markdown2pdf -o %:r.pdf %:r.mtxt \| open > -a /Applications/Adobe\ Acrobat\ X\ Pro/Adobe\ Acrobat\ Pro.app/ > %:r.pdf > > It works, but the command shows in the cmd area and when I return

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-12 Thread Jerry
Thanks a lot, Tony. I will experiment with that. Also I noticed the color scheme is not loaded right. With the same color scheme specified, what showed up in VIM7.2 is different from what is showed up in VIM7.3. Like in the examples of my first post. Do you happen to have an idea what maybe wrong?

RE: use of redir => variable

2011-12-12 Thread John Beckett
rodinski wrote: > It works well except it seems to expand horizontal tabs to > spaces. The code you posted uses :redir to capture the output of a command. I imagine that tab characters are converted to spaces before the command's output is displayed, so the captured output would have no tabs. In o

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-12 Thread Tony Mechelynck
On 13/12/11 03:24, Jerry wrote: Thank you Tony. I was able to set the font Bitstream\ Vera\ Sans\ Mono\ 11 etc as suggested by the wikia. but I was not able to specify the font I wanted. Do you know why GTK2 can only find a subset of the fonts? thanks. GTK2 ought to be able to find all the fon

Re: gvim window size narrower than normal

2011-12-12 Thread alick
于 2011年12月08日 13:50, alick 写道: > 于 2011年12月07日 17:44, John Little 写道: >> On Dec 6, 6:27 pm, alick wrote: >>> >>> When I am in gnome-terminal(80x24) and type gvim to start GVim(GTK), >>> the window lines is less than normal(24 lines). >> >> Just a few ideas: >> >> - Maybe there's an X resource

Re: AW: call to iconv(...) missing somewhere in the code?

2011-12-12 Thread Tony Mechelynck
On 12/12/11 19:02, Paul Maier wrote: -Ursprüngliche Nachricht- Von: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] Im Auftrag von Tony Mechelynck Gesendet: Sonntag, 11. Dezember 2011 15.11 An: vim_use@googlegroups.com Cc: Paul Maier Betreff: Re: call to iconv(...) missing

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-12 Thread Jerry
Thank you, John. I was able to set guifont=Bitstream\ Vera\ Sans\ Mono\ 11. and that looked better. but I can not set guifont=-dt-interface\ user-medium-r-normal-*-*-120- *-*-m-*-iso8859-1, which I liked in gVIM 7.2. Do you know why? On Dec 11, 11:06 pm, John Little wrote: > On Dec 12, 5:42 pm,

silent not so silent...

2011-12-12 Thread Chris Lott
I have the following in my .vimrc noremap mp :silent !markdown2pdf -o %:r.pdf %:r.mtxt \| open -a /Applications/Adobe\ Acrobat\ X\ Pro/Adobe\ Acrobat\ Pro.app/ %:r.pdf It works, but the command shows in the cmd area and when I return to vim I have to "press ENTER or type command to continue" -- I

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-12 Thread Jerry
Thank you Tony. I was able to set the font Bitstream\ Vera\ Sans\ Mono\ 11 etc as suggested by the wikia. but I was not able to specify the font I wanted. Do you know why GTK2 can only find a subset of the fonts? thanks. On Dec 11, 11:05 pm, Tony Mechelynck wrote: > On 12/12/11 05:42, Jerry wrot

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-12 Thread Jerry
I noticed that too. But when I tried it again, the color become the same. Don't know what happened there. Thanks, SC. On Dec 11, 11:05 pm, sc wrote: > On Mon, Dec 12, 2011 at 05:57:36AM +0100, Ivan Krasilnikov wrote: > > On Mon, Dec 12, 2011 at 05:42, Jerry wrote: > > > gVIM 7.3 screenshot:http:

Re: Strange font rendering in gVIM 7.3 in Unix

2011-12-12 Thread Jerry
I am using -dt-interface\ user-medium-r-normal-*-*-120-*-*-m-*- iso8859-1 I did some research today and found out the gVIM7.3 can not load any font I specified. And it fell back to the default font. Do you have any idea how to fix this? Thank you so much for replying. On Dec 11, 10:57 pm, Ivan K

use of redir => variable

2011-12-12 Thread rodinski
I use a function called "TabMessage" to redirect messages to a new tab. It works well except it seems to expand horizontal tabs to spaces. ie if I run :TabMessage global /\t/ I do get a new tab with all the lines from the current buffer that contain tabs, however in the newly created tab will

Re: run shell command, launch app, but keep focus

2011-12-12 Thread Zhao Cai
You can use system call to applescript to do this without activate chrome. The script would be like this: set theURL to "…..." tell application "Google Chrome" open location theURL end tell Sorry, this code is untested. You will need to finish and debug it. On Dec 12, 2011, at 4:42 PM,

Re: run shell command, launch app, but keep focus

2011-12-12 Thread Tim Chase
On 12/12/11 15:42, Alejandro Exojo wrote: El Lunes, 12 de diciembre de 2011, Chris Lott escribió: I have the following command mapped for previewing markdown as HTML: silent !pandoc -f markdown -t html -s -o %:r.html %:r.mtxt | open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chro

Problem with some langmap keys and non-native functions

2011-12-12 Thread Alejandro Exojo
Hi. I'm having a little bit of trouble setting langmap to my taste. I have: set langmap=ñ[,+],ç},Ñ{ The problem is that the 'ñ' and 'ç' keys only work for functions that are defined in Vim. It is not working, for example, with unimpaired (a plugin that defines many commands that start with '['

Re: run shell command, launch app, but keep focus

2011-12-12 Thread Alejandro Exojo
El Lunes, 12 de diciembre de 2011, Chris Lott escribió: > I have the following command mapped for previewing markdown as HTML: > silent !pandoc -f markdown -t html -s -o %:r.html %:r.mtxt | open -a > /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome > %:r.html > > However, when the br

Re: Can I make :vert the default?

2011-12-12 Thread Benjamin R. Haskell
On Mon, 12 Dec 2011, Albin Olsson wrote: Hi Is there a setting so that I don't have to prepend my window creating commands with 'vert' every time? In the age of wide screen monitors vertical splitting is a lot nicer than horizontal. There was a big discussion of this in October 2010: Subje

Re: Can I make :vert the default?

2011-12-12 Thread Chris Jones
On Mon, Dec 12, 2011 at 06:16:17PM EST, Chris Jones wrote: [..] > Since I only use horizontal splits once I have already 2-3 vertical > planes (on rare occasions) what I personally did was to create > abbreviations in my vimrc, such as, [..] Planes? Since we're thinking about moving, my wife w

Re: Can I make :vert the default?

2011-12-12 Thread Chris Jones
On Mon, Dec 12, 2011 at 04:11:19PM EST, Albin Olsson wrote: > Hi > > Is there a setting so that I don't have to prepend my window creating > commands with 'vert' every time? Not aware of one. > In the age of wide screen monitors vertical splitting is a lot nicer > than horizontal. Couldn't agr

Re: Can I make :vert the default?

2011-12-12 Thread Albin Olsson
On Mon, Dec 12, 2011 at 11:45 PM, Bee wrote: > > On Dec 12, 1:11 pm, Albin Olsson wrote: >> Hi >> >> Is there a setting so that I don't have to prepend my window creating >> commands with 'vert' every time? In the age of wide screen monitors >> vertical splitting is a lot nicer than horizontal. >

Re: Can I make :vert the default?

2011-12-12 Thread Bee
On Dec 12, 1:11 pm, Albin Olsson wrote: > Hi > > Is there a setting so that I don't have to prepend my window creating > commands with 'vert' every time? In the age of wide screen monitors > vertical splitting is a lot nicer than horizontal. > > Thanks in advance > > A > > -- > Albin Olsson, IT

Can I make :vert the default?

2011-12-12 Thread Albin Olsson
Hi Is there a setting so that I don't have to prepend my window creating commands with 'vert' every time? In the age of wide screen monitors vertical splitting is a lot nicer than horizontal. Thanks in advance A -- Albin Olsson, IT Consultant and Classic Connoisseur www.albinolsson.se | albin

run shell command, launch app, but keep focus

2011-12-12 Thread Chris Lott
I have the following command mapped for previewing markdown as HTML: silent !pandoc -f markdown -t html -s -o %:r.html %:r.mtxt | open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome %:r.html However, when the browser launches, Vim loses focus. I'd like Vim to keep focus. Is ther

Re: Make underscore a non-word character in the current buffer

2011-12-12 Thread Tim Chase
On 12/12/11 13:30, BPJ wrote: I need to make underscore a non-word character in the current buffer, preferably without having to list all characters which should be word characters after the change. How? Sounds like you want :setlocal isk-=_ to remove "_" from the 'iskeyword' settings for t

Make underscore a non-word character in the current buffer

2011-12-12 Thread BPJ
I need to make underscore a non-word character in the current buffer, preferably without having to list all characters which should be word characters after the change. How? /bpj -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are rep

AW: call to iconv(...) missing somewhere in the code?

2011-12-12 Thread Paul Maier
> -Ursprüngliche Nachricht- > Von: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] Im Auftrag > von Tony Mechelynck > Gesendet: Sonntag, 11. Dezember 2011 15.11 > An: vim_use@googlegroups.com > Cc: Paul Maier > Betreff: Re: call to iconv(...) missing somewhere in the code? >

Re: :make Success

2011-12-12 Thread Ben Fritz
On Nov 27, 1:16 am, Gary Johnson wrote: > On 2011-11-26, Ben Fritz wrote: > > > On Nov 26, 6:48 pm, Marvin Renich wrote: > > > > Don't confuse :make with :!make. While internally, :make is going to > > > execute the OS's make command (assuming default 'makeprg'), the behavior > > > of | in this

Re: How to put a character the statusline?

2011-12-12 Thread Tony Mechelynck
On 12/12/11 06:19, Bee wrote: This returns the decimal value of the byte (character) under the cursor: set statusline+=%b " decimal byte :help statusline b N Value of byte under cursor. Since 'b' returns the decimal value as a number (N), could something like this work? (I cannot get it to

Re: Vim site

2011-12-12 Thread Marc Weber
Cameron is working on a new design. AFAIK He's going to publish his new design and list of changes so that we can talk about it soon. Wait a couple of days. If there are no updates within a week ping back again. Marc Weber -- You received this message from the "vim_use" maillist. Do not top-p

startying macVim from Finder

2011-12-12 Thread Niels Grundtvig Nielsen
Error detected while processing command line: E486: Pattern not found: <^st As far as I can work out, this is because macVim is helpfully (?) trying to repeat the last search when opening file A ... and failing because the search was actually valid for file B. But why is it repeating the search an

Vim site

2011-12-12 Thread Eumir
Hi, I recently came across this post http://blog.cobychapple.com/blog/2011/12/07/open-source-needs-a-new-ui/ via HN and i would like to ask if there are any other developers/ designers currently working on the site? I would like to extend some of my help with this and would like to know how I can

Re: How to put a character the statusline?

2011-12-12 Thread S. Cowles
On Sun, 11 Dec 2011, S. Cowles wrote: On Sun, 11 Dec 2011, Bee wrote: I know how to put the decimal and hex equivalent of the character under the cursor in the statusline: set statusline+=%b" decimal byte '98' set statusline+=\x%02B" hex byte 'x62' How to put the character itself i