如何在vim中安装pascal编译器?

我发现了vim there的pascal编译器,但我不知道如何安装它。没有指示。我不知道我必须用它做什么,以及如何用它编译程序。 谢谢。如何在vim中安装pascal编译器?

回答:

我想你想有关于安装的插件看看Vim文档: http://vimdoc.sourceforge.net/htmldoc/usr_05.html#plugin

摘录

USING A GLOBAL PLUGIN

First read the text in the plugin itself to check for any special conditions.

Then copy the file to your plugin directory:

system plugin directory

Unix ~/.vim/plugin/

PC and OS/2 $HOME/vimfiles/plugin or $VIM/vimfiles/plugin

Amiga s:vimfiles/plugin

Macintosh $VIM:vimfiles:plugin

Mac OS X ~/.vim/plugin/

RISC-OS Choices:vimfiles.plugin

Example for Unix (assuming you didn't have a plugin directory yet):

mkdir ~/.vim

mkdir ~/.vim/plugin

cp /usr/local/share/vim/vim60/macros/justify.vim ~/.vim/plugin

That's all! Now you can use the commands defined in this plugin to justify

text.

Instead of putting plugins directly into the plugin/ directory, you may

better organize them by putting them into subdirectories under plugin/.

As an example, consider using "~/.vim/plugin/perl/*.vim" for all your Perl

plugins.

以上是 如何在vim中安装pascal编译器? 的全部内容, 来源链接: utcz.com/qa/261348.html

回到顶部