1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:50:04 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Eric Wong
e79d1ea754 docs(record-key): typo in readme 2024-12-20 08:30:43 +08:00
Eric Wong
0d9aa543cf docs(record-key): update readme 2024-12-20 08:28:57 +08:00
Eric Wong
41f28196d8 ci(record-key.nvim): detact record-key.nvim 2024-12-20 08:22:44 +08:00
5 changed files with 75 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -17,3 +17,4 @@ end, {
end
end,
})

View File

@ -0,0 +1,39 @@
# record-key.nvim
> _record-key.nvim_ is plugin to display pressed key in neovim.
![](https://img.spacevim.org/record-key.png)
[![](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)

View 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, {})