mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:00:04 +08:00
ci(record-key.nvim): detact record-key.nvim
This commit is contained in:
parent
0bc35bb75c
commit
41f28196d8
@ -151,6 +151,30 @@ main () {
|
||||
_detact autoload/SpaceVim/api/vim/floating.vim
|
||||
_detact autoload/SpaceVim/api/data/dict.vim
|
||||
;;
|
||||
record-key.nvim)
|
||||
git clone https://github.com/wsdjeg/record-key.nvim.git detach/$1
|
||||
cd detach/$1
|
||||
_checkdir plugin
|
||||
_detact_bundle record-key.nvim plugin/record-key.lua
|
||||
_detact_bundle record-key.nvim README.md
|
||||
_checkdir lua/spacevim/plugin
|
||||
_detact lua/spacevim/plugin/record-key.lua
|
||||
_checkdir lua/spacevim/api
|
||||
_detact lua/spacevim.lua
|
||||
_detact lua/spacevim/logger.lua
|
||||
_detact lua/spacevim/api.lua
|
||||
_detact lua/spacevim/api/logger.lua
|
||||
_detact lua/spacevim/api/notify.lua
|
||||
_detact lua/spacevim/api/password.lua
|
||||
_checkdir autoload/SpaceVim/api/neovim
|
||||
_checkdir autoload/SpaceVim/api/vim
|
||||
_checkdir autoload/SpaceVim/api/data
|
||||
_detact autoload/SpaceVim/api.vim
|
||||
_detact autoload/SpaceVim/api/notify.vim
|
||||
_detact autoload/SpaceVim/api/neovim/floating.vim
|
||||
_detact autoload/SpaceVim/api/vim/floating.vim
|
||||
_detact autoload/SpaceVim/api/data/dict.vim
|
||||
;;
|
||||
cpicker.nvim)
|
||||
git clone https://github.com/wsdjeg/cpicker.nvim.git detach/$1
|
||||
cd detach/$1
|
||||
|
2
.github/workflows/async.yml
vendored
2
.github/workflows/async.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
detachPlugin: ["FlyGrep.vim", "dein-ui.vim", "vim-todo", "iedit.vim", "scrollbar.vim", "vim-chat", "vim-cheat", "xmake.vim", "GitHub.vim", "JavaUnit.vim", "git.vim", "cpicker.nvim", "SourceCounter.vim", "vim-zettelkasten", "format.nvim"]
|
||||
detachPlugin: ["FlyGrep.vim", "dein-ui.vim", "vim-todo", "iedit.vim", "scrollbar.vim", "vim-chat", "vim-cheat", "xmake.vim", "GitHub.vim", "JavaUnit.vim", "git.vim", "cpicker.nvim", "SourceCounter.vim", "vim-zettelkasten", "format.nvim", "record-key.nvim"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -17,3 +17,4 @@ end, {
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
|
37
bundle/record-key.nvim/README.md
Normal file
37
bundle/record-key.nvim/README.md
Normal file
@ -0,0 +1,37 @@
|
||||
# record-key.nvim
|
||||
|
||||
> _record-key.nvim_ is plugin to display pressed key in neovim.
|
||||
|
||||
[![](https://spacevim.org/img/build-with-SpaceVim.svg)](https://spacevim.org)
|
||||
[![GPLv3 License](https://img.spacevim.org/license-GPLv3-blue.svg)](LICENSE)
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Install](#install)
|
||||
- [Usage](#usage)
|
||||
- [Feedback](#feedback)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## Install
|
||||
|
||||
1. Using `record-key.nvim` in SpaceVim:
|
||||
|
||||
This plugin is bundle with spacevim by default, and the key binding to toggle this feature is `SPC a r`
|
||||
|
||||
2. Using `record-key.nvim` without SpaceVim:
|
||||
|
||||
```
|
||||
Plug 'wsdjeg/record-key.nvim'
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
- `:RecordKeyToggle`: toggle record-key
|
||||
|
||||
## Feedback
|
||||
|
||||
The development of this plugin is in [`SpaceVim/bundle/record-key.nvim`](https://github.com/SpaceVim/SpaceVim/tree/master/bundle/record-key.nvim) directory.
|
||||
|
||||
If you encounter any bugs or have suggestions, please file an issue in the [issue tracker](https://github.com/SpaceVim/SpaceVim/issues)
|
||||
|
10
bundle/record-key.nvim/plugin/record-key.lua
Normal file
10
bundle/record-key.nvim/plugin/record-key.lua
Normal file
@ -0,0 +1,10 @@
|
||||
--=============================================================================
|
||||
-- record-key.lua --- record key in neovim
|
||||
-- Copyright 2024 Eric Wong
|
||||
-- Author: Eric Wong < wsdjeg@outlook.com >
|
||||
-- URL: https://spacevim.org
|
||||
-- License: GPLv3
|
||||
--=============================================================================
|
||||
vim.api.nvim_create_user_command('RecordKeyToggle', function(_)
|
||||
require('spacevim.plugin.record-key').toggle()
|
||||
end, {})
|
Loading…
Reference in New Issue
Block a user