Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

repo for UltiSnips & Snipmate for angular to be included as a submodule for use in your .vim directory

License

Notifications You must be signed in to change notification settings

matthewsimo/angular-vim-snippets

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UltiSnip & Snipmate Snippets for AngularJS

This repository contains snippets files for AngularJS including JavaScript, HTML, CoffeeScript and HAML.

Contents

snippets/*: snippets using snipmate format
UltiSnips/*: snippets using UltiSnips format

Installation

UltiSnip

  • git submodule add git@github.com:matthewsimo/angular-vim-snippets.git /path/you/want/it/
  • add ./UltiSnip to your list of g:UltiSnipsSnippetDirectories and you should be set

UltiSnip options

For ngdoc snippets in ultisnips, the module name can be overwritten in case you're using a variable or js expression for your module name. Add this to your modeline or set as needed.

let g:angular_module_name='FooBar' "Replace with your module name, of course.

Snipmate

  • git submodule add git@github.com:matthewsimo/angular-vim-snippets.git /path/you/want/it/
  • add ./snippets to your VIM 'runtimepath' or 'rtp'
    • e.g. rtp/snippets/<filetype>/*.snippets

NeoSnippets

  • git submodule add git@github.com:matthewsimo/angular-vim-snippets.git /path/you/want/it/
  • add ./snippets to g:neosnippet#snippets_directory

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

repo for UltiSnips & Snipmate for angular to be included as a submodule for use in your .vim directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8

Morty Proxy This is a proxified and sanitized view of the page, visit original site.