Skip to content

Commit 722754c

Browse files
mdedonno1337lpil
authored andcommitted
Add the augroup with visual placeholder snippet
1 parent fba34b3 commit 722754c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

snippets/vim.snippets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ snippet au augroup ... autocmd block
4545
augroup ${1:AU_NAME}
4646
autocmd ${2:BufRead,BufNewFile} ${3:*.ext,*.ext3|<buffer[=N]>} ${0}
4747
augroup END
48+
snippet auv augroupvisual ... autocmd block with visual placeholder
49+
augroup ${1:AU_NAME}
50+
autocmd!
51+
${0:${VISUAL}}
52+
augroup END
4853
snippet bun Vundle.vim Plugin definition
4954
Plugin '${0}'
5055
snippet plug vim-plug Plugin definition

0 commit comments

Comments
 (0)