diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index c640b56..8db75bb 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -200,8 +200,8 @@ inoremap u nnoremap gm :Man xnoremap gm :Man -" Format the current paragraph -nmap Q gqap +" Format the current paragraph, while keeping the cursor position +nmap Q gwap " Swap movement mappings that act on display lines with the normal ones, making " it easier to navigate long wrapped lines.