vim-qmake


Ⅰ. 插件描述

qmake project highlighting support for the Vim editor

Ⅱ. 基本信息

创建日期:  2011-02-03
使用用户:  3
Github星:  1
插件作者:  ArkBriar

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'arkbriar/vim-qmake-the-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'arkbriar/vim-qmake-the-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'arkbriar/vim-qmake-the-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/arkbriar/vim-qmake

Ⅳ. 文档说明

Qt project file syntax plugin for Vim

Forked from artoj/qmake-syntax-vim

Copyright (C) 2015-2016 ArkBriar <arkbriar@gmail.com>

Copyright (C) 2011-2012 Arto Jonsson <artoj@iki.fi>

ABOUT

qmake is a Makefile generator used by the Qt toolkit.

The 'qmake.vim' file provides syntax coloring for qmake project files.

INSTALLATION

Put the 'syntax/qmake.vim' file to your $VIMRUNTIME/syntax/ directory.
Then you can use:

:set syntax=qmake

To use the syntax in the current buffer.

To set the syntax automatically for certain file types, such as '.pro' in
this case, put the 'ftdetect/pro.vim' in $VIMRUNTIME/ftdetect/ directory.

See :help ftdetect for more information.

Alternatively you can use bundle manager such as Vundle or Pathogen.

添加新评论