-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkeycastr.txt
86 lines (62 loc) · 3.58 KB
/
keycastr.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
*keycastr.txt* Visualize typed key strokes
Author: Hibiki <[email protected]>
License: MIT License
URL: https://github.com/4513ECHO/nvim-keycastr
Last change: 2024 Jul 13
==============================================================================
CONTENTS *keycastr-contents*
Introduction |keycastr-introduction|
Interface |keycastr-interface|
Lua Interface |keycastr-lua-interface|
Options |keycastr-options|
About |keycastr-about|
==============================================================================
INTRODUCTION *keycastr-introduction*
*keycastr* ( *nvim-keycastr* ) is a plugin to visualize typed key strokes in
the floating window, inspired by KeyCastr in macOS.
https://github.com/keycastr/keycastr
Neovim v0.10.0+ or Vim v9.1.0568+ is required.
(But Vim support is experimental and not documented well.)
==============================================================================
INTERFACE *keycastr-interface*
------------------------------------------------------------------------------
LUA INTERFACE *keycastr-lua-interface*
"keycastr" is a module from `require('keycastr')`.
keycastr.config.get() *keycastr.config.get()*
Return the current configuration of the plugin.
keycastr.config.set({config}) *keycastr.config.set()*
Set the configuration of the plugin.
See also |keycastr-options| for the configuration.
keycastr.enable() *keycastr.enable()*
Enable the visualizer and open the window.
keycastr.disable() *keycastr.disable()*
Diable the visualizer and close the window.
keycastr.show() *keycastr.show()*
(Re-)open the visualizer window.
|keycastr.enable()| must be called before calling this function.
keycastr.hide() *keycastr.hide()*
Hide the visualizer window but the visualizer is still enabled in
background. Use |keycastr.show()| to show the window again.
------------------------------------------------------------------------------
OPTIONS *keycastr-options*
ignore_mouse *keycastr-option-ignore_mouse*
|Boolean| (default: |v:true|)
Whether ignores keys from mouse events, for example |<LeftMouse>|,
|<RightDrag>|, |<ScrollWheelUp>|, etc.
win_config *keycastr-option-win_config*
|Dictionary| (default: `{ width = 50, height = 1 }`)
Configurations for the visualizer window.
See also |nvim_open_win()| for descriptions of the options.
To set "anchor", "row" and "col" values, use
|keycastr-option-position| instead.
position *keycastr-option-position*
|String| (enum of `"NE"|"NW"|"SE"|"SW"`, default: "NE")
Higher layer for "anchor", "row" and "col" values for
|keycastr-option-win_config|.
==============================================================================
ABOUT *keycastr-about*
|keycastr| is developed by Hibiki(4513ECHO) and licensed under the MIT
License. Visit the project page for the latest version:
https://github.com/4513ECHO/nvim-keycastr
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen: