This commit is contained in:
committed by
Git OBS Bridge
parent
81b8b53252
commit
f4d7f36988
@@ -24,6 +24,10 @@ function! SKEL_spec()
|
||||
exe "%s/specRPM_CREATION_DATE/" . strftime("%a\ %b\ %d\ %Y") . "/ge"
|
||||
exe "%s/specRPM_CREATION_AUTHOR_MAIL/" . login . "@" . hostname . "/ge"
|
||||
exe "%s/specRPM_CREATION_NAME/" . expand("%:t:r") . "/ge"
|
||||
setf spec
|
||||
endfunction
|
||||
autocmd BufNewFile *.spec call SKEL_spec()
|
||||
" filetypes
|
||||
filetype plugin on
|
||||
filetype indent on
|
||||
" ~/.vimrc ends here
|
||||
|
Reference in New Issue
Block a user