Vim: Difference between revisions

204 bytes added ,  12 December 2012
Line 15: Line 15:


where {{Codeline|<terminal>}} can be [http://directory.fsf.org/wiki/Gnome-terminal gnome-terminal], [http://directory.fsf.org/wiki/Xterm xterm], or any other terminal of your preference. Please note the {{Codeline|-e}} option is common to the mentioned terminals, change it if necessary.
where {{Codeline|<terminal>}} can be [http://directory.fsf.org/wiki/Gnome-terminal gnome-terminal], [http://directory.fsf.org/wiki/Xterm xterm], or any other terminal of your preference. Please note the {{Codeline|-e}} option is common to the mentioned terminals, change it if necessary.
To use Vim as default editor without starting a separate window, add the following lines to your {{Path|~/.octaverc}} file:
edit mode sync
edit home .
edit editor 'vim > /dev/tty 2>&1 < /dev/tty %s'


== A better GNU Octave syntax file ==
== A better GNU Octave syntax file ==
Anonymous user