Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

vim-mac · Vim (Vi IMproved) text editor Macintosh list

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 12956 - 12985 of 13776   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#12956 From: Bram Moolenaar <Bram@...>
Date: Thu Dec 8, 2011 4:17 pm
Subject: Updated voting list
Bram@...
Send Email Send Email
 
Hello Vim users,

Upon request I have added a voting item:

- better plugin management system: automatic updates and dependencies

The manual downloading of scripts is a bit cumbersome.  Some automatic
way, kind of an app store, would be useful.
How to do this is another question.  There are some useful remarks
here: http://www.charlietanksley.net/philtex/sane-vim-plugin-management/


If you already have votes, you can change them here:
http://www.vim.org/sponsor/vote.php

To be able to vote you have to sponsor Vim development with at least 10
euro.  More information here: http://www.vim.org/sponsor/index.php

As always, the money is used to help needy children in Uganda.


PS. Don't forget to do your Amazon orders through:
http://iccf-holland.org/click1.html


--
hundred-and-one symptoms of being an internet addict:
252. You vote for foreign officials.

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the  "vim_announce" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_mac" 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

#12957 From: björn <bjorn.winckler@...>
Date: Thu Dec 8, 2011 8:35 pm
Subject: Re: Can i change window spacing? The text is too close to borders.
bjorn.winckler@...
Send Email Send Email
 
On 7 December 2011 12:22, gustafsson.g wrote:
>
> I'm wondering if there's some way to add spacing inside of the MacVim
> window? The text is too close to the edge on all sides. I want the
> same space as there is in Terminal.app (just a few pixels).

Yes, you can change the amount of space.  Take a look at

:h macvim-user-defaults

You will want to change the various MMTextInset* user defaults.

Björn

--
You received this message from the "vim_mac" 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

#12958 From: busticated <itsbusticated@...>
Date: Fri Dec 9, 2011 12:11 pm
Subject: Re: Updated voting list
itsbusticated@...
Send Email Send Email
 
Have you checked out Vundle? Seems to fit the description.
https://github.com/gmarik/vundle

It's been a huge help to me!

--
You received this message from the "vim_mac" 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

#12959 From: Phil Dobbin <phildobbin@...>
Date: Fri Dec 9, 2011 4:38 pm
Subject: Re: Updated voting list
phildobbin@...
Send Email Send Email
 
On 9/12/11 12:11, "busticated" <itsbusticated@...> wrote:

> Have you checked out Vundle? Seems to fit the description.
> https://github.com/gmarik/vundle
>
> It's been a huge help to me!

Gets my vote ;-)

Cheers,

     Phil...

--
Nothing to see here... move along, move along

--
You received this message from the "vim_mac" 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

#12960 From: George <gkrivoro@...>
Date: Fri Dec 9, 2011 6:12 pm
Subject: Vim-latex forward searching
gkrivoro@...
Send Email Send Email
 
Hi guys,

I use macvim+vim-latex+skim, but I'm having issues getting the forward
search to work. I have the inverse searching set up fine but when I
try to apply Ted Pavlic's patch on:
http://phaseportrait.blogspot.com/2007/12/pdfsync-inverse-searches-in-macvim.htm\
l,
I get this error (with both the latest version of vim-latex and the
2007 one that this was built for):

patching file compiler.vim
Hunk #1 succeeded at 250 with fuzz 2 (offset 5 lines).
Hunk #2 succeeded at 272 (offset 7 lines).
Hunk #3 FAILED at 323.
1 out of 3 hunks FAILED -- saving rejects to file compiler.vim.rej

The rejects file is long, but starts with:


***************
*** 317,368 ****
   "      will work.
   function! Tex_ForwardSearchLaTeX()
  	 if &ft != 'tex'
- 	 echo "calling Tex_ViewLaTeX from a non-tex file"
  		 return
  	 end

