Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.1:kernel-2.6.32
vim
dot.vimrc
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dot.vimrc of Package vim
" ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US let login = system('whoami') if v:shell_error let login = 'unknown' else let newline = stridx(login, "\n") if newline != -1 let login = strpart(login, 0, newline) endif endif let hostname = system('hostname -f') if v:shell_error let hostname = 'localhost' else let newline = stridx(hostname, "\n") if newline != -1 let hostname = strpart(hostname, 0, newline) endif endif 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" endfunction autocmd BufNewFile *.spec call SKEL_spec() " ~/.vimrc ends here
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor