Re: tab name in MacVim
The latest one here is still 7.2 http://code.google.com/p/macvim/downloads/list where is 7.3? On Sep 3, 9:11 am, björn wrote: > > I can't remember if 'guitabtooltip' is supported with the (ancient) > version of MacVim you are using. If you upgrade to MacVim 7.3 [1] it > will work (nb. requires 10.5+, I haven't built a 10.4 version yet). > Oh, and that version has the following default: > > set guitablabel=%M%t > > which is a lot more pleasant than the default behavior in 7.2. > > Björn > > [1]http://code.google.com/p/macvim/ -- 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: tab name in MacVim
It looks like :set guitablabel=%t guitabtooltip=%F should do what I want. It would be nice to see the simple file name as the label visible all the time, and the full path as the tooltip. But the tooltip isn't working. It almost looks like guitabtooltip doesn't work with macvim. Does anybody know about this, or is there something I have to do to set it up to work? Thanks. On Sep 2, 8:35 pm, sc wrote: > On Thursday 02 September 2010 18:14:41 ZyX wrote: > > > I think that 'tabline' and 'guitablabel' options are more > > suitable in this case. > > oops -- he did say "title of the tab" didn't he -- my bad > > sc -- 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
tab name in MacVim
I'm using MacVim 7.2. Not sure if this question is specific to the Mac or general to Vim. I'm creating a new tab, and then dragging a file onto the tab. The file opens fine. In the title of the tab, Vim is trying to fit the whole directory path and file name. It doesn't fit and so it's unreadable. I'd prefer to have it just put the file name, without the directory path, in the tab title. Is there a way to set it up so it always does this? 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
error setting up Vim on Mac
I'm trying to set Vim as the default application to open a file on the Mac. I can't, it says You cannot change the item "foo.txt" to always open in the selected application. The item is either locked or damaged or in a folder you don't have permission to change. (Error -43) I can open the file OK in TextEdit, and I can open Vim OK by itself. I've used Vim for years on the PC but I'm new to the Mac. Using vim 7.0.224, Mac OS 10.5.7. Thanks. --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: search for non-ascii chars
Got it. Thanks for the help. I really did try to read the docs before asking, but they are pretty hard to understand. The problem I'm trying to solve is with the Google Chrome browser. I exported my bookmarks, and then imported them into Chrome on another machine, and it didn't work. I'm thinking maybe it doesn't like some of the characters in the exported file, and looking around there are some latin-1 chars that have accents. So I thought I would search for all those chars and get rid of them. I've removed all those chars now and we'll see if the import works any better. Thanks for the help. On Mar 24, 7:43 pm, Gary Johnson wrote: > On 2009-03-25, Tony Mechelynck wrote: > > > > > On 24/03/09 22:07, mitch wrote: > > > > I´ve been trying to search a file for non-ascii chars using > > > > /[\x80-\xff]/ > > > > and it´s not working. How would I search for chars in the range of > > > hex 80 to hex ff? Thanks, > > > > - Mitch > > > Try the following (both untested): > > > Method I. > > > 1) Read the file disregarding any multibyte encoding: > > > :e ++enc=latin1 filename.ext > > > 2) Do the search > > > /[<80>-ÿ] > > > where <80> (which, depending on your 'encoding', may appear as ~@ > > instead) is obtained by hitting Ctrl-V x 8 0 and ÿ is a lowercase y with > > diaeresis, which your keyboard may or may not be able to produce > > natively. If it isn't, use Ctrl-V x F F > > > -- And in both cases, use Ctrl-Q instead of Ctrl-V if your Ctrl-V is > > remapped to the paste operation. > > > Method II (Only if 'encoding' is UTF-8). > > > 1) Make sure the 'fileencoding' is 8-bit > > > :setlocal fenc=latin1 > > > 2) Use the 8g8 command in Normal mode (see "help 8g8") > > Mitch's original attempt works for me, in a file with > encoding=latin1 and fileencoding empty, so maybe the key is, as you > say in II 1), to make sure the 'fileencoding' is 8-bit. > > Regards, > Gary --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
search for non-ascii chars
I’ve been trying to search a file for non-ascii chars using /[\x80-\xff]/ and it’s not working. How would I search for chars in the range of hex 80 to hex ff? Thanks, - Mitch --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---