feat(exmode): "1q:", :exmode #41010

Problem:
Want `gQ` for _le multicursor_.

Solution:
- Don't use `gQ` for exmode.
- Introduce `:exmode`.
- Introduce `[count]q:` as an alias to `:exmode`.
This commit is contained in:
Justin M. Keyes
2026-07-27 11:12:47 -04:00
committed by GitHub
parent 97a71ab484
commit fbcb7a056c
21 changed files with 97 additions and 66 deletions

View File

@@ -5321,7 +5321,7 @@ describe('API', function()
insert([[
foo
bar]])
feed('gQ1')
feed('1q:1')
screen:expect({ any = vim.pesc('{1::}1^') })
eq('Parsing command-line', pcall_err(api.nvim_parse_cmd, '', {}))
-- Executing the line still auto-prints it.