-  " only know how to do forward search for yap on windows and xdvik
(and
-  " some newer versions of xdvi) on unices. Therefore forward
searching will
......



Anyone have forward searching working on their macvim that might have
a solution?

thanks

--
You received this message from the "vim_mac" 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

#12961 From: Chris Lott <chris@...>
Date: Sat Dec 10, 2011 4:04 am
Subject: "resetting" bold and italics
chris@...
Send Email Send Email
 
Often when I change colorschemes via :colors X the new scheme doesn't
work completely, most often because bold/italics aren't rendered as
bold/italics. If I restart vim, the bold/italics appear using that
color scheme. Is there a way to force this to happen without
restarting vim?

c
--
Chris Lott

--
You received this message from the "vim_mac" 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

#12962 From: dado <dado@...>
Date: Sat Dec 10, 2011 5:56 pm
Subject: Re: Changing default keybinds
dado@...
Send Email Send Email
 
I tried
:h cmd-key
and got
E149: Sorry, no help for cmd-key

Thanks,
Dado

On Dec 7, 1:06 pm, björn <bjorn.winck...@...> wrote:
> On 6 December 2011 14:37, Tom Wieland wrote:
>
>
>
>
>
>
>
>
>
>
>
> > I'm trying to set up MacVim in a 'one file per tab' environment.
>
> > My normal setup is using the MiniBufExpl plugin with the maps
> > map <Tab> :bn<cr>
> > map <S-Tab> :bp<cr>
>
> > By default the cmd-t and cmd-w maps are used for opening and closing
> > tabs. The problem I have with cmd-t (<D-t>) is that it opens a new
> > buffer with the name "[No Name]". I'd like it to open an existing
> > buffer instead. Like that I can open a tab and then open a file or
> > drag a file to it from Finder (or the File Browser
inhttps://github.com/alloy/macvim).
> > By default the cmd-w map will close a tab. I'd like it to also buffer
> > wipe the buffer I had open in there (because by closing the tab,
> > having one file per tab, I'm saying that I don't want the file open
> > any more).
>
> > These maps should do:
> > map <Tab> :tabnext<cr>
> > map <S-Tab> :tabprevious<cr>
> > map <D-t> :tabedit %<cr>
> > map <D-w> :bwipeout :tabclose<cr>
>
> > The problem is that when I open vim, set these maps and then do a cmd-
> > t it will not work. Neither with e.g. map <D-t> :echo LOL<cr>.
>
> These shortcuts are bound to menus so you have to unbind them first.
> Read up on ":h cmd-key".
>
> Björn

--
You received this message from the "vim_mac" 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

#12963 From: Dado Feigenblatt <dado@...>
Date: Sat Dec 10, 2011 6:25 pm
Subject: Re: Changing default keybinds
dado@...
Send Email Send Email
 
Sorry, I haven't had coffee yet.
I've tried other methods and couldn't get help on that either.
Typing literally
:h <D-t>
didn't work.
Trying ˆV and the actual shortcut didn't work either.

I just found out that literal
:h <C-A>
displays cmdline.txt while
:h ^A (using ^V to enter ^A)
displays change.txt.
Why the difference?

Thanks,
Dado

On 12/10/11 9:56 AM, dado wrote:
> I tried
> :h cmd-key
> and got
> E149: Sorry, no help for cmd-key
>
> Thanks,
> Dado
>
> On Dec 7, 1:06 pm, björn<bjorn.winck...@...>  wrote:
>> On 6 December 2011 14:37, Tom Wieland wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> I'm trying to set up MacVim in a 'one file per tab' environment.
>>> My normal setup is using the MiniBufExpl plugin with the maps
>>> map<Tab>  :bn<cr>
>>> map<S-Tab>  :bp<cr>
>>> By default the cmd-t and cmd-w maps are used for opening and closing
>>> tabs. The problem I have with cmd-t (<D-t>) is that it opens a new
>>> buffer with the name "[No Name]". I'd like it to open an existing
>>> buffer instead. Like that I can open a tab and then open a file or
>>> drag a file to it from Finder (or the File Browser
inhttps://github.com/alloy/macvim).
>>> By default the cmd-w map will close a tab. I'd like it to also buffer
>>> wipe the buffer I had open in there (because by closing the tab,
>>> having one file per tab, I'm saying that I don't want the file open
>>> any more).
>>> These maps should do:
>>> map<Tab>  :tabnext<cr>
>>> map<S-Tab>  :tabprevious<cr>
>>> map<D-t>  :tabedit %<cr>
>>> map<D-w>  :bwipeout :tabclose<cr>
>>> The problem is that when I open vim, set these maps and then do a cmd-
>>> t it will not work. Neither with e.g. map<D-t>  :echo LOL<cr>.
>> These shortcuts are bound to menus so you have to unbind them first.
>> Read up on ":h cmd-key".
>>
>> Björn

--
You received this message from the "vim_mac" 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

#12964 From: björn <bjorn.winckler@...>
Date: Sat Dec 10, 2011 9:20 pm
Subject: Re: Changing default keybinds
bjorn.winckler@...
Send Email Send Email
 
On 10 December 2011 18:56, dado wrote:
> I tried
> :h cmd-key
> and got
> E149: Sorry, no help for cmd-key

You must either have a very old version of MacVim, or you're not
running MacVim at all.  Get the latest version from:

http://code.google.com/p/macvim/

Björn

--
You received this message from the "vim_mac" 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

#12965 From: Dado Feigenblatt <vim@...>
Date: Sat Dec 10, 2011 11:36 pm
Subject: Re: Changing default keybinds
vim@...
Send Email Send Email
 
I'm on MacVim (thank you!)
I'm on build 53, OSX 10.6.8
MacVim says I'm up-to-date.
I see there's a build 62 for 10.6.x but the wording suggests it's not
the most stable release.
Is that what most 10.6 users are using?
I was under the impression that the latest builds where more about Lion
compatibility but otherwise no different than build 53.

Thanks,
Dado

On 12/10/11 1:20 PM, björn wrote:
> On 10 December 2011 18:56, dado wrote:
>> I tried
>> :h cmd-key
>> and got
>> E149: Sorry, no help for cmd-key
> You must either have a very old version of MacVim, or you're not
> running MacVim at all.  Get the latest version from:
>
> http://code.google.com/p/macvim/
>
> Björn
>

--
You received this message from the "vim_mac" 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

#12966 From: björn <bjorn.winckler@...>
Date: Sun Dec 11, 2011 9:05 am
Subject: Re: Changing default keybinds
bjorn.winckler@...
Send Email Send Email
 
On 11 December 2011 00:36, Dado Feigenblatt wrote:
> I'm on MacVim (thank you!)
> I'm on build 53, OSX 10.6.8
> MacVim says I'm up-to-date.
> I see there's a build 62 for 10.6.x but the wording suggests it's not the
> most stable release.
> Is that what most 10.6 users are using?
> I was under the impression that the latest builds where more about Lion
> compatibility but otherwise no different than build 53.

I still recommending a later snapshot (62 is available for 10.6) -- it
contains several bug fixes.  If you'd rather stay on build 53, then
you can read the latest help file at [1].  Just search for "cmd-key".

Björn

[1] https://github.com/b4winckler/macvim/blob/master/runtime/doc/gui_mac.txt

--
You received this message from the "vim_mac" 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

#12967 From: björn <bjorn.winckler@...>
Date: Sun Dec 11, 2011 9:07 am
Subject: Re: "resetting" bold and italics
bjorn.winckler@...
Send Email Send Email
 
On 10 December 2011 05:04, Chris Lott wrote:
> Often when I change colorschemes via :colors X the new scheme doesn't
> work completely, most often because bold/italics aren't rendered as
> bold/italics. If I restart vim, the bold/italics appear using that
> color scheme. Is there a way to force this to happen without
> restarting vim?

I'm not familiar with this problem.  Can you come up with a reliable
way to reproduce it?

In order to work around it you should be able to "reset" the syntax
highlighting by typing

:syntax off

followed by

:syntax on

and then perhaps setting your color scheme again.

Björn

--
You received this message from the "vim_mac" 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

#12968 From: Dado Feigenblatt <vim@...>
Date: Mon Dec 12, 2011 4:26 am
Subject: Re: Changing default keybinds
vim@...
Send Email Send Email
 
As MacVim says I'm up-to-date I thought that was the best release (at
least for my OS)
I'll gladly update to 62.

Thanks a lot for all you do
Dado


On 12/11/11 1:05 AM, björn wrote:
> On 11 December 2011 00:36, Dado Feigenblatt wrote:
>> I'm on MacVim (thank you!)
>> I'm on build 53, OSX 10.6.8
>> MacVim says I'm up-to-date.
>> I see there's a build 62 for 10.6.x but the wording suggests it's not the
>> most stable release.
>> Is that what most 10.6 users are using?
>> I was under the impression that the latest builds where more about Lion
>> compatibility but otherwise no different than build 53.
> I still recommending a later snapshot (62 is available for 10.6) -- it
> contains several bug fixes.  If you'd rather stay on build 53, then
> you can read the latest help file at [1].  Just search for "cmd-key".
>
> Björn
>
> [1] https://github.com/b4winckler/macvim/blob/master/runtime/doc/gui_mac.txt
>

--
You received this message from the "vim_mac" 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

#12969 From: Phantrast <phantrast@...>
Date: Sat Dec 17, 2011 8:59 pm
Subject: visual navigation bar
phantrast@...
Send Email Send Email
 
I just saw this and I'm totally thrilled about it. That visual navigation bar on the right seems to be ultimate solution to any
"where am I?" situation after losing orientation during a protracted session. I've never seen this before and never thought of it myself, yet
it really seems like a must have now. Is this available for MacVim?



--
You received this message from the "vim_mac" 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

#12970 From: Guido Van Hoecke <guivho@...>
Date: Sun Dec 18, 2011 7:58 am
Subject: Re: visual navigation bar
guivho@...
Send Email Send Email
 
> it really seems like a must have now. Is this available for MacVim?

http://www.vim.org/scripts/script.php?script_id=273

--
You received this message from the "vim_mac" 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

#12971 From: Billy Huang <billbox13@...>
Date: Sun Dec 18, 2011 9:30 am
Subject: RE: visual navigation bar
billbox13@...
Send Email Send Email
 
You probably want something that only offers in sublime editor, its
currently in beta. Its the next closest thing from vim, (other than
emac) but more public friendly.

Sent from my Windows Phone From: Guido Van Hoecke
Sent: Sunday, 18 December 2011 18:58
To: vim_mac@googlegroups.com
Subject: Re: visual navigation bar
> it really seems like a must have now. Is this available for MacVim?

http://www.vim.org/scripts/script.php?script_id=273

--
You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12972 From: Phantrast <phantrast@...>
Date: Sun Dec 18, 2011 11:30 am
Subject: Re: visual navigation bar
phantrast@...
Send Email Send Email
 
thanks about pointing me to sublime editor.
haven't seen it before.

On 18.12.2011, at 10:30, Billy Huang wrote:

> You probably want something that only offers in sublime editor, its
> currently in beta. Its the next closest thing from vim, (other than
> emac) but more public friendly.
>
> Sent from my Windows Phone From: Guido Van Hoecke
> Sent: Sunday, 18 December 2011 18:58
> To: vim_mac@googlegroups.com
> Subject: Re: visual navigation bar
>> it really seems like a must have now. Is this available for MacVim?
>
> http://www.vim.org/scripts/script.php?script_id=273
>
> --
> You received this message from the "vim_mac" 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
>
> --
> You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12973 From: Billy Huang <billbox13@...>
Date: Sun Dec 18, 2011 11:10 pm
Subject: Re: visual navigation bar
billbox13@...
Send Email Send Email
 
you welcome
if you like vim key-binding be sure to check out vintage mode, it give you some basic vim bindings. 
i pretty much use sublime on temporary pc/mac, better replacement for notepad++ for pc.  though i still love vim more.

On Sun, Dec 18, 2011 at 10:30 PM, Phantrast <phantrast@...> wrote:
thanks about pointing me to sublime editor.
haven't seen it before.

On 18.12.2011, at 10:30, Billy Huang wrote:

> You probably want something that only offers in sublime editor, its
> currently in beta. Its the next closest thing from vim, (other than
> emac) but more public friendly.
>
> Sent from my Windows Phone From: Guido Van Hoecke
> Sent: Sunday, 18 December 2011 18:58
> To: vim_mac@googlegroups.com
> Subject: Re: visual navigation bar
>> it really seems like a must have now. Is this available for MacVim?
>
> http://www.vim.org/scripts/script.php?script_id=273
>
> --
> You received this message from the "vim_mac" 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
>
> --
> You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12974 From: MacVlad <vlad.ghitulescu@...>
Date: Mon Dec 19, 2011 5:51 am
Subject: Hot to add a syntax-file for AppleScript to MacVim?
vlad.ghitulescu@...
Send Email Send Email
 
Hello!


I want to add a syntax file for AppleScript to MacVim.
I have found one at http://www.vim.org/scripts/script.php?script_id=1736,
that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
under the menu "Syntax" in MacVim.

After searching the group's discussions I have added the line

      au! BufNewFile,BufRead *.scpt setf applescript

in my ~/.vimrc... but this doesn't help either. :-(

Have I missed something?
Or is another way to do this?

Thanks!


Kind regards,
Vlad Ghitulescu

--
You received this message from the "vim_mac" 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

#12975 From: Zhao Cai <zhaocai@...>
Date: Mon Dec 19, 2011 5:55 am
Subject: Re: Hot to add a syntax-file for AppleScript to MacVim?
zhaocai@...
Send Email Send Email
 
1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is
compiled applescript file extension.

On Dec 19, 2011, at 12:51 AM, MacVlad wrote:

> Hello!
>
>
> I want to add a syntax file for AppleScript to MacVim.
> I have found one at http://www.vim.org/scripts/script.php?script_id=1736,
> that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
> Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
> under the menu "Syntax" in MacVim.
>
> After searching the group's discussions I have added the line
>
>     au! BufNewFile,BufRead *.scpt setf applescript
>
> in my ~/.vimrc... but this doesn't help either. :-(
>
> Have I missed something?
> Or is another way to do this?
>
> Thanks!
>
>
> Kind regards,
> Vlad Ghitulescu
>
> --
> You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12976 From: MacVlad <vlad.ghitulescu@...>
Date: Mon Dec 19, 2011 10:29 am
Subject: Re: Hot to add a syntax-file for AppleScript to MacVim?
vlad.ghitulescu@...
Send Email Send Email
 
Hello, Zhao Cai!


Thank you for your reply!

That works - the applescript is now colored as it should, according to
the file-extension .applescript - but the entry "AppleScript" still
doesn't appear under the Syntax-menu.

Any idea?

Thanks again!


Kind regards,
Vlad Ghitulescu




On 19 Dez., 06:55, Zhao Cai <zhao...@...> wrote:
> 1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is
compiled applescript file extension.
>
> On Dec 19, 2011, at 12:51 AM, MacVlad wrote:
>
>
>
>
>
>
>
> > Hello!
>
> > I want to add a syntax file for AppleScript to MacVim.
> > I have found one athttp://www.vim.org/scripts/script.php?script_id=1736,
> > that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
> > Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
> > under the menu "Syntax" in MacVim.
>
> > After searching the group's discussions I have added the line
>
> >     au! BufNewFile,BufRead *.scpt setf applescript
>
> > in my ~/.vimrc... but this doesn't help either. :-(
>
> > Have I missed something?
> > Or is another way to do this?
>
> > Thanks!
>
> > Kind regards,
> > Vlad Ghitulescu
>
> > --
> > You received this message from the "vim_mac" maillist.
> > Do not top-post! Type your reply below the text you are replying to.
> > For more information, visithttp://www.vim.org/maillist.php

--
You received this message from the "vim_mac" 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

#12977 From: Zhao Cai <zhaocai@...>
Date: Mon Dec 19, 2011 2:55 pm
Subject: Re: Hot to add a syntax-file for AppleScript to MacVim?
zhaocai@...
Send Email Send Email
 
I never use the menu the select syntax… Mine does not show either. Does it
matter?

Cheers,

Zhao Cai,
Mon 19 Dec 2011 09:55:11 AM EST

On Dec 19, 2011, at 5:29 AM, MacVlad wrote:

> Hello, Zhao Cai!
>
>
> Thank you for your reply!
>
> That works - the applescript is now colored as it should, according to
> the file-extension .applescript - but the entry "AppleScript" still
> doesn't appear under the Syntax-menu.
>
> Any idea?
>
> Thanks again!
>
>
> Kind regards,
> Vlad Ghitulescu
>
>
>
>
> On 19 Dez., 06:55, Zhao Cai <zhao...@...> wrote:
>> 1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is
compiled applescript file extension.
>>
>> On Dec 19, 2011, at 12:51 AM, MacVlad wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Hello!
>>
>>> I want to add a syntax file for AppleScript to MacVim.
>>> I have found one athttp://www.vim.org/scripts/script.php?script_id=1736,
>>> that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
>>> Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
>>> under the menu "Syntax" in MacVim.
>>
>>> After searching the group's discussions I have added the line
>>
>>>     au! BufNewFile,BufRead *.scpt setf applescript
>>
>>> in my ~/.vimrc... but this doesn't help either. :-(
>>
>>> Have I missed something?
>>> Or is another way to do this?
>>
>>> Thanks!
>>
>>> Kind regards,
>>> Vlad Ghitulescu
>>
>>> --
>>> You received this message from the "vim_mac" maillist.
>>> Do not top-post! Type your reply below the text you are replying to.
>>> For more information, visithttp://www.vim.org/maillist.php
>
> --
> You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12978 From: "Xiao G. Wu" <xiaogwu@...>
Date: Mon Dec 19, 2011 3:49 pm
Subject: Re: visual navigation bar
xiaogwu@...
Send Email Send Email
 

What color scheme is that and how do you get the tab lines to show up like that?

Sent from Galaxy Nexus running ICS

On Dec 17, 2011 12:59 PM, "Phantrast" <phantrast@...> wrote:
I just saw this and I'm totally thrilled about it. That visual navigation bar on the right seems to be ultimate solution to any
"where am I?" situation after losing orientation during a protracted session. I've never seen this before and never thought of it myself, yet
it really seems like a must have now. Is this available for MacVim?



--
You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12979 From: David Henderson <dp.chaoswerks@...>
Date: Mon Dec 19, 2011 5:25 pm
Subject: Re: visual navigation bar
dp.chaoswerks@...
Send Email Send Email
 

On 19 Dec 2011, at 07:49, Xiao G. Wu wrote:

What color scheme is that and how do you get the tab lines to show up like that?


It’s not MacVim; rather, it’s the Sublime text editor.

David P Henderson
c: xxx.xxx.xxxx
--
"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." 
    -- Theodore Roosevelt

--
You received this message from the "vim_mac" 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

#12980 From: MacVlad <vlad.ghitulescu@...>
Date: Mon Dec 19, 2011 6:33 pm
Subject: Re: Hot to add a syntax-file for AppleScript to MacVim?
vlad.ghitulescu@...
Send Email Send Email
 
:-)
I have never used this another way around (implicitly, through the
extension) - and on a PC it works via the menu.
No, it doesn't, you're right - but I'm still wondering! ;-)

Thanks again!
Vlad

On 19 Dez., 15:55, Zhao Cai <zhao...@...> wrote:
> I never use the menu the select syntax… Mine does not show either. Does it
matter?
>
> Cheers,
>
> Zhao Cai,
> Mon 19 Dec 2011 09:55:11 AM EST
>
> On Dec 19, 2011, at 5:29 AM, MacVlad wrote:
>
>
>
>
>
>
>
> > Hello, Zhao Cai!
>
> > Thank you for your reply!
>
> > That works - the applescript is now colored as it should, according to
> > the file-extension .applescript - but the entry "AppleScript" still
> > doesn't appear under the Syntax-menu.
>
> > Any idea?
>
> > Thanks again!
>
> > Kind regards,
> > Vlad Ghitulescu
>
> > On 19 Dez., 06:55, Zhao Cai <zhao...@...> wrote:
> >> 1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is
compiled applescript file extension.
>
> >> On Dec 19, 2011, at 12:51 AM, MacVlad wrote:
>
> >>> Hello!
>
> >>> I want to add a syntax file for AppleScript to MacVim.
> >>> I have found one athttp://www.vim.org/scripts/script.php?script_id=1736,
> >>> that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
> >>> Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
> >>> under the menu "Syntax" in MacVim.
>
> >>> After searching the group's discussions I have added the line
>
> >>>     au! BufNewFile,BufRead *.scpt setf applescript
>
> >>> in my ~/.vimrc... but this doesn't help either. :-(
>
> >>> Have I missed something?
> >>> Or is another way to do this?
>
> >>> Thanks!
>
> >>> Kind regards,
> >>> Vlad Ghitulescu
>
> >>> --
> >>> You received this message from the "vim_mac" maillist.
> >>> Do not top-post! Type your reply below the text you are replying to.
> >>> For more information, visithttp://www.vim.org/maillist.php
>
> > --
> > You received this message from the "vim_mac" maillist.
> > Do not top-post! Type your reply below the text you are replying to.
> > For more information, visithttp://www.vim.org/maillist.php

--
You received this message from the "vim_mac" 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

#12981 From: Zhao Cai <zhaocai@...>
Date: Mon Dec 19, 2011 7:30 pm
Subject: Re: Hot to add a syntax-file for AppleScript to MacVim?
zhaocai@...
Send Email Send Email
 
It is fast to `:set ft=???` instead of look for the menu. But if you really want
to know, check the file `synmenu.vim` in system runtime path.

On Dec 19, 2011, at 1:33 PM, MacVlad wrote:

> :-)
> I have never used this another way around (implicitly, through the
> extension) - and on a PC it works via the menu.
> No, it doesn't, you're right - but I'm still wondering! ;-)
>
> Thanks again!
> Vlad
>
> On 19 Dez., 15:55, Zhao Cai <zhao...@...> wrote:
>> I never use the menu the select syntax… Mine does not show either. Does it
matter?
>>
>> Cheers,
>>
>> Zhao Cai,
>> Mon 19 Dec 2011 09:55:11 AM EST
>>
>> On Dec 19, 2011, at 5:29 AM, MacVlad wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Hello, Zhao Cai!
>>
>>> Thank you for your reply!
>>
>>> That works - the applescript is now colored as it should, according to
>>> the file-extension .applescript - but the entry "AppleScript" still
>>> doesn't appear under the Syntax-menu.
>>
>>> Any idea?
>>
>>> Thanks again!
>>
>>> Kind regards,
>>> Vlad Ghitulescu
>>
>>> On 19 Dez., 06:55, Zhao Cai <zhao...@...> wrote:
>>>> 1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is
compiled applescript file extension.
>>
>>>> On Dec 19, 2011, at 12:51 AM, MacVlad wrote:
>>
>>>>> Hello!
>>
>>>>> I want to add a syntax file for AppleScript to MacVim.
>>>>> I have found one athttp://www.vim.org/scripts/script.php?script_id=1736,
>>>>> that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
>>>>> Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
>>>>> under the menu "Syntax" in MacVim.
>>
>>>>> After searching the group's discussions I have added the line
>>
>>>>>     au! BufNewFile,BufRead *.scpt setf applescript
>>
>>>>> in my ~/.vimrc... but this doesn't help either. :-(
>>
>>>>> Have I missed something?
>>>>> Or is another way to do this?
>>
>>>>> Thanks!
>>
>>>>> Kind regards,
>>>>> Vlad Ghitulescu
>>
>>>>> --
>>>>> You received this message from the "vim_mac" maillist.
>>>>> Do not top-post! Type your reply below the text you are replying to.
>>>>> For more information, visithttp://www.vim.org/maillist.php
>>
>>> --
>>> You received this message from the "vim_mac" maillist.
>>> Do not top-post! Type your reply below the text you are replying to.
>>> For more information, visithttp://www.vim.org/maillist.php
>
> --
> You received this message from the "vim_mac" 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

--
You received this message from the "vim_mac" 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

#12982 From: Gabriel <snoopy.67.z@...>
Date: Mon Dec 19, 2011 2:31 pm
Subject: UTF-8 puzzle
snoopy.67.z@...
Send Email Send Email
 
I am using MacVim 7.3 under Lion.

Now here is something that puzzles me with UTF8 files.

I write a small text file in MacVim, saved it with utf-8 file
encoding, opened it in TextEdit, and I get all these funny square-root
characters instead of umlauts.

And vice versa, I wrote simple text file in TextEdit, set the
preferences of TextEdit such that it saves files always as UTF-8,
saved the file, opened it in MacVim -- and I get all these funny <9c>
characters instead of umlauts.

I also experimented a little with the extended attribute
com.apple.TextEncoding, to no avail.

Can anybody tell me, which is the correct way to write/save UTF-8
files?

Best regards,
Gabriel.

--
You received this message from the "vim_mac" 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

#12983 From: MacVlad <vlad.ghitulescu@...>
Date: Tue Dec 20, 2011 6:05 am
Subject: Re: Hot to add a syntax-file for AppleScript to MacVim?
vlad.ghitulescu@...
Send Email Send Email
 
Hello again, Zhao Cai!


1.- I don't quite understand what do you mean with ":set ft=???", it
get's me an error (E474: Invalid argument: ft=???) in MacVim.

2.- There is definitely NO entry for AppleScript in the synmenu.vim:

(...)
an 50.10.260 &Syntax.AB.Apache-style\ config :cal
SetSyn("apachestyle")<CR>
an 50.10.270 &Syntax.AB.Applix\ ELF :cal SetSyn("elf")<CR>
(...)


Kind regards,
Vlad Ghitulescu


On 19 Dez., 20:30, Zhao Cai <zhao...@...> wrote:
> It is fast to `:set ft=???` instead of look for the menu. But if you really
want to know, check the file `synmenu.vim` in system runtime path.
>
> On Dec 19, 2011, at 1:33 PM, MacVlad wrote:
>
>
>
>
>
>
>
> > :-)
> > I have never used this another way around (implicitly, through the
> > extension) - and on a PC it works via the menu.
> > No, it doesn't, you're right - but I'm still wondering! ;-)
>
> > Thanks again!
> > Vlad
>
> > On 19 Dez., 15:55, Zhao Cai <zhao...@...> wrote:
> >> I never use the menu the select syntax… Mine does not show either. Does it
matter?
>
> >> Cheers,
>
> >> Zhao Cai,
> >> Mon 19 Dec 2011 09:55:11 AM EST
>
> >> On Dec 19, 2011, at 5:29 AM, MacVlad wrote:
>
> >>> Hello, Zhao Cai!
>
> >>> Thank you for your reply!
>
> >>> That works - the applescript is now colored as it should, according to
> >>> the file-extension .applescript - but the entry "AppleScript" still
> >>> doesn't appear under the Syntax-menu.
>
> >>> Any idea?
>
> >>> Thanks again!
>
> >>> Kind regards,
> >>> Vlad Ghitulescu
>
> >>> On 19 Dez., 06:55, Zhao Cai <zhao...@...> wrote:
> >>>> 1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is
compiled applescript file extension.
>
> >>>> On Dec 19, 2011, at 12:51 AM, MacVlad wrote:
>
> >>>>> Hello!
>
> >>>>> I want to add a syntax file for AppleScript to MacVim.
> >>>>> I have found one athttp://www.vim.org/scripts/script.php?script_id=1736,
> >>>>> that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
> >>>>> Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
> >>>>> under the menu "Syntax" in MacVim.
>
> >>>>> After searching the group's discussions I have added the line
>
> >>>>>     au! BufNewFile,BufRead *.scpt setf applescript
>
> >>>>> in my ~/.vimrc... but this doesn't help either. :-(
>
> >>>>> Have I missed something?
> >>>>> Or is another way to do this?
>
> >>>>> Thanks!
>
> >>>>> Kind regards,
> >>>>> Vlad Ghitulescu
>
> >>>>> --
> >>>>> You received this message from the "vim_mac" maillist.
> >>>>> Do not top-post! Type your reply below the text you are replying to.
> >>>>> For more information, visithttp://www.vim.org/maillist.php
>
> >>> --
> >>> You received this message from the "vim_mac" maillist.
> >>> Do not top-post! Type your reply below the text you are replying to.
> >>> For more information, visithttp://www.vim.org/maillist.php
>
> > --
> > You received this message from the "vim_mac" maillist.
> > Do not top-post! Type your reply below the text you are replying to.
> > For more information, visithttp://www.vim.org/maillist.php

