This plugin activates itself only for files within a (rosbuild-style) ROS package.
- Sets
&makeprg
tocatkin_make
orrosmake <package-name>
so that the package, to which the file being edited belongs, could be built with:make
. - Adds commands:
:A
to alternate between .cpp and .h files in the current package:Roscd
to cd to an arbitrary ROS package (with tab-completion):Rosed
to open arbitrary files (with tab-completion of both package and filenames)
Adds minimal support for .msg
, .srv
, and .action
files:
- filetype detection
- syntax highlighting
- omni-completion for message types
- goto message definition with 'gd' command
Adds minimal support for .launch
files:
- filetype detection
- syntax highlighting (xml)
- syntax check (if Syntastic is available)
- omni-completion for package types
- goto file with 'gf' command (when the cursor is on a tag with 'filename' attribute)
I recommend installing vim-ros
using pathogen or Vundle.
Inspired by the vim-rails plugin.