summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-11-06 10:19:16 +0100
committerStefan Ritter <xeno@thehappy.de>2009-11-06 10:19:16 +0100
commit543d4953a13d9348a1b18820c6ed7427e578b38b (patch)
tree2f2f77ca188df0bdc27fcbf7e244d2bb02134a40 /vim
parent1d1f2d807cdc52ee9ef606b6ea909940b43529ca (diff)
Updated xorg, added pythonheader for vim
Diffstat (limited to 'vim')
-rw-r--r--vim/header_python12
-rw-r--r--vim/vimrc2
2 files changed, 14 insertions, 0 deletions
diff --git a/vim/header_python b/vim/header_python
new file mode 100644
index 0000000..7481e59
--- /dev/null
+++ b/vim/header_python
@@ -0,0 +1,12 @@
+:insert
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# This program is free software. It comes without any warranty, to
+# the extent permitted by applicable law. You can redistribute it
+# and/or modify it under the terms of the Do What The Fuck You Want
+# To Public License, Version 2, as published by Sam Hocevar. See
+# http://sam.zoy.org/wtfpl/COPYING for more details.
+
+# Author: Stefan Ritter <xeno@thehappy.de>
+# Description:
diff --git a/vim/vimrc b/vim/vimrc
index f6a0fda..3001494 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -21,3 +21,5 @@ let g:NERDTreeWinPos = 2
map <f9> :make<CR>
map <f1> :execute 'NERDTreeToggle'<CR>
+
+autocmd bufnewfile *.py so ~/etc/vim/header_python