octave-maintainers
[Top][All Lists]
Advanced

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

VIM hack for accessing GNU Octave docs


From: Júlio Hoffimann
Subject: VIM hack for accessing GNU Octave docs
Date: Sun, 1 Apr 2012 21:30:50 -0300

Dear all,

I know many Octave developers are also Emacs fans (Jordi is like the nº 1), but sorry VIM rocks. \o/

Following is a fast tip for accessing GNU info for Octave names:

$ sudo apt-get install octave3.2-info
$ echo 'autocmd FileType matlab setlocal keywordprg=info\ octave\ --vi-keys\ --index-search' >> ~/.vimrc

Now, when editing a *.m file you just need to type uppercase K in normal mode and the word under the cursor will be searched for in the Octave documentation index. By pressing ',' you go to the next occurrence. It's pretty handy. ;-)

Best Regards,
Júlio.

reply via email to

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