zettel.vim (286B)
1 au BufNewFile,BufRead *.zettel set filetype=zettel 2 au BufNewFile,BufRead *.zettel set syntax=zettel 3 au BufNewFile,BufRead *.zettel nnoremap <buffer> <localleader>z 0i!<esc>wcw[]<left> 4 au BufNewFile,BufRead *.zettel nnoremap <buffer> <localleader>Z :w<CR>:bd<CR>:call GphZettelFin()<CR>