An emacs package for making jumping around in ROS launch files easy peasy.
In order to be able to call rospack
and find your packages, the ROS workspaces has to be sourced by added the following lines into your ~/.profile
:
source /opt/ros/version/setup.bash
source path/to/your/workspace/devel/setup.bash
Use load-file
function to load it in your config file. For example,
(load-file "path/to/roslaunch-jump/roslaunch-jump.el")
Key Binding | Description |
---|---|
SPC m g g | jump to the path of the current line, e.g. yaml, xacro, launch etc. |
SPC m g d | jump to the pkg path of the current line and start browsing the directory |
SPC m g f | jump to the pkg path of the current line and start fuzzy find all files recursively under the directory |
SPC m = | format buffer |