add snippets

This commit is contained in:
James Dixon 2020-11-07 16:29:42 -05:00
parent ab37809229
commit fe8f558ecf
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,5 @@
snippet ifname "if __name__ == __main__" b
if __name__ == "__main__":
main()
endsnippet

View File

@ -157,4 +157,8 @@ nnoremap <leader>h :Helptags<CR>
nnoremap <leader>m :Maps<CR>
nnoremap <leader>sn :Snippets<CR>
"UltiSnips
inoremap <C-S> <ESC> :Snippets<CR>
nnoremap <leader>sne <ESC>:UltiSnipsEdit<CR>
"}}}