aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-23 12:11:00 -0400
committerGitHub <noreply@github.com>2026-09-23 12:11:00 -0400
commit1088dffe8203095744bc899d1687d5e1e7e983c6 (patch)
tree7c8949a213fc8a76bf8e267e2b02057bc8d7d9a7 /runtime/lua/vim/provider/python.lua
parentbc0cdbe02d494bc5089d44c81a810bbc9b4d07a4 (diff)
downloadrneovim-1088dffe8203095744bc899d1687d5e1e7e983c6.tar.gz
rneovim-1088dffe8203095744bc899d1687d5e1e7e983c6.tar.bz2
rneovim-1088dffe8203095744bc899d1687d5e1e7e983c6.zip
feat(multicursor): jump vs motion #42052
Problem: Incoherent classification of motions vs jumps. Solution: Define "motion" as cursor-relative, and "jump" as "absolute". - Classify G/gg/H/L/M/go/N% as `CmdAtom.type=jump`. - Classify `*`/`#` as motions. Behavior changes: - `*` in follow-mode now moves each cursor to the next occurrence of its own word. - Note: the "last search pattern" is not stored per-cursor, so `n` still searches for the primary's search pattern. - G/gg/H/M/L in follow-mode do not cascade (would converge/dedupe all cursors). - If you want to force cursors to converge for some reason, use `9999j`. - Also affects mappings that mix an absolute move with an edit. E.g. mapping `nnoremap X ggdd` only replays `dd` per-cursor now. This is how marks already behaved.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions