-
-
Notifications
You must be signed in to change notification settings - Fork 383
Closed
Description
Hi!
I want to have project-specific navcommands (3 of last backbone-js projects i was working on have different convention for storing models/views/collections).
I have created config/rails.vim file and put some navcommand definitions there:
autocmd User Rails Rnavcommand jcollection app/assets/javascripts/backbone/collections/ -glob=**/* -suffix=.js.coffee
autocmd User Rails Rnavcommand jmodel app/assets/javascripts/backbone/models/ -glob=**/* -suffix=.js.coffee
autocmd User Rails Rnavcommand jview app/assets/javascripts/backbone/views/ -glob=**/* -suffix=.js.coffee
autocmd User Rails Rnavcommand jrouter app/assets/javascripts/backbone/routers/ -glob=**/* -suffix=.js.coffee
autocmd User Rails Rnavcommand template app/assets/javascripts/backbone/templates/ -glob=**/* -suffix=.hbs
I've got this error while starting vim:
Error detected while processing /home/jumski/work/ebookmakr/config/rails.vim:
line 3:
E48: Not allowed in sandbox: autocmd User Rails Rnavcommand admin app/admin/ -suffix=.rb
Do you know if it is possible at all?
Where to look for solution?
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels