Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luzhlon/xmake.vim
xmake的vim插件
https://github.com/luzhlon/xmake.vim
Last synced: 6 days ago
JSON representation
xmake的vim插件
- Host: GitHub
- URL: https://github.com/luzhlon/xmake.vim
- Owner: luzhlon
- Created: 2017-03-28T06:22:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-15T07:01:59.000Z (almost 6 years ago)
- Last Synced: 2024-08-02T07:12:57.375Z (3 months ago)
- Language: Vim script
- Size: 28.3 KB
- Stars: 34
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-xmake - xmake.vim - party vim plugin for xmake, thanks [@luzhlon](https://github.com/luzhlon) (Plugins)
README
[XMake](https://github.com/tboox/xmake)的vim插件
## Vim版本
Vim8.0+ 或者 neovim
## 依赖
* x.vim https://github.com/luzhlon/x.vim
* qrun.vim https://github.com/luzhlon/qrun.vim## 功能
* 使用Vim打开xmake.lua文件时,加载对应的配置
* 保存xmake.lua时重新加载配置
* XMakek命令Tab键自动完成
* 异步构建,构建前会保存所有文件
* 构建失败自动打开quickfix窗口显示错误列表
* 构建并运行(Windows GVim下打开新的cmd窗口运行,不阻塞GVim窗口)## 命令
| 命令 | 功能 |
| -------------------- | -------------------------------------------------- |
| XMake build [target] | 构建目标,不指定target则构建所有目标 |
| XMake run [target] | 运行目标,不指定target会自动寻找可运行的目标运行 |
| XMake [...] | 使用...参数运行xmake命令,输出会投递到quickfix窗口 |
| XMakeLoad | 手动加载xmake.lua里的配置 |
| XMakeGen | 根据当前的配置生成xmake.lua文件(实验性质) |