New answers tagged count
3
Usually you would have a separate mapping for an operator that would work on the current line and take a count to work on a set of lines. For example, you could have RJ{motion} to act on a motion or text object, and RJJ to act on the current line or on a set of lines if given a count.
Having said that, you can have your mapping behave differently and act on ...
Top 50 recent answers are included
Related Tags
count × 35key-bindings × 15
vimscript × 6
cursor-movement × 5
macro × 3
map-operator × 3
visual-mode × 2
cursor-motions × 2
functions × 2
visual-block × 2
repeated-commands × 2
range × 2
vimrc × 1
neovim × 1
search × 1
command-line × 1
cut-copy-paste × 1
indentation × 1
substitute × 1
normal-mode × 1
split × 1
tabbed-user-interface × 1
tags × 1
undo-redo × 1
shell × 1