File tree Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,23 @@ typing more shortcut keys or parts of shortcut descriptions shown in the menu.
13
13
14
14
* [ fzf.vim] plugin.
15
15
16
+ ## Installation
17
+
18
+ 1 . Clone this Git repository as follows, or [ download and extract its
19
+ contents] ( https://github.com/sunaku/vim-shortcut/archive/master.zip ) .
20
+
21
+ git clone https://github.com/sunaku/vim-shortcut.git ~/vim-shortcut
22
+
23
+ 2 . Run the following commands in Vim to start using this plugin immediately,
24
+ or add them to your * vimrc* file to automate this whenever you start Vim.
25
+
26
+ :set runtimepath+=~/vim-shortcut
27
+ :runtime plugin/shortcut.vim
28
+
29
+ 3 . Run the following command inside Vim to learn more about using this plugin.
30
+
31
+ :help shortcut.vim
32
+
16
33
## Usage
17
34
18
35
* Use the ` Shortcut! ` prefix (with a bang) to describe existing shortcuts.
@@ -130,7 +147,7 @@ Any extra whitespace is ignored.
130
147
131
148
## Documentation
132
149
133
- Run ` :help shortcut ` or see the ` doc/shortcut.txt ` file.
150
+ Run ` :help shortcut.vim ` or see the ` doc/shortcut.txt ` file.
134
151
135
152
## Testing
136
153
Original file line number Diff line number Diff line change @@ -17,6 +17,28 @@ to discover what else is available. You can interactively filter the menu by
17
17
typing more shortcut keys or parts of shortcut descriptions shown in the menu.
18
18
19
19
20
+ ------------------------------------------------------------------------------
21
+ INSTALLATION *shortcut-install*
22
+ ------------------------------------------------------------------------------
23
+
24
+ 1. Clone this plugin's Git repository as follows, or download and extract its
25
+ contents from <https://github.com/sunaku/vim-shortcut/archive/master.zip >.
26
+ >
27
+ git clone https://github.com/sunaku/vim-shortcut.git ~/vim-shortcut
28
+ <
29
+
30
+ 2. Run the following commands in Vim to start using this plugin immediately,
31
+ or add them to your | vimrc | file to automate this whenever you start Vim.
32
+ >
33
+ :set runtimepath+=~/vim-shortcut
34
+ :runtime plugin/shortcut.vim
35
+ <
36
+
37
+ 3. Run the following command inside Vim to learn more about using this plugin.
38
+ >
39
+ :help shortcut.vim
40
+ <
41
+
20
42
------------------------------------------------------------------------------
21
43
USAGE *shortcut-usage*
22
44
------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
1
+ :Shortcut shortcut.txt /*:Shortcut*
2
+ :Shortcut! shortcut.txt /*:Shortcut!*
3
+ :Shortcuts shortcut.txt /*:Shortcuts*
4
+ :Shortcuts! shortcut.txt /*:Shortcuts!*
5
+ :ShortcutsRangeless shortcut.txt /*:ShortcutsRangeless*
6
+ :ShortcutsRangeless! shortcut.txt /*:ShortcutsRangeless!*
7
+ g:shortcuts shortcut.txt /*g:shortcuts*
8
+ g:shortcuts_overwrite_warning shortcut.txt /*g:shortcuts_overwrite_warning*
9
+ shortcut-cmd shortcut.txt /*shortcut-cmd*
10
+ shortcut-install shortcut.txt /*shortcut-install*
11
+ shortcut-intro shortcut.txt /*shortcut-intro*
12
+ shortcut-setup shortcut.txt /*shortcut-setup*
13
+ shortcut-usage shortcut.txt /*shortcut-usage*
14
+ shortcut-var shortcut.txt /*shortcut-var*
15
+ shortcut.vim shortcut.txt /*shortcut.vim*
You can’t perform that action at this time.
0 commit comments