-
Notifications
You must be signed in to change notification settings - Fork 0
Neovim
Roman Komkov edited this page Dec 27, 2021
·
3 revisions
Alternative: tpope/vim-surround
Visual:
s<char>
Normal:
- add:
sa{motion}{char} - replace:
sr<from><to> - delete:
sd<char> - repeat:
ss - cycle quotes:
stq - cycle brackets:
stb
Insert:
<c-s><char><c-s><char><space><c-s><char><c-s>
Normal/Visual:
- line comment:
<leader>cc - block comment:
<leader>cb - eol comment (Normal mode only):
<leader>ca