command in Plugins menu activates Vim key bindings, initially in Vim command mode. Vim mode is activated in all editor tabs at once. indication of Vim mode is full-block-framed caret.
a) Vim insertion mode - all keys work like usual in CudaText, only Esc goes to command mode
b) Vim replace mode - like insertion mode, but "insert/overwrite mode" is "overwrite"
c) Vim visual mode - all movement keys (arrows/home/end/pageup/pagedown) make selection w/o Shift
d) Vim command mode supported keys:
h, j, k, l - move caret (4 arrows)
w - go to next word (jumps not exactly like Vim, but like CudaText command "go to next word")
b - go to previous word (same note)
e - go to end of word (or next word)
a - enter insertion mode, after moving caret right
A - enter insertion mode, at line end
i - enter insertion mode, at current pos
I - enter insertion mode, at first non-space char in line
r - replace current char with next typed char, return to command mode
R - enter replace mode
o - creates empty line below, goes into insertion mode on new line
O - creates empty line above, goes into insertion mode on new line
gg - go to text begin
G - go to line number (if number entered before), or go to text end (if none)
| - go to column number (if number entered before, else column 1)
0 - go to line begin (column 1)
^ - go to first non-whitespace
- - go to first non-whitespace, in previous line
+ - go to first non-whitespace, in next line
$ - go to line end
X - delete char left (like Backspace key)
x - cut selection (if selection) or one char
y - yank (copy) to clipboard
p - paste from clipboard, after caret
P - paste from clipboard, before caret
D - delete to end of line
dd - delete current line
db - delete to word begin
dw, de - delete to word end (currently commands work the same)
dL - delete to text end
d/ - delete until text position (text is asked in dialog)
C - change to end of line (delete to end of line, go to insertion mode)
c - change - like "d" commands (cd, cb, cw, ce...) but also goes to insertion mode
v - enter visual mode
V - enter visual mode, but select entire lines
Space - move right
Backspace - move left
/ - search forward, prompts for string in dialog
? - search backward
n - repeat search in the same direction
N - repeat search in the opposite direction
f - find next typed character, inside line
F - backward version of "f"
t - like "f" but set position minus one char
T - backward version of "t"
u - undo
~ - invert case of selection (if selection) or one char
J - join current line with the next one (delete EOL at current line)