Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " edit/create
- command! -nargs=1 Snip split $HOME/.vim/snips/<args>
- " insert
- inoremap \<tab> <esc>"ydiw:r ~/.vim/snips/<c-r>y<CR>=']k$J/___<cr>"ycw
- " move between placeholders
- inoremap <c-l> <esc>/___<cr>"ycw
- inoremap <c-u> <esc>?___<cr>"ycw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement