vim:keys: Format paragraph with <C-q> in INSERT

`i_CTRL-Q` is not really useful anyways:

> Same as CTRL-V.
> Note: Some terminal connections may eat CTRL-Q, it doesn't work then.
> It does work in the GUI.
This commit is contained in:
2023-01-08 14:25:54 +01:00
parent c6e988e663
commit e51427143f

View File

@@ -202,6 +202,7 @@ xnoremap gm :Man <C-r><C-a><CR>
" Format the current paragraph, while keeping the cursor position
nmap Q gwap
imap <C-q> <C-o>Q
" Swap movement mappings that act on display lines with the normal ones, making
" it easier to navigate long wrapped lines.