--
You received this message from the "vim_mac" 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

#12984 From: Tony Mechelynck <antoine.mechelynck@...>
Date: Tue Dec 20, 2011 1:52 pm
Subject: Re: UTF-8 puzzle
antoine.mechelynck@...
Send Email Send Email
 
On Dec 19, 3:31 pm, Gabriel <snoopy.6...@...> wrote:
> I am using MacVim 7.3 under Lion.
>
> Now here is something that puzzles me with UTF8 files.
>
> I write a small text file in MacVim, saved it with utf-8 file
> encoding, opened it in TextEdit, and I get all these funny square-root
> characters instead of umlauts.
>
> And vice versa, I wrote simple text file in TextEdit, set the
> preferences of TextEdit such that it saves files always as UTF-8,
> saved the file, opened it in MacVim -- and I get all these funny <9c>
> characters instead of umlauts.
>
> I also experimented a little with the extended attribute
> com.apple.TextEncoding, to no avail.
>
> Can anybody tell me, which is the correct way to write/save UTF-8
> files?
>
> Best regards,
> Gabriel.

If the program which will read the text can handle a BOM, use it, even
with UTF-8. In Vim, this is done with ":setlocal bomb". It is usable
for HTML, CSS, and some others. It is not usable for anything where
the first line must start with #! (Unix shell scripts, Perl, ...). I
think it doesn't work with C/C++ either but I could be wrong.

For XML and HTML files the charset can also be declared in the file,
as follows:

<?xml version="1.0" encoding="UTF-8"?>
or
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

but (unlike the BOM) these are not recognised by Vim's fileencoding
detection heuristics

Now the umlauts:
Character - Latin1 hex - UTF-8 hex - UTF-8 mistranslated as Latin1
ä           E4           C3 A4       ä
Ä           C4           C3 84       Ã
ë           EB           C3 AB       Ã<<
Ë           CB           C3 8B       Ã
etc. (Latin 1 hex is also Unicode ordinal, i.e. ä <-> U+00E4 etc.)

See also
   :help ga
   :help g8
about how I found the above, and
   :help 'isprint'
   :help 'isfname'
about how to tell vim which characters are "printable".

--
You received this message from the "vim_mac" 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

#12985 From: Bram Moolenaar <Bram@...>
Date: Tue Dec 20, 2011 9:18 pm
Subject: Vim 2012 calendar available
Bram@...
Send Email Send Email
 
Hello Vim users,

The handy Vim desktop calendar is available again!

http://www.moolenaar.net/#Calendar

You can print this on one sheet of sturdy paper, fold it and put it on
your desk.  On one side there is a 12 month calendar, on the rear short
info about ICCF, Vim and Zimbu.

Direct links:

English - A4     http://www.moolenaar.net/2012_en_a4.pdf
English - Letter http://www.moolenaar.net/2012_en_le.pdf
Dutch - A4       http://www.moolenaar.net/2012_nl_a4.pdf


Happy holidays!


PS. Don't forget to do your Amazon orders through:
http://iccf-holland.org/click1.html

--
Computers are not intelligent.  They only think they are.

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the "vim_mac" 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

Messages 12956 - 12985 of 13776   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help