Vim: Difference between revisions

193 bytes added ,  30 August 2017
added info about terminal emulators for octave info
No edit summary
(added info about terminal emulators for octave info)
Line 41: Line 41:
Now, when editing a {{Path|*.m}} file, you can type {{Key|K}} in normal mode and the word under the cursor will be searched for in the GNU Octave documentation index. Pressing {{Key|,}} yields the next occurrence.
Now, when editing a {{Path|*.m}} file, you can type {{Key|K}} in normal mode and the word under the cursor will be searched for in the GNU Octave documentation index. Pressing {{Key|,}} yields the next occurrence.


Unfortunately info does not work in dumb terminals. As gVim has only dumb terminal, a workaround must be done to access info. First select a terminal emulator, preferably fast loading one, as xterm, and install it. For installing it under Ubuntu, you can type:
Unfortunately info does not work in dumb terminals. As gVim has only dumb terminal, a workaround must be done to access info. Two methods are possible. First one is to use some plugin, like [https://github.com/carlobaldassi/ConqueTerm ConqueTerm], which turn gVim buffer into terminal emulator.
Second method is to select an external terminal emulator, preferably fast loading one, as xterm, and install it. For installing it under Ubuntu, you can type:


  $ sudo apt-get install xterm
  $ sudo apt-get install xterm
5

edits