Line break while modifying an existed file

2009-10-12 Thread wenjia

Hi,

I set textwidth=75, so that when I write a file for the first time,
line breaks automatically when it is full.

However, when I MODIFY a file by inserting words in a line, it never
breaks even though the length is over 75. (On the screen the cursor
moves to the "next line on scree", but as in a file the cursor is
still in the original line). How to make the lines break automatically
even when I am modifying the file?

Thanks a lot.

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



Re: Project drawer like in TextMate

2009-10-12 Thread Matt Tolton

There is a plugin architecture in MacVim that anyone can use to
implement a project drawer.  There's even a sample plugin which
implements a very basic file browser drawer.  Should be easily
findable with a search over the archives.

On Mon, Oct 12, 2009 at 9:27 AM, Brendan  wrote:
>
> Like Rui says 'Why not just use Vim on Terminal?'
>
> Having the project drawer as a Cocoa widget allows for NERDTree-like
> functionality without having to learn/remember any NERDTree commands.
> The mouse may not be the fastest way, but there is no/very little
> learning curve. Renaming files is (or should be) done the same way as
> in the Finder, moving files is done with drag and drop etc.
>
> Moreover, I may not want to navigate my entire filesystem in my text
> editor, the TextMate drawer allows you to drag your project folder
> from your desktop, say, drop in the drawer and just work within that.
>
> Brendan
>
> On Oct 8, 4:45 pm, Wayne Seguin  wrote:
>> Why not just use NERDTree for this ?
>>
>>    ~Wayne
>>
>> On Oct 08, 2009, at 11:07 , Tobia Conforto wrote:
>>
>>
>>
>>
>>
>> > Hello Björn and others
>>
>> > Would it be simpler to just have a Cocoa drawer of open buffers?
>> > Much like the Buffers menu, except it wouldn't be a menu but a drawer.
>>
>> > Tobia
>
> >
>

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



System Verilog Syntax

2009-10-12 Thread Onkar

Hi,

How can I get the syntax highlighting for System Verilog?

Thanks.
Onkar

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



Re: Project drawer like in TextMate

2009-10-12 Thread Brendan

Like Rui says 'Why not just use Vim on Terminal?'

Having the project drawer as a Cocoa widget allows for NERDTree-like
functionality without having to learn/remember any NERDTree commands.
The mouse may not be the fastest way, but there is no/very little
learning curve. Renaming files is (or should be) done the same way as
in the Finder, moving files is done with drag and drop etc.

Moreover, I may not want to navigate my entire filesystem in my text
editor, the TextMate drawer allows you to drag your project folder
from your desktop, say, drop in the drawer and just work within that.

Brendan

On Oct 8, 4:45 pm, Wayne Seguin  wrote:
> Why not just use NERDTree for this ?
>
>    ~Wayne
>
> On Oct 08, 2009, at 11:07 , Tobia Conforto wrote:
>
>
>
>
>
> > Hello Björn and others
>
> > Would it be simpler to just have a Cocoa drawer of open buffers?
> > Much like the Buffers menu, except it wouldn't be a menu but a drawer.
>
> > Tobia

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



Re: Project drawer like in TextMate

2009-10-12 Thread Greg Furmanek
+1

I wanted one of those for quite some time.

- Greg

On Mon, Oct 12, 2009 at 9:15 AM, Marcus Ferreira wrote:

>
>
> On Sun, Oct 11, 2009 at 9:39 PM, Steven Michalske wrote:
>
>>
>>
>> On Oct 9, 2009, at 3:11 PM, Marcus Ferreira wrote:
>>
>> > Caruso,
>> >
>> > Being more specific, "more info" and "less space" was meant as a
>> > font size issue. When editing files I use Monaco 12 on both MacVim
>> > and TextMate. When browsing my directory tree TextMate can display
>> > more files and dirs because of its smaller font on the drawer.
>> >
>>
>>
>> I have the best idea...
>>
>> Make a cocoa drawer that can hold a vim buffer...
>>
>> Then we can add things like NERDTree and similar plugins to display in
>> the drawer.
>>
>> NERDTree then can be configured to be a strict list of files that are
>> your project, giving you a project drawer.
>>
>> Hardkrash
>>
>>
> Amazing idea.
>
>
>
>>
>>
>
>
> --
> 
> Marcus Vinicius Ferreira
>
>
>
> >
>


-- 
Gregory Furmanek
Website: http://www.furmanek.net

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



Re: Project drawer like in TextMate

2009-10-12 Thread dacresni

I like the idea even though it begs to question the necessity of a
drawer UI. gvim particularly respects the portability of the UI by
keeping things like this to a minimum. I think this project should
replace the Cocoa_Vim and features like this should be in a special
branch. The problem is that one of the design goals is to keep vim as
an editor only which is why such features as an in editor Browser have
never been implemented.

On Oct 12, 11:15 am, Marcus Ferreira  wrote:
> On Sun, Oct 11, 2009 at 9:39 PM, Steven Michalske wrote:
>
>
>
>
>
> > On Oct 9, 2009, at 3:11 PM, Marcus Ferreira wrote:
>
> > > Caruso,
>
> > > Being more specific, "more info" and "less space" was meant as a
> > > font size issue. When editing files I use Monaco 12 on both MacVim
> > > and TextMate. When browsing my directory tree TextMate can display
> > > more files and dirs because of its smaller font on the drawer.
>
> > I have the best idea...
>
> > Make a cocoa drawer that can hold a vim buffer...
>
> > Then we can add things like NERDTree and similar plugins to display in
> > the drawer.
>
> > NERDTree then can be configured to be a strict list of files that are
> > your project, giving you a project drawer.
>
> > Hardkrash
>
> Amazing idea.
>
>
>
> --
> 
> Marcus Vinicius Ferreira
--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Project drawer like in TextMate

2009-10-12 Thread Marcus Ferreira
On Sun, Oct 11, 2009 at 9:39 PM, Steven Michalske wrote:

>
>
> On Oct 9, 2009, at 3:11 PM, Marcus Ferreira wrote:
>
> > Caruso,
> >
> > Being more specific, "more info" and "less space" was meant as a
> > font size issue. When editing files I use Monaco 12 on both MacVim
> > and TextMate. When browsing my directory tree TextMate can display
> > more files and dirs because of its smaller font on the drawer.
> >
>
>
> I have the best idea...
>
> Make a cocoa drawer that can hold a vim buffer...
>
> Then we can add things like NERDTree and similar plugins to display in
> the drawer.
>
> NERDTree then can be configured to be a strict list of files that are
> your project, giving you a project drawer.
>
> Hardkrash
>
>
Amazing idea.



> >
>


-- 

Marcus Vinicius Ferreira

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



Re: Project drawer like in TextMate

2009-10-12 Thread Johannes

2009/10/12 Steven Michalske :
>
>
> On Oct 9, 2009, at 3:11 PM, Marcus Ferreira wrote:
>
>> Caruso,
>>
>> Being more specific, "more info" and "less space" was meant as a
>> font size issue. When editing files I use Monaco 12 on both MacVim
>> and TextMate. When browsing my directory tree TextMate can display
>> more files and dirs because of its smaller font on the drawer.
>>
>
>
> I have the best idea...
>
> Make a cocoa drawer that can hold a vim buffer...
>
> Then we can add things like NERDTree and similar plugins to display in
> the drawer.
>
> NERDTree then can be configured to be a strict list of files that are
> your project, giving you a project drawer.
>
> Hardkrash

+1
That is exactly what I would like to have

even if I am technically to able to implement it :(

>
> >
>

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