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