Hello all.
I just wondering is it possible to implement such cool feature of
textmate like Project Drawer in Vim? I think this will be a great
feature. But I don't know is it possible.
Thanks Björn for a great job. I really love MacVim.
On Mon, Aug 17, 2009 at 2:17 PM, Vladimir Penkin <wired.mu...@gmail.com>wrote:
> Hello all. > I just wondering is it possible to implement such cool feature of > textmate like Project Drawer in Vim? I think this will be a great > feature. But I don't know is it possible. > Thanks Björn for a great job. I really love MacVim.
There is a Cocoa plugin architecture in MacVim, though I'm not sure what the status is. I couldn't find much by googling or reading the changelogs. Maybe someone else can shed some light on where this ended up, or if it is likely to stay? As far as I can tell, those patches, or something similar made it into the code.
> Hello all.
> I just wondering is it possible to implement such cool feature of
> textmate like Project Drawer in Vim? I think this will be a great
> feature. But I don't know is it possible.
> Thanks Björn for a great job. I really love MacVim.
Yes I use NERDtree right now, but I thought that have a shiny cocoa project
drawer with a vim functional will be great. This will be much greate if we
could use vim bindings in it.
> not that I have anything against the GUI but I always thought of this
> program as the Camino of the Firefox Community
> On Aug 17, 2:17 pm, Vladimir Penkin <wired.mu...@gmail.com> wrote:
> > Hello all.
> > I just wondering is it possible to implement such cool feature of
> > textmate like Project Drawer in Vim? I think this will be a great
> > feature. But I don't know is it possible.
> > Thanks Björn for a great job. I really love MacVim.
> On Mon, Aug 17, 2009 at 2:17 PM, Vladimir Penkin <wired.mu...@gmail.com> > wrote:
>> Hello all. >> I just wondering is it possible to implement such cool feature of >> textmate like Project Drawer in Vim? I think this will be a great >> feature. But I don't know is it possible. >> Thanks Björn for a great job. I really love MacVim.
I don't know the status either. This was Matt's project and I was hoping some would catch on to it but it seems to have been forgotten.
This idea of a project drawer seems to come up quite often. The only problem here is that I have never used TextMate so I cannot even begin to guess what's so great about this feature (which NERDTree etc. can't handle [for the record: I don't use this plugin either, but as far as I can tell it does pretty much the same thing]). For this reason I don't think I am the right person to be working on such a feature.
What I am saying is this: if anybody wants this feature then
a) try to use the plugin architecture to implement it as a plugin; this would probably require that you work on the plugin architecture as well since it is _not_ mature. I'll merge improvements to the plugin arch. though so your work will be appreciated (by me at the very least).
b) fork MacVim.git and hack away without using the plugin stuff; probably easier than (a) but I do not think I'd want to merge such code into mainline...I'd like to relegate this type of non-essential feature to a plugin. Remember that MacVim is still Vim (not TextMate/Xcode/.. or an IDE) and I want to keep it that way.
I'll spell it out: I do not like option (b) but option (a) I think would be great.
Finally, this is not a trivial task due to the difficulty in communicating with Vim (via Distributed Objects). There may be a quite a few pitfalls.
On Fri, Aug 21, 2009 at 12:59 AM, björn <bjorn.winck...@gmail.com> wrote:
> 2009/8/18 Joseph Kocherhans:
> > On Mon, Aug 17, 2009 at 2:17 PM, Vladimir Penkin <wired.mu...@gmail.com>
> > wrote:
> >> Hello all.
> >> I just wondering is it possible to implement such cool feature of
> >> textmate like Project Drawer in Vim? I think this will be a great
> >> feature. But I don't know is it possible.
> >> Thanks Björn for a great job. I really love MacVim.
> I don't know the status either. This was Matt's project and I was
> hoping some would catch on to it but it seems to have been forgotten.
> This idea of a project drawer seems to come up quite often. The only
> problem here is that I have never used TextMate so I cannot even begin
> to guess what's so great about this feature (which NERDTree etc. can't
> handle [for the record: I don't use this plugin either, but as far as
> I can tell it does pretty much the same thing]). For this reason I
> don't think I am the right person to be working on such a feature.
> What I am saying is this: if anybody wants this feature then
> a) try to use the plugin architecture to implement it as a plugin;
> this would probably require that you work on the plugin architecture
> as well since it is _not_ mature. I'll merge improvements to the
> plugin arch. though so your work will be appreciated (by me at the
> very least).
> b) fork MacVim.git and hack away without using the plugin stuff;
> probably easier than (a) but I do not think I'd want to merge such
> code into mainline...I'd like to relegate this type of non-essential
> feature to a plugin. Remember that MacVim is still Vim (not
> TextMate/Xcode/.. or an IDE) and I want to keep it that way.
> I'll spell it out: I do not like option (b) but option (a) I think
> would be great.
> Finally, this is not a trivial task due to the difficulty in
> communicating with Vim (via Distributed Objects). There may be a
> quite a few pitfalls.
On Oct 8, 9:23 pm, Marcus Ferreira <ferreira...@gmail.com> wrote:
> NERDTree is great, but a cocoa drawer is more info
More info? I used (I use, actually) both TextMate then MacVim. Which
kind of more infos does provide the project drawer more then NERDTree?
To me it seems the opposite since NERDTree it is also a file browser
and provide you so much more infos at a glance thanks to the color
scheme that differentiate folder from files, from images, it shows
hidden files, it lets you even create bookmarks to retrieve projects
immediately.
> in less space.
What do you mean? You can resize NERDTree just like the drawer. You
can put it to the left, to the right, you can set its width, you can
put side by side with tags finder, and so on.
Please, don't consider my opinion as polemic in any way, it is just
that I can't understand your assertions due to my experience with
NERDTree.
I am using MacVim from to less time to be considered an expert, and
initially I found it a bit… hmm… different. The lack of a project
drawer left me a little bit disoriented. Later, thanks to the great
community behind Vim and MacVim I discovered NERDTree (and a lot of
other plugins, colorschemes, settings etc.) and now I can get and
accomplish so much more in MacVim/NERDTree then in the "obsolete"
project drawer in TextMate.
Really, give it a try, NERDTree is all you just need to navigate/
create files, navigate/create projects, browse your Mac, etc.
> On Oct 8, 9:23 pm, Marcus Ferreira <ferreira...@gmail.com> wrote: >> NERDTree is great, but a cocoa drawer is more info
> More info? I used (I use, actually) both TextMate then MacVim. Which > kind of more infos does provide the project drawer more then NERDTree? > To me it seems the opposite since NERDTree it is also a file browser > and provide you so much more infos at a glance thanks to the color > scheme that differentiate folder from files, from images, it shows > hidden files, it lets you even create bookmarks to retrieve projects > immediately.
>> in less space.
> What do you mean? You can resize NERDTree just like the drawer. You > can put it to the left, to the right, you can set its width, you can > put side by side with tags finder, and so on.
> Please, don't consider my opinion as polemic in any way, it is just > that I can't understand your assertions due to my experience with > NERDTree.
> I am using MacVim from to less time to be considered an expert, and > initially I found it a bit… hmm… different. The lack of a project > drawer left me a little bit disoriented. Later, thanks to the great > community behind Vim and MacVim I discovered NERDTree (and a lot of > other plugins, colorschemes, settings etc.) and now I can get and > accomplish so much more in MacVim/NERDTree then in the "obsolete" > project drawer in TextMate. > Really, give it a try, NERDTree is all you just need to navigate/ > create files, navigate/create projects, browse your Mac, etc.
I honestly could not sum up my thoughts on this issue better than this. Excellent points.
Personally, I think that NERDTree is kind of inefficient. I'd
recommend something like lusty explorer for efficient file browsing
and buffer switching:
On Fri, Oct 9, 2009 at 7:00 AM, Wayne Seguin <wayneeseg...@gmail.com> wrote:
> On Oct 09, 2009, at 09:19 , caruso_g wrote:
>> On Oct 8, 9:23 pm, Marcus Ferreira <ferreira...@gmail.com> wrote:
>>> NERDTree is great, but a cocoa drawer is more info
>> More info? I used (I use, actually) both TextMate then MacVim. Which
>> kind of more infos does provide the project drawer more then NERDTree?
>> To me it seems the opposite since NERDTree it is also a file browser
>> and provide you so much more infos at a glance thanks to the color
>> scheme that differentiate folder from files, from images, it shows
>> hidden files, it lets you even create bookmarks to retrieve projects
>> immediately.
>>> in less space.
>> What do you mean? You can resize NERDTree just like the drawer. You
>> can put it to the left, to the right, you can set its width, you can
>> put side by side with tags finder, and so on.
>> Please, don't consider my opinion as polemic in any way, it is just
>> that I can't understand your assertions due to my experience with
>> NERDTree.
>> I am using MacVim from to less time to be considered an expert, and
>> initially I found it a bit… hmm… different. The lack of a project
>> drawer left me a little bit disoriented. Later, thanks to the great
>> community behind Vim and MacVim I discovered NERDTree (and a lot of
>> other plugins, colorschemes, settings etc.) and now I can get and
>> accomplish so much more in MacVim/NERDTree then in the "obsolete"
>> project drawer in TextMate.
>> Really, give it a try, NERDTree is all you just need to navigate/
>> create files, navigate/create projects, browse your Mac, etc.
> I honestly could not sum up my thoughts on this issue better than
> this. Excellent points.
> Personally, I think that NERDTree is kind of inefficient. I'd > recommend something like lusty explorer for efficient file browsing > and buffer switching:
The advantage of a project drawer would -- in my opinion -- be that
this drawer will be
open all the time, regardless in which tab I currently work in. With
NERDTree you need
to reopen NERDTree for every tab you use. This is basically the same
thing with taglist,
it works great, it would just be perfect if it stayed open for all
tabs, not just in one.
> On Oct 8, 9:23 pm, Marcus Ferreira <ferreira...@gmail.com> wrote:
>> NERDTree is great, but a cocoa drawer is more info
> More info? I used (I use, actually) both TextMate then MacVim. Which
> kind of more infos does provide the project drawer more then NERDTree?
> To me it seems the opposite since NERDTree it is also a file browser
> and provide you so much more infos at a glance thanks to the color
> scheme that differentiate folder from files, from images, it shows
> hidden files, it lets you even create bookmarks to retrieve projects
> immediately.
>> in less space.
> What do you mean? You can resize NERDTree just like the drawer. You
> can put it to the left, to the right, you can set its width, you can
> put side by side with tags finder, and so on.
> Please, don't consider my opinion as polemic in any way, it is just
> that I can't understand your assertions due to my experience with
> NERDTree.
> I am using MacVim from to less time to be considered an expert, and
> initially I found it a bit… hmm… different. The lack of a project
> drawer left me a little bit disoriented. Later, thanks to the great
> community behind Vim and MacVim I discovered NERDTree (and a lot of
> other plugins, colorschemes, settings etc.) and now I can get and
> accomplish so much more in MacVim/NERDTree then in the "obsolete"
> project drawer in TextMate.
> Really, give it a try, NERDTree is all you just need to navigate/
> create files, navigate/create projects, browse your Mac, etc.
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.
When I am working with my MacBook, using a second 22" monitor, developing
with MacVim is great. When I am on the move, using only one display, I lost
a lot of display area because it is not possible to set NERDTree font to be
a different one from the rest of my MacVim buffers. In this regard, TextMate
serves me better because I can see more files of my current project in "less
space".
On Fri, Oct 9, 2009 at 10:19 AM, caruso_g <peppecar...@gmail.com> wrote:
> On Oct 8, 9:23 pm, Marcus Ferreira <ferreira...@gmail.com> wrote:
> > NERDTree is great, but a cocoa drawer is more info
> More info? I used (I use, actually) both TextMate then MacVim. Which
> kind of more infos does provide the project drawer more then NERDTree?
> To me it seems the opposite since NERDTree it is also a file browser
> and provide you so much more infos at a glance thanks to the color
> scheme that differentiate folder from files, from images, it shows
> hidden files, it lets you even create bookmarks to retrieve projects
> immediately.
> > in less space.
> What do you mean? You can resize NERDTree just like the drawer. You
> can put it to the left, to the right, you can set its width, you can
> put side by side with tags finder, and so on.
> Please, don't consider my opinion as polemic in any way, it is just
> that I can't understand your assertions due to my experience with
> NERDTree.
> I am using MacVim from to less time to be considered an expert, and
> initially I found it a bit… hmm… different. The lack of a project
> drawer left me a little bit disoriented. Later, thanks to the great
> community behind Vim and MacVim I discovered NERDTree (and a lot of
> other plugins, colorschemes, settings etc.) and now I can get and
> accomplish so much more in MacVim/NERDTree then in the "obsolete"
> project drawer in TextMate.
> Really, give it a try, NERDTree is all you just need to navigate/
> create files, navigate/create projects, browse your Mac, etc.
-- ________________________________________
Marcus Vinicius Ferreira
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.
> 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 :(
> 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
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 <ferreira...@gmail.com> wrote:
> On Sun, Oct 11, 2009 at 9:39 PM, Steven Michalske <smichal...@gmail.com>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
> On Sun, Oct 11, 2009 at 9:39 PM, Steven Michalske <smichal...@gmail.com>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
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 <wayneeseg...@gmail.com> wrote:
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 <brendanarn...@gmail.com> 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 <wayneeseg...@gmail.com> 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.
The reason that I would like a drawer is because I want to have a
project navigator always open. When looking at the tree, I can think
faster about what files I need to be editing. I also forget the name
of some files. I use nerdtree now, but I dont want to open a tree in
my editor, I want it on the side always open. I just want to click on
a file in the drawer and have it open. I think this would be a great
plugin or option in macvim.
On 10月12日, 下午3時40分, Matt Tolton <m...@tolton.com> wrote:
> 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 <brendanarn...@gmail.com> 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 <wayneeseg...@gmail.com> 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.
i am not sure if this was already discussed in this thread, but i use project.vim for several years now very successfully. it has its deficits, but one feature that makes it even better than project-drawers in IDEs such as eclipse, is that you can freely edit the project file. that means, you can rearrange the files in the way you like most, which obviously does not have to be alphabetical. i have project-files for all my projects, and i also have the drawer constantly open.
> The reason that I would like a drawer is because I want to have a
> project navigator always open. When looking at the tree, I can think
> faster about what files I need to be editing. I also forget the name
> of some files. I use nerdtree now, but I dont want to open a tree in
> my editor, I want it on the side always open. I just want to click on
> a file in the drawer and have it open. I think this would be a great
> plugin or option in macvim.
> On 10月12日, 下午3時40分, Matt Tolton <m...@tolton.com> wrote:
>> 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 <brendanarn...@gmail.com> 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 <wayneeseg...@gmail.com> 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.