Commit 823e9e0
authored
impr(language): add more vim commands to the word list (@soycarlo99) (monkeytypegame#6330)
### Description
This pull request adds several new Vim commands to the monkeytype vim
plugin, enhancing the typing practice experience for users. The new
commands cover a wide range of Vim functionalities, including search,
text objects, substitution, alignment, indentation, and various text
manipulations.
* - Search forward for word under cursor # - Search backward for word
under cursor
ip - Inner paragraph text object
ap - A paragraph text object (including newline)
is - Inner sentence text object
as - A sentence text object (including trailing space) :%s/old/new/gc -
Substitute with confirmation
:center - Center align text
>> - Indent line
<< - Unindent line
= - Auto-indent
]p, ]P, [p, [P - Paste with automatic indentation
gP, gp - Paste and leave cursor after new text
g~ - Toggle case
gu - Make lowercase
gU - Make uppercase
gs - Go to sleep (pause) for n seconds
gJ - Join lines without space
g& - Repeat last substitution on all lines
gv - Reselect last visual selection
gn, gN - Search and visually select match
gi - Insert mode at the end of last insert
gI - Insert at start of line
### Checks
- [✅] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?1 parent 94a320e commit 823e9e0
1 file changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
144 | 172 | | |
145 | 173 | | |
0 commit comments