Skip to content

rgm/vim-meteor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

meteor.vim

Maps some basic navigation helpers for Meteor projects, provided you're following this basic directory structure from the unofficial FAQ:

├── app
│   ├── client
│   │   ├── hello.html
│   │   ├── hello.js
│   │   ├── main.css
│   │   └── main.html
│   ├── lib
│   │   └── main.js
│   └── server
│       └── main.js
└── test
    └── unit
        ├── client
        │   ├── hello.js
        │   └── main.js
        ├── lib
        │   └── main.js
        └── server
            └── main.js

Templates:

  • <Leader>mt opens a vsplit with the JavaScript file for the HTML template in the current buffer and vice-versa.
  • <Leader>mT does the same but without the split.
  • <Leader>mh opens a vsplit with the HTML template named for the word under the cursor.
  • <Leader>mH does the same but without the split.

Unit tests:

  • <Leader>mu opens a vsplit with the unit test file for the JavaScript file in the current buffer and vice-versa.
  • <Leader>mU does the same but without the split.

Installation

Install pathogen.vim, then copy and paste:

cd ~/.vim/bundle
git clone git://github.com/rgm/vim-meteor.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors