[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] A little VIM plugin for GNU Radio dev

From: Martin Braun (CEL)
Subject: [Discuss-gnuradio] A little VIM plugin for GNU Radio dev
Date: Mon, 29 Oct 2012 16:34:19 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi there,

in case there's more people that use VIM for coding, you might be
interested in this plugin:


It makes editing out-of-tree modules with VIM much easier. Probably
comprehensive list (for now):
* :set path for all relevent include paths, probably most importantly,
  this will allow you to 'gf' on any include, and compiler errors are
  resolved correctly, too (i.e. if ':cn' would jump to an include, now
  VIM knows where that is).
* 'makeprg' is configured such that you can call 'make' or 'make test'
  on any file and it should do the right thing (i.e. run make in the
  build dir)
* If you're using Syntastic for syntax checking, it will make sure that
  gcc gets told where to look (otherwise, Syntastic stops after the
  first #include <gr_io_signature.h> or whatever)

In order for this to work, you'll need an up-to-date gr_modtool.py from
https://github.com/mbant/gr-modtool. Both the master and format37
branches will do.


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstra├če 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071

KIT -- University of the State of Baden-W├╝rttemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpdIjKOvc7VQ.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]