mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(defaults): missing ]Q/[Q unimpaired mappings #30943
This commit is contained in:

committed by
GitHub

parent
e4a74e986c
commit
01739d4673
@@ -234,6 +234,12 @@ do
|
|||||||
create_unimpaired_mapping(']q', function()
|
create_unimpaired_mapping(']q', function()
|
||||||
vim.cmd.cnext({ count = vim.v.count1 })
|
vim.cmd.cnext({ count = vim.v.count1 })
|
||||||
end, ':cnext')
|
end, ':cnext')
|
||||||
|
create_unimpaired_mapping('[Q', function()
|
||||||
|
vim.cmd.crewind({ count = vim.v.count ~= 0 and vim.v.count or nil })
|
||||||
|
end, ':crewind')
|
||||||
|
create_unimpaired_mapping(']Q', function()
|
||||||
|
vim.cmd.clast({ count = vim.v.count ~= 0 and vim.v.count or nil })
|
||||||
|
end, ':clast')
|
||||||
create_unimpaired_mapping('[<C-Q>', function()
|
create_unimpaired_mapping('[<C-Q>', function()
|
||||||
vim.cmd.cpfile({ count = vim.v.count1 })
|
vim.cmd.cpfile({ count = vim.v.count1 })
|
||||||
end, ':cpfile')
|
end, ':cpfile')
|
||||||
|
Reference in New Issue
Block a user