A group of simple commands to make the life more beautiful.
With packer
use 'FLinguenheld/potpourri.nvim'
Parenthesis / quote | Find the first parenthesis on the cursor's left. If it's closed : | |
---|---|---|
<leader> ppr |
Replace the text and set the insert mod | n |
<leader> pqr |
Same with quote or double quote | n |
<leader> ppd |
Detele text inside the parenthesis | n |
<leader> pqd |
Same with quote or double quote | n |
<leader> ppD |
Detele text with the parenthesis | n |
<leader> pqD |
Same with quote or double quote | n |
<leader> ppi |
Move the cursor after the left parenthesis and set the insert mod | n |
<leader> pqi |
Same with quote or double quote | n |
<leader> ppI |
Move the cursor before the left parenthesis and set the insert mod | n |
<leader> pqI |
Same with quote or double quote | n |
<leader> ppa |
Move the cursor before the right parenthesis and set the insert mod | n |
<leader> pqa |
Same with quote or double quote | n |
<leader> ppA |
Move the cursor after the right parenthesis and set the insert mod | n |
<leader> pqA |
Same with quote or double quote | n |