From 03f78494021ba8c772a7636487c57c76441a641c Mon Sep 17 00:00:00 2001 From: hljyunxi Date: Sat, 24 May 2014 21:14:38 +0800 Subject: [PATCH] change file title --- vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index e1eb743..f08fdaa 100644 --- a/vimrc +++ b/vimrc @@ -252,13 +252,13 @@ autocmd BufNewFile *.sh,*.py exec ":call SetTitle()" func SetTitle() if &filetype == 'sh' call setline(1, "\#!/bin/sh") - call append(line("."), "\# Author: gaopenghigh") + call append(line("."), "\# Author: chenyunyun") call append(line(".")+1, "") :8 elseif &filetype == 'python' call setline(1, "\#!/usr/bin/python") - call append(line("."), "\# -*- coding: utf-8 -*-") - call append(line(".")+1, "\# Author: gaopenghigh") + call append(line("."), "\#coding: utf8") + call append(line(".")+1, "\# Author: chenyunyun") call append(line(".")+2, "") :8 endif