Getting started with macvim, how to manage a project?

I have started out with macvim and now fairly comfortable with the navigation (on a single file) and now I need to write a whole project (say rails) using mvim.

In textmate, you have mate project_dir which opens the project in a side drawer, so my question is:

  1. Is there a similar feature in mvim?
  2. How can a complete project managed in traditionally in macvim?

Links to some write-ups are welcomed.

-------------Problems Reply------------

Just try using Janus. Made it really easy for me to switch from TextMate.

As @changelog pointed out, the absolute best way to get MacVim to behave like Textmate is to use Janus. Janus packages up a bunch of popular plugins and provides an easy way to keep those pluggins up-to-date via a rakefile. Janus also includes NERDTree (mentioned by @zengr) along with a variety of other tools that make it really easy to manage a big project.

In order to launch mvim the way that you launch textmate with mate project_dir, an mvim script is included in the MacVim download. You just need to put it in your path (I keep mine in /usr/local/bin/mvim). Using this script you can do the exact same thing:

mvim project_dir - to open a specific directory in MacVim

mvim . or just mvim - to open your current directory in MacVim

After trying out many plugins, NERDTree was the best match. Read more

Getting started with macvim, how to manage a project?

PROJECT is really awesome. You can easily add folders to your project (single ones, or recursively), specify filters, etc.

It's really worth a try.

Try :help mksession.

Load all your 'project' files (either interactively or using the command line vim file1 file2 ....) Running :mksession xxx writes a vim script to restore the environment and load all currently loaded files.

Next time just :source xxx to reload your environment (or run vim -s xxx to execute the file on startup).

Note: For navigating source files (as opposed to data files), ctags is, in my opinion, a better option. Create a ctags database (ctags works for Ruby scripts too!) and navigate in your code tree using :tag myfunc. No need to preload any file.

Category:macvim Views:3 Time:2011-01-09
Tags: macvim

Related post

  • How do you manage your project life cycle? 2009-01-29

    How do you manage your project life cycle? For example: Do you start with a template? Do you use versioning such as SVN as the authoritative source? Do you archive the projects, if so when and how? When a project is revived (work resumes), how’s that

  • Build Managment: Eclipse project vs Eclipse Managed Make project 2009-08-02

    I am developing under Windows, and using Eclipse with CDT to develop C++ applications. Now, for build management I can create a normal C++ project and Eclipse will completely manage the build (calling the g++ compiler with proper arguments), or I can

  • Managing C++ project - file layout, dependencies and version control 2010-10-02

    I have recently started a new C++ project and I intend to make it cross-platform in time. I haven't had much experience with C++ projects before so the first thing that bothers me is that default Visual Studio file layout setup. I tried reading-up th

  • build managed c++ project in .net 3.5 using vs2010 (msbuild4) 2010-12-14

    Is it possible to build a managed c++ project in .net 3.5 using vs2010 ? There are different opinions around but I haven't being able to do this. Any ideas? --------------Solutions------------- The build system for VS2010 was dramatically changed and

  • Operation overloading C++ in a MANAGED C++ project 2011-04-28

    I've a managed C++ dll which talks with a C# GUI. It works fine, the communication goes through a wrapper and it all works. The code inside the dll is all written in C++, but I can't get operator overloading working and im planning to use it for sort

  • How do I debug a native code project from inside a managed code project? C++/C# 2011-07-18

    How do I debug a native code project from inside a managed code project? I am using C# to call C++ code and need to debug the C++ code. Otherwise, I must exit out of the project, open the C++ project, create a tester and then debug the code. This is

  • AnkhSVN - managing VS *projects* not *solutions* 2011-11-30

    I work on several different software projects and I started building up some generic libraries with utilitarian functions that I use in all of them. Recently I had three or four projects going at once at different physical locations and it got painfu

  • How to manage simple projects in Outlook? 2014-05-27

    Small business outlook user wants to know how to manage simple projects. Most of our projects don't even require collaboration but some do. Basic Required Functions: 1) Task grouping 2) Task sequencing 3) Heirarchical task relationships/subtasks Ques

  • Managing a project vs Managing a Development 2008-08-20

    Our organisation uses PRINCE2 for every project we run; IT is large part of our organisation but we're not a software house. Whilst I appreciate PRINCE2 is a great method of running projects, and, we've had a lot of success with it, I feel it's fairl

  • Any tips for managing a project with basecamp? 2008-09-30

    I'm going to be using basecamp for the first time on new project. Does anyone have any good tips / pitfalls for using basecamp. For example, can you end up spending more time playing with the to-do lists than actually getting on with the project? ---

  • How do you manage PHP Project Development Lifecycle? 2008-11-01

    I've worked on several PHP projects and always I have problems with organizing my work. Where do you develop your application - on localhost, remote server or maybe production one(!) ? When I work on my localhost after making some major path I send n

  • Can I add sub folders to a SQL Server Management Studio Project? 2009-01-15

    What is the best way to keep large projects organized with SSMS? I want to do something like: ProjectRoot SchemaObjects Tables Constraints Indexes Keys Functions Views Stored Procedures Scripts DataGeneration And so on, but I cannot find a nice way t

  • Compiler Error when adding dll reference to managed c++ project 2009-01-22

    I am using VS 2008 and get compiler errors sporadically when adding a dll reference to a managed c++ file in my C++ project. I am trying to add a reference to the dll so as to be able to use smart pointers. ex: #import items.tlb The problem is that t

  • Need a good way to manage my projects' task lists and information 2009-02-21

    My old system involved using Microsoft FrontPage and a frame page. The top frame contained a (tree) list of the tasks and sub-tasks I'd need to do, while the bottom frame contained any useful project information, notes, etc. I'd invariably need to jo

  • Managing concurrent projects written in different programming languages 2009-04-09

    I currently have three independent projects on my plate - each requiring development in a different language. There's a WCF Web Services / Windows Forms project in C# .Net 3.5, a web site in PHP with generous javascript, and maintenance on a legacy W

  • How to manage personal projects 2009-06-04

    I am a student and I always develop projects on my own, mainly with Ruby On Rails. I noticed that even a simple project may become complex if you can't easily rescue deleted code and pass from a version to another. Time Machine backups are not enough

  • in VS2008, where do I configure the "Platform Target" for a (managed) C++ project? 2009-07-24

    In VS2008, I can specify that a C# assembly should target only the x86 platform by going to the project properties, clicking the "Build" section, and then setting the "Platform target" box. What is the equivalent for an assembly written in C++? -----

  • How to manage large projects without Visual Studio? 2009-12-11

    How does one go about keeping track of source files, resources, references, assemblies, etc.. if they didn't want to use Visual Studio. I know you can compile code with csc, and use csc to add all of the references, etc.. but it becomes quite painful

  • Should management or project management come to the sprint retrospective 2010-07-20

    Disadvantages: Team will not feel free to talk about issues. Advantages: Project management and management like to know what is going on. How should this be done? Getting conflicting reports here... --------------Solutions------------- Sprint retrosp

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.165 (s). 11 q(